Class: Yoomoney::Models::InvoiceCreateParams::PaymentData
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Yoomoney::Models::InvoiceCreateParams::PaymentData
- Defined in:
- lib/yoomoney/models/invoice_create_params.rb
Instance Attribute Summary collapse
- #amount ⇒ Yoomoney::Models::MonetaryAmount
- #capture ⇒ Boolean?
- #client_ip ⇒ String?
- #description ⇒ String?
-
#metadata ⇒ Hash{Symbol=>String}?
Любые дополнительные данные, которые нужны вам для работы (например, номер заказа).
- #receipt ⇒ Yoomoney::Models::ReceiptData?
- #recipient ⇒ Yoomoney::Models::Recipient?
- #save_payment_method ⇒ Boolean?
Instance Method Summary collapse
-
#initialize(amount:, capture: nil, client_ip: nil, description: nil, metadata: nil, receipt: nil, recipient: nil, save_payment_method: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see PaymentData 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(amount:, capture: nil, client_ip: nil, description: nil, metadata: nil, receipt: nil, recipient: nil, save_payment_method: nil) ⇒ Object
Some parameter documentations has been truncated, see Yoomoney::Models::InvoiceCreateParams::PaymentData for more details.
Данные платежа.
|
|
# File 'lib/yoomoney/models/invoice_create_params.rb', line 155
|
Instance Attribute Details
#amount ⇒ Yoomoney::Models::MonetaryAmount
114 |
# File 'lib/yoomoney/models/invoice_create_params.rb', line 114 required :amount, -> { Yoomoney::MonetaryAmount } |
#capture ⇒ Boolean?
119 |
# File 'lib/yoomoney/models/invoice_create_params.rb', line 119 optional :capture, Yoomoney::Internal::Type::Boolean |
#client_ip ⇒ String?
124 |
# File 'lib/yoomoney/models/invoice_create_params.rb', line 124 optional :client_ip, String |
#description ⇒ String?
129 |
# File 'lib/yoomoney/models/invoice_create_params.rb', line 129 optional :description, String |
#metadata ⇒ Hash{Symbol=>String}?
Любые дополнительные данные, которые нужны вам для работы (например, номер заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8.
138 |
# File 'lib/yoomoney/models/invoice_create_params.rb', line 138 optional :metadata, Yoomoney::Internal::Type::HashOf[String] |
#receipt ⇒ Yoomoney::Models::ReceiptData?
143 |
# File 'lib/yoomoney/models/invoice_create_params.rb', line 143 optional :receipt, -> { Yoomoney::ReceiptData } |
#recipient ⇒ Yoomoney::Models::Recipient?
148 |
# File 'lib/yoomoney/models/invoice_create_params.rb', line 148 optional :recipient, -> { Yoomoney::Recipient } |