Class: Increase::Models::PhysicalCardCreateParams::Cardholder

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/physical_card_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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.

Parameters:



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_nameString

The cardholder’s first name.

Returns:

  • (String)


54
# File 'lib/increase/models/physical_card_create_params.rb', line 54

required :first_name, String

#last_nameString

The cardholder’s last name.

Returns:

  • (String)


60
# File 'lib/increase/models/physical_card_create_params.rb', line 60

required :last_name, String