Class: Yoomoney::Models::CardRequestDataWithCsc
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Yoomoney::Models::CardRequestDataWithCsc
- Defined in:
- lib/yoomoney/models/card_request_data_with_csc.rb
Instance Attribute Summary collapse
-
#cardholder ⇒ String?
Имя владельца карты.
-
#csc ⇒ String?
Код CVC2 или CVV2, 3 или 4 символа, печатается на обратной стороне карты.
-
#expiry_month ⇒ String
Срок действия, месяц.
-
#expiry_year ⇒ String
Срок действия, год.
-
#number ⇒ String
Номер банковской карты.
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(expiry_month:, expiry_year:, number:, cardholder: nil, csc: nil) ⇒ Object
|
|
# File 'lib/yoomoney/models/card_request_data_with_csc.rb', line 36
|
Instance Attribute Details
#cardholder ⇒ String?
Имя владельца карты.
28 |
# File 'lib/yoomoney/models/card_request_data_with_csc.rb', line 28 optional :cardholder, String |
#csc ⇒ String?
Код CVC2 или CVV2, 3 или 4 символа, печатается на обратной стороне карты.
34 |
# File 'lib/yoomoney/models/card_request_data_with_csc.rb', line 34 optional :csc, String |
#expiry_month ⇒ String
Срок действия, месяц. Формат: MM.
10 |
# File 'lib/yoomoney/models/card_request_data_with_csc.rb', line 10 required :expiry_month, String |
#expiry_year ⇒ String
Срок действия, год. Формат: YYYY.
16 |
# File 'lib/yoomoney/models/card_request_data_with_csc.rb', line 16 required :expiry_year, String |
#number ⇒ String
Номер банковской карты.
22 |
# File 'lib/yoomoney/models/card_request_data_with_csc.rb', line 22 required :number, String |