Module: Onlyfans::Models::PayoutRequestManualWithdrawalResponse

Extended by:
Internal::Type::Union
Defined in:
lib/onlyfans/models/payout_request_manual_withdrawal_response.rb,
sig/onlyfans/models/payout_request_manual_withdrawal_response.rbs

Overview

See Also:

  • Onlyfans::Resources::Payouts#request_manual_withdrawal

Defined Under Namespace

Classes: UnionMember0, UnionMember1

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Class Method Details

.variants ⇒ Array(Onlyfans::Models::PayoutRequestManualWithdrawalResponse::UnionMember0, Onlyfans::Models::PayoutRequestManualWithdrawalResponse::UnionMember1)



# File 'lib/onlyfans/models/payout_request_manual_withdrawal_response.rb', line 291

Instance Method Details

#initialize(reject_reason: nil, state: nil) ⇒ Object

Parameters:

  • reject_reason (String, nil) (defaults to: nil)
  • state (String) (defaults to: nil)


# File 'lib/onlyfans/models/payout_request_manual_withdrawal_response.rb', line 145

#self?.variants ⇒ ::Array[Onlyfans::Models::payout_request_manual_withdrawal_response]

Returns:

  • (::Array[Onlyfans::Models::payout_request_manual_withdrawal_response])


378
# File 'sig/onlyfans/models/payout_request_manual_withdrawal_response.rbs', line 378

def self?.variants: -> ::Array[Onlyfans::Models::payout_request_manual_withdrawal_response]