Class: Onlyfans::Models::PayoutRetrieveBalancesResponse::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/payout_retrieve_balances_response.rb,
sig/onlyfans/models/payout_retrieve_balances_response.rbs

Overview

See Also:

  • Onlyfans::Models::PayoutRetrieveBalancesResponse#data

Defined Under Namespace

Classes: WithdrawalPeriodOption

Instance Attribute 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 ⇒ Object



198
# File 'sig/onlyfans/models/payout_retrieve_balances_response.rbs', line 198

def initialize: (

Instance Attribute Details

#currency ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


118
# File 'lib/onlyfans/models/payout_retrieve_balances_response.rb', line 118

optional :currency, String

#manual_payout_pending_days ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


123
# File 'lib/onlyfans/models/payout_retrieve_balances_response.rb', line 123

optional :manual_payout_pending_days, Integer, api_name: :manualPayoutPendingDays

#max_payout_summ ⇒ Float?

Parameters:

  • (Float)

Returns:

  • (Float, nil)


128
# File 'lib/onlyfans/models/payout_retrieve_balances_response.rb', line 128

optional :max_payout_summ, Float, api_name: :maxPayoutSumm

#min_payout_summ ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


133
# File 'lib/onlyfans/models/payout_retrieve_balances_response.rb', line 133

optional :min_payout_summ, Integer, api_name: :minPayoutSumm

#payout_available ⇒ Float?

Parameters:

  • (Float)

Returns:

  • (Float, nil)


138
# File 'lib/onlyfans/models/payout_retrieve_balances_response.rb', line 138

optional :payout_available, Float, api_name: :payoutAvailable

#payout_pending ⇒ Float?

Parameters:

  • (Float)

Returns:

  • (Float, nil)


143
# File 'lib/onlyfans/models/payout_retrieve_balances_response.rb', line 143

optional :payout_pending, Float, api_name: :payoutPending

#withdrawal_period ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


148
# File 'lib/onlyfans/models/payout_retrieve_balances_response.rb', line 148

optional :withdrawal_period, String, api_name: :withdrawalPeriod

#withdrawal_period_options ⇒ Array<Onlyfans::Models::PayoutRetrieveBalancesResponse::Data::WithdrawalPeriodOption>?



153
154
155
# File 'lib/onlyfans/models/payout_retrieve_balances_response.rb', line 153

optional :withdrawal_period_options,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::PayoutRetrieveBalancesResponse::Data::WithdrawalPeriodOption] },
api_name: :withdrawalPeriodOptions

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


209
# File 'sig/onlyfans/models/payout_retrieve_balances_response.rbs', line 209

def to_hash: -> {