Class: Straddle::Models::AccountPaymentTypeSettings
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Straddle::Models::AccountPaymentTypeSettings
- Defined in:
- lib/straddle/models/account_payment_type_settings.rb,
sig/straddle/models/account_payment_type_settings.rbs
Defined Under Namespace
Instance Attribute Summary collapse
-
#charges ⇒ Symbol, Straddle::Models::AccountPaymentTypeSettings::Charges
Status of charge support for the account.
-
#payouts ⇒ Symbol, Straddle::Models::AccountPaymentTypeSettings::Payouts
Status of payout support for the account.
Class Method Summary collapse
Instance Method Summary collapse
- #initialize(charges:, payouts:) ⇒ Object constructor
- #to_hash ⇒ {
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(charges:, payouts:) ⇒ Object
|
|
# File 'lib/straddle/models/account_payment_type_settings.rb', line 18
|
Instance Attribute Details
#charges ⇒ Symbol, Straddle::Models::AccountPaymentTypeSettings::Charges
Status of charge support for the account.
10 |
# File 'lib/straddle/models/account_payment_type_settings.rb', line 10 required :charges, enum: -> { Straddle::AccountPaymentTypeSettings::Charges } |
#payouts ⇒ Symbol, Straddle::Models::AccountPaymentTypeSettings::Payouts
Status of payout support for the account.
16 |
# File 'lib/straddle/models/account_payment_type_settings.rb', line 16 required :payouts, enum: -> { Straddle::AccountPaymentTypeSettings::Payouts } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/straddle/models/account_payment_type_settings.rb', line 32
|
Instance Method Details
#to_hash ⇒ {
19 |
# File 'sig/straddle/models/account_payment_type_settings.rbs', line 19
def to_hash: -> {
|