Class: Yoomoney::Models::Payout::PayoutDestination::PayoutToCardDestination::Card
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(card: nil) ⇒ Object
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
|
# File 'lib/yoomoney/models/payout.rb', line 139
class Card < Yoomoney::Internal::Type::BaseModel
required :card_type, enum: -> { Yoomoney::BankCardType }
required :first6, String
required :last4, String
optional :issuer_country, String
optional :issuer_name, String
end
|
Instance Attribute Details
143
|
# File 'lib/yoomoney/models/payout.rb', line 143
required :card_type, enum: -> { Yoomoney::BankCardType }
|
#first6 ⇒ String
148
|
# File 'lib/yoomoney/models/payout.rb', line 148
required :first6, String
|
#issuer_country ⇒ String?
158
|
# File 'lib/yoomoney/models/payout.rb', line 158
optional :issuer_country, String
|
#issuer_name ⇒ String?
163
|
# File 'lib/yoomoney/models/payout.rb', line 163
optional :issuer_name, String
|
#last4 ⇒ String
153
|
# File 'lib/yoomoney/models/payout.rb', line 153
required :last4, String
|