Class: CloudpaymentsRuby::Models::Payments::TokenChargeParams

Inherits:
Internal::Type::BaseModel show all
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

Attributes included from Internal::Type::RequestParameters

#request_options

Method Summary

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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_idString

Идентификатор пользователя

Returns:

  • (String)


15
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 15

required :account_id, String, api_name: :AccountId

#amountFloat

Сумма платежа (до 2 знаков после точки)

Returns:

  • (Float)


21
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 21

required :amount, Float, api_name: :Amount

#currencyString?

Валюта (RUB по умолчанию)

Returns:

  • (String, nil)


39
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 39

optional :currency, String, api_name: :Currency

#descriptionString?

Описание платежа

Returns:

  • (String, nil)


45
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 45

optional :description, String, api_name: :Description

#emailString?

Email плательщика

Returns:

  • (String, nil)


51
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 51

optional :email, String, api_name: :Email

#invoice_idString?

Номер заказа

Returns:

  • (String, nil)


57
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 57

optional :invoice_id, String, api_name: :InvoiceId

#ip_addressString?

IP-адрес плательщика

Returns:

  • (String, nil)


63
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 63

optional :ip_address, String, api_name: :IpAddress

#json_dataObject?

Дополнительные данные (JSON)

Returns:

  • (Object, nil)


69
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 69

optional :json_data, CloudpaymentsRuby::Internal::Type::Unknown, api_name: :JsonData

#payerCloudpaymentsRuby::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_scheduledInteger?

Признак регулярного платежа: 0 — нет, 1 — да

Returns:

  • (Integer, nil)


81
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 81

optional :payment_scheduled, Integer, api_name: :PaymentScheduled

#tokenString

Токен карты

Returns:

  • (String)


27
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 27

required :token, String, api_name: :Token

#tr_initiator_codeInteger

Признак инициатора транзакции: 0 — мерчант, 1 — держатель карты

Returns:

  • (Integer)


33
# File 'lib/cloudpayments_ruby/models/payments/token_charge_params.rb', line 33

required :tr_initiator_code, Integer, api_name: :TrInitiatorCode