Class: Increase::Models::CardCreateParams::CardholderName
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::CardCreateParams::CardholderName
- Defined in:
- lib/increase/models/card_create_params.rb,
sig/increase/models/card_create_params.rbs
Instance Attribute Summary collapse
-
#first ⇒ String
The cardholder's first name.
-
#last ⇒ String
The cardholder's last name.
-
#middle ⇒ String?
The cardholder's middle name.
Instance Method Summary collapse
-
#initialize ⇒ CardholderName
constructor
A new instance of CardholderName.
- #to_hash ⇒ { first: String, last: String, middle: String }
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 ⇒ CardholderName
Returns a new instance of CardholderName.
511 |
# File 'sig/increase/models/card_create_params.rbs', line 511
def initialize: (first: String, last: String, ?middle: String) -> void
|
Instance Attribute Details
#first ⇒ String
The cardholder's first name.
538 |
# File 'lib/increase/models/card_create_params.rb', line 538 required :first, String |
#last ⇒ String
The cardholder's last name.
544 |
# File 'lib/increase/models/card_create_params.rb', line 544 required :last, String |
#middle ⇒ String?
The cardholder's middle name.
550 |
# File 'lib/increase/models/card_create_params.rb', line 550 optional :middle, String |
Instance Method Details
#to_hash ⇒ { first: String, last: String, middle: String }
513 |
# File 'sig/increase/models/card_create_params.rbs', line 513
def to_hash: -> { first: String, last: String, middle: String }
|