Class: CloudpaymentsRuby::Models::PaymentChargeParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/cloudpayments_ruby/models/payment_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, nil)


32
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 32

optional :account_id, String, api_name: :AccountId

#amountFloat

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

Returns:

  • (Float)


14
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 14

required :amount, Float, api_name: :Amount

#card_cryptogram_packetString

Криптограмма платежных данных

Returns:

  • (String)


20
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 20

required :card_cryptogram_packet, String, api_name: :CardCryptogramPacket

#culture_nameString?

Язык уведомлений (ru-RU, en-US)

Returns:

  • (String, nil)


38
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 38

optional :culture_name, String, api_name: :CultureName

#currencyString?

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

Returns:

  • (String, nil)


44
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 44

optional :currency, String, api_name: :Currency

#descriptionString?

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

Returns:

  • (String, nil)


50
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 50

optional :description, String, api_name: :Description

#emailString?

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

Returns:

  • (String, nil)


56
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 56

optional :email, String, api_name: :Email

#invoice_idString?

Номер заказа

Returns:

  • (String, nil)


62
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 62

optional :invoice_id, String, api_name: :InvoiceId

#ip_addressString

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

Returns:

  • (String)


26
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 26

required :ip_address, String, api_name: :IpAddress

#json_dataObject?

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

Returns:

  • (Object, nil)


68
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 68

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

#nameString?

Имя держателя карты (латиница)

Returns:

  • (String, nil)


74
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 74

optional :name, String, api_name: :Name

#payerCloudpaymentsRuby::Models::PaymentChargeParams::Payer?

Информация о плательщике



80
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 80

optional :payer, -> { CloudpaymentsRuby::PaymentChargeParams::Payer }, api_name: :Payer

#payment_urlString?

URL сайта, с которого выполняется оплата

Returns:

  • (String, nil)


86
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 86

optional :payment_url, String, api_name: :PaymentUrl

#save_cardBoolean?

Сохранить токен карты для повторных платежей

Returns:

  • (Boolean, nil)


92
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 92

optional :save_card, CloudpaymentsRuby::Internal::Type::Boolean, api_name: :SaveCard