Class: CloudpaymentsRuby::Models::Payments::TokenChargeParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- CloudpaymentsRuby::Models::Payments::TokenChargeParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/cloudpayments_ruby/models/payments/token_charge_params.rb
Overview
Defined Under Namespace
Classes: Payer
Instance Attribute Summary collapse
-
#account_id ⇒ String
Идентификатор пользователя.
-
#amount ⇒ Float
Сумма платежа (до 2 знаков после точки).
-
#currency ⇒ String?
Валюта (RUB по умолчанию).
-
#description ⇒ String?
Описание платежа.
-
#email ⇒ String?
Email плательщика.
-
#invoice_id ⇒ String?
Номер заказа.
-
#ip_address ⇒ String?
IP-адрес плательщика.
-
#json_data ⇒ Object?
Дополнительные данные (JSON).
-
#payer ⇒ CloudpaymentsRuby::Models::Payments::TokenChargeParams::Payer?
Информация о плательщике.
-
#payment_scheduled ⇒ Integer?
Признак регулярного платежа: 0 — нет, 1 — да.
-
#token ⇒ String
Токен карты.
-
#tr_initiator_code ⇒ Integer
Признак инициатора транзакции: 0 — мерчант, 1 — держатель карты.
Attributes included from Internal::Type::RequestParameters
Method Summary
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from CloudpaymentsRuby::Internal::Type::BaseModel
Instance Attribute Details
#account_id ⇒ String
Идентификатор пользователя
15 |
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 15 required :account_id, String, api_name: :AccountId |
#amount ⇒ Float
Сумма платежа (до 2 знаков после точки)
21 |
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 21 required :amount, Float, api_name: :Amount |
#currency ⇒ String?
Валюта (RUB по умолчанию)
39 |
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 39 optional :currency, String, api_name: :Currency |
#description ⇒ String?
Описание платежа
45 |
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 45 optional :description, String, api_name: :Description |
#email ⇒ String?
Email плательщика
51 |
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 51 optional :email, String, api_name: :Email |
#invoice_id ⇒ String?
Номер заказа
57 |
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 57 optional :invoice_id, String, api_name: :InvoiceId |
#ip_address ⇒ String?
IP-адрес плательщика
63 |
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 63 optional :ip_address, String, api_name: :IpAddress |
#json_data ⇒ Object?
Дополнительные данные (JSON)
69 |
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 69 optional :json_data, CloudpaymentsRuby::Internal::Type::Unknown, api_name: :JsonData |
#payer ⇒ CloudpaymentsRuby::Models::Payments::TokenChargeParams::Payer?
Информация о плательщике
75 |
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 75 optional :payer, -> { CloudpaymentsRuby::Payments::TokenChargeParams::Payer }, api_name: :Payer |
#payment_scheduled ⇒ Integer?
Признак регулярного платежа: 0 — нет, 1 — да
81 |
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 81 optional :payment_scheduled, Integer, api_name: :PaymentScheduled |
#token ⇒ String
Токен карты
27 |
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 27 required :token, String, api_name: :Token |
#tr_initiator_code ⇒ Integer
Признак инициатора транзакции: 0 — мерчант, 1 — держатель карты
33 |
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 33 required :tr_initiator_code, Integer, api_name: :TrInitiatorCode |