Class: Yoomoney::Models::MeRetrieveResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Yoomoney::Models::MeRetrieveResponse
- Defined in:
- lib/yoomoney/models/me_retrieve_response.rb
Overview
Defined Under Namespace
Modules: PayoutMethod Classes: Fiscalization
Instance Attribute Summary collapse
-
#account_id ⇒ String
Идентификатор аккаунта.
-
#fiscalization ⇒ Yoomoney::Models::MeRetrieveResponse::Fiscalization?
Данные о фискализации.
-
#fiscalization_enabled ⇒ Boolean?
Признак подключенной фискализации.
-
#itn ⇒ String?
ИНН.
-
#name ⇒ String?
Название магазина.
-
#payment_methods ⇒ Array<Symbol, Yoomoney::Models::PaymentMethodType>?
Доступные способы оплаты.
-
#payout_balance ⇒ Yoomoney::Models::MonetaryAmount?
Баланс для выплат.
-
#payout_methods ⇒ Array<Symbol, Yoomoney::Models::MeRetrieveResponse::PayoutMethod>?
Способы выплат.
-
#status ⇒ String
Статус аккаунта.
-
#test_ ⇒ Boolean
Признак тестового аккаунта.
Class Method Summary collapse
Instance Method Summary collapse
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:, status:, test_:, fiscalization: nil, fiscalization_enabled: nil, itn: nil, name: nil, payment_methods: nil, payout_balance: nil, payout_methods: nil) ⇒ Object
|
|
# File 'lib/yoomoney/models/me_retrieve_response.rb', line 68
|
Instance Attribute Details
#account_id ⇒ String
Идентификатор аккаунта.
11 |
# File 'lib/yoomoney/models/me_retrieve_response.rb', line 11 required :account_id, String |
#fiscalization ⇒ Yoomoney::Models::MeRetrieveResponse::Fiscalization?
Данные о фискализации.
29 |
# File 'lib/yoomoney/models/me_retrieve_response.rb', line 29 optional :fiscalization, -> { Yoomoney::Models::MeRetrieveResponse::Fiscalization } |
#fiscalization_enabled ⇒ Boolean?
Признак подключенной фискализации.
35 |
# File 'lib/yoomoney/models/me_retrieve_response.rb', line 35 optional :fiscalization_enabled, Yoomoney::Internal::Type::Boolean |
#itn ⇒ String?
ИНН.
41 |
# File 'lib/yoomoney/models/me_retrieve_response.rb', line 41 optional :itn, String |
#name ⇒ String?
Название магазина.
47 |
# File 'lib/yoomoney/models/me_retrieve_response.rb', line 47 optional :name, String |
#payment_methods ⇒ Array<Symbol, Yoomoney::Models::PaymentMethodType>?
Доступные способы оплаты.
53 |
# File 'lib/yoomoney/models/me_retrieve_response.rb', line 53 optional :payment_methods, -> { Yoomoney::Internal::Type::ArrayOf[enum: Yoomoney::PaymentMethodType] } |
#payout_balance ⇒ Yoomoney::Models::MonetaryAmount?
Баланс для выплат.
59 |
# File 'lib/yoomoney/models/me_retrieve_response.rb', line 59 optional :payout_balance, -> { Yoomoney::MonetaryAmount } |
#payout_methods ⇒ Array<Symbol, Yoomoney::Models::MeRetrieveResponse::PayoutMethod>?
Способы выплат.
65 66 |
# File 'lib/yoomoney/models/me_retrieve_response.rb', line 65 optional :payout_methods, -> { Yoomoney::Internal::Type::ArrayOf[enum: Yoomoney::Models::MeRetrieveResponse::PayoutMethod] } |
#status ⇒ String
Статус аккаунта.
17 |
# File 'lib/yoomoney/models/me_retrieve_response.rb', line 17 required :status, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/yoomoney/models/me_retrieve_response.rb', line 126
|