Class: Increase::Models::PhysicalCardCreateParams::Cardholder
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::PhysicalCardCreateParams::Cardholder
- Defined in:
- lib/increase/models/physical_card_create_params.rb
Instance Attribute Summary collapse
-
#first_name ⇒ String
The cardholder’s first name.
-
#last_name ⇒ String
The cardholder’s last name.
Instance Method Summary collapse
-
#initialize(card_id: , cardholder: , shipment: , physical_card_profile_id: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see Increase::Models::PhysicalCardCreateParams for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(card_id: , cardholder: , shipment: , physical_card_profile_id: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::PhysicalCardCreateParams for more details.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'lib/increase/models/physical_card_create_params.rb', line 49 class Cardholder < Increase::Internal::Type::BaseModel # @!attribute first_name # The cardholder's first name. # # @return [String] required :first_name, String # @!attribute last_name # The cardholder's last name. # # @return [String] required :last_name, String # @!method initialize(first_name:, last_name:) # Details about the cardholder, as it will appear on the physical card. # # @param first_name [String] The cardholder's first name. # # @param last_name [String] The cardholder's last name. end |
Instance Attribute Details
#first_name ⇒ String
The cardholder’s first name.
54 |
# File 'lib/increase/models/physical_card_create_params.rb', line 54 required :first_name, String |
#last_name ⇒ String
The cardholder’s last name.
60 |
# File 'lib/increase/models/physical_card_create_params.rb', line 60 required :last_name, String |