Class: WhopSDK::Models::PayoutListResponse

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

Overview

See Also:

  • WhopSDK::Resources::Payouts#list

Defined Under Namespace

Modules: Object, Speed, Status Classes: PayoutToken

Instance Attribute Summary collapse

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(icon_url:, payer_name:) ⇒ Object

Payout destination display details.

Parameters:

  • icon_url (String, nil)

    Payout destination icon URL.

  • payer_name (String, nil)

    Payout destination display name.



# File 'lib/whop_sdk/models/payout_list_response.rb', line 79

Instance Attribute Details

#amountFloat

The payout amount in whole currency units.

Parameters:

  • value (Float)

Returns:

  • (Float)


17
# File 'lib/whop_sdk/models/payout_list_response.rb', line 17

required :amount, Float

#created_atTime

When the payout was created.

Parameters:

  • value (Time)

Returns:

  • (Time)


23
# File 'lib/whop_sdk/models/payout_list_response.rb', line 23

required :created_at, Time

#currencyString

Payout currency.

Parameters:

  • value (String)

Returns:

  • (String)


29
# File 'lib/whop_sdk/models/payout_list_response.rb', line 29

required :currency, String

#estimated_arrivalTime?

Estimated time the funds become available in the destination account.

Parameters:

  • value (Time, nil)

Returns:

  • (Time, nil)


35
# File 'lib/whop_sdk/models/payout_list_response.rb', line 35

required :estimated_arrival, Time, nil?: true

#fee_amountFloat

The fee charged for the payout, in the payout currency.

Parameters:

  • value (Float)

Returns:

  • (Float)


41
# File 'lib/whop_sdk/models/payout_list_response.rb', line 41

required :fee_amount, Float

#idString

Payout ID.

Parameters:

  • value (String)

Returns:

  • (String)


11
# File 'lib/whop_sdk/models/payout_list_response.rb', line 11

required :id, String

#objectSymbol, WhopSDK::Models::PayoutListResponse::Object

Parameters:

  • value (WhopSDK::Models::PayoutListResponse::object)

Returns:



46
# File 'lib/whop_sdk/models/payout_list_response.rb', line 46

required :object, enum: -> { WhopSDK::Models::PayoutListResponse::Object }

#payer_nameString?

Name of the entity processing the payout.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


52
# File 'lib/whop_sdk/models/payout_list_response.rb', line 52

required :payer_name, String, nil?: true

#payout_request_idString?

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.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


59
# File 'lib/whop_sdk/models/payout_list_response.rb', line 59

required :payout_request_id, String, nil?: true

#payout_tokenWhopSDK::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

#speedSymbol, WhopSDK::Models::PayoutListResponse::Speed

Payout delivery speed.

Parameters:

  • value (WhopSDK::Models::PayoutListResponse::speed)

Returns:



71
# File 'lib/whop_sdk/models/payout_list_response.rb', line 71

required :speed, enum: -> { WhopSDK::Models::PayoutListResponse::Speed }

#statusSymbol, WhopSDK::Models::PayoutListResponse::Status

Current payout status.

Parameters:

  • value (WhopSDK::Models::PayoutListResponse::status)

Returns:



77
# File 'lib/whop_sdk/models/payout_list_response.rb', line 77

required :status, enum: -> { WhopSDK::Models::PayoutListResponse::Status }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/whop_sdk/models/payout_list_response.rb', line 113

Instance Method Details

#to_hash{

Returns:

  • ({)


59
# File 'sig/whop_sdk/models/payout_list_response.rbs', line 59

def to_hash: -> {