Class: WhopSDK::Models::PayoutListResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::PayoutListResponse
- Defined in:
- lib/whop_sdk/models/payout_list_response.rb,
sig/whop_sdk/models/payout_list_response.rbs
Overview
Defined Under Namespace
Modules: Object, Speed, Status Classes: PayoutToken
Instance Attribute Summary collapse
-
#amount ⇒ Float
The payout amount in whole currency units.
-
#created_at ⇒ Time
When the payout was created.
-
#currency ⇒ String
Payout currency.
-
#estimated_arrival ⇒ Time?
Estimated time the funds become available in the destination account.
-
#fee_amount ⇒ Float
The fee charged for the payout, in the payout currency.
-
#id ⇒ String
Payout ID.
- #object ⇒ Symbol, WhopSDK::Models::PayoutListResponse::Object
-
#payer_name ⇒ String?
Name of the entity processing the payout.
-
#payout_request_id ⇒ String?
The ID returned by POST /payouts when this payout was requested.
-
#payout_token ⇒ WhopSDK::Models::PayoutListResponse::PayoutToken?
The saved payout method used.
-
#speed ⇒ Symbol, WhopSDK::Models::PayoutListResponse::Speed
Payout delivery speed.
-
#status ⇒ Symbol, WhopSDK::Models::PayoutListResponse::Status
Current payout status.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(icon_url:, payer_name:) ⇒ Object
constructor
Payout destination display details.
- #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(icon_url:, payer_name:) ⇒ Object
Payout destination display details.
|
|
# File 'lib/whop_sdk/models/payout_list_response.rb', line 79
|
Instance Attribute Details
#amount ⇒ Float
The payout amount in whole currency units.
17 |
# File 'lib/whop_sdk/models/payout_list_response.rb', line 17 required :amount, Float |
#created_at ⇒ Time
When the payout was created.
23 |
# File 'lib/whop_sdk/models/payout_list_response.rb', line 23 required :created_at, Time |
#currency ⇒ String
Payout currency.
29 |
# File 'lib/whop_sdk/models/payout_list_response.rb', line 29 required :currency, String |
#estimated_arrival ⇒ Time?
Estimated time the funds become available in the destination account.
35 |
# File 'lib/whop_sdk/models/payout_list_response.rb', line 35 required :estimated_arrival, Time, nil?: true |
#fee_amount ⇒ Float
The fee charged for the payout, in the payout currency.
41 |
# File 'lib/whop_sdk/models/payout_list_response.rb', line 41 required :fee_amount, Float |
#id ⇒ String
Payout ID.
11 |
# File 'lib/whop_sdk/models/payout_list_response.rb', line 11 required :id, String |
#object ⇒ Symbol, WhopSDK::Models::PayoutListResponse::Object
46 |
# File 'lib/whop_sdk/models/payout_list_response.rb', line 46 required :object, enum: -> { WhopSDK::Models::PayoutListResponse::Object } |
#payer_name ⇒ String?
Name of the entity processing the payout.
52 |
# File 'lib/whop_sdk/models/payout_list_response.rb', line 52 required :payer_name, String, nil?: true |
#payout_request_id ⇒ String?
The ID returned by POST /payouts when this payout was requested. Match it to the settled payout in GET /payouts. Null for payouts not created by POST /payouts.
59 |
# File 'lib/whop_sdk/models/payout_list_response.rb', line 59 required :payout_request_id, String, nil?: true |
#payout_token ⇒ WhopSDK::Models::PayoutListResponse::PayoutToken?
The saved payout method used. Requires payout:destination:read; null without it.
65 |
# File 'lib/whop_sdk/models/payout_list_response.rb', line 65 required :payout_token, -> { WhopSDK::Models::PayoutListResponse::PayoutToken }, nil?: true |
#speed ⇒ Symbol, WhopSDK::Models::PayoutListResponse::Speed
Payout delivery speed.
71 |
# File 'lib/whop_sdk/models/payout_list_response.rb', line 71 required :speed, enum: -> { WhopSDK::Models::PayoutListResponse::Speed } |
#status ⇒ Symbol, WhopSDK::Models::PayoutListResponse::Status
Current payout status.
77 |
# File 'lib/whop_sdk/models/payout_list_response.rb', line 77 required :status, enum: -> { WhopSDK::Models::PayoutListResponse::Status } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/whop_sdk/models/payout_list_response.rb', line 113
|
Instance Method Details
#to_hash ⇒ {
59 |
# File 'sig/whop_sdk/models/payout_list_response.rbs', line 59
def to_hash: -> {
|