Class: CloudpaymentsRuby::Models::SubscriptionCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- CloudpaymentsRuby::Models::SubscriptionCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/cloudpayments_ruby/models/subscription_create_params.rb
Overview
Instance Attribute Summary collapse
-
#account_id ⇒ String
Идентификатор пользователя.
-
#amount ⇒ Float
Сумма платежа.
-
#currency ⇒ String
Валюта.
-
#customer_receipt ⇒ Object?
Данные для онлайн-чека.
-
#description ⇒ String
Описание платежа.
-
#email ⇒ String?
Email плательщика.
-
#interval ⇒ String
Интервал: Day, Week, Month.
-
#max_periods ⇒ Integer?
Максимальное количество платежей.
-
#period ⇒ Integer
Период (в сочетании с Interval).
-
#require_confirmation ⇒ Boolean
Требуется подтверждение (двухстадийная схема).
-
#start_date ⇒ Time
Дата и время первого платежа (UTC).
-
#token ⇒ String
Токен карты.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
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, 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(account_id:, amount:, currency:, description:, interval:, period:, require_confirmation:, start_date:, token:, customer_receipt: nil, email: nil, max_periods: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/cloudpayments_ruby/models/subscription_create_params.rb', line 84
|
Instance Attribute Details
#account_id ⇒ String
Идентификатор пользователя
14 |
# File 'lib/cloudpayments_ruby/models/subscription_create_params.rb', line 14 required :account_id, String, api_name: :AccountId |
#amount ⇒ Float
Сумма платежа
20 |
# File 'lib/cloudpayments_ruby/models/subscription_create_params.rb', line 20 required :amount, Float, api_name: :Amount |
#currency ⇒ String
Валюта
26 |
# File 'lib/cloudpayments_ruby/models/subscription_create_params.rb', line 26 required :currency, String, api_name: :Currency |
#customer_receipt ⇒ Object?
Данные для онлайн-чека
70 |
# File 'lib/cloudpayments_ruby/models/subscription_create_params.rb', line 70 optional :customer_receipt, CloudpaymentsRuby::Internal::Type::Unknown, api_name: :CustomerReceipt |
#description ⇒ String
Описание платежа
32 |
# File 'lib/cloudpayments_ruby/models/subscription_create_params.rb', line 32 required :description, String, api_name: :Description |
#email ⇒ String?
Email плательщика
76 |
# File 'lib/cloudpayments_ruby/models/subscription_create_params.rb', line 76 optional :email, String, api_name: :Email |
#interval ⇒ String
Интервал: Day, Week, Month
38 |
# File 'lib/cloudpayments_ruby/models/subscription_create_params.rb', line 38 required :interval, String, api_name: :Interval |
#max_periods ⇒ Integer?
Максимальное количество платежей
82 |
# File 'lib/cloudpayments_ruby/models/subscription_create_params.rb', line 82 optional :max_periods, Integer, api_name: :MaxPeriods |
#period ⇒ Integer
Период (в сочетании с Interval)
44 |
# File 'lib/cloudpayments_ruby/models/subscription_create_params.rb', line 44 required :period, Integer, api_name: :Period |
#require_confirmation ⇒ Boolean
Требуется подтверждение (двухстадийная схема)
50 51 52 |
# File 'lib/cloudpayments_ruby/models/subscription_create_params.rb', line 50 required :require_confirmation, CloudpaymentsRuby::Internal::Type::Boolean, api_name: :RequireConfirmation |
#start_date ⇒ Time
Дата и время первого платежа (UTC)
58 |
# File 'lib/cloudpayments_ruby/models/subscription_create_params.rb', line 58 required :start_date, Time, api_name: :StartDate |
#token ⇒ String
Токен карты
64 |
# File 'lib/cloudpayments_ruby/models/subscription_create_params.rb', line 64 required :token, String, api_name: :Token |