Class: WhopSDK::Models::Payouts::MethodListResponse::PayoutDestination

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

Overview

See Also:

  • WhopSDK::Models::Payouts::MethodListResponse#payout_destination

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

#initializeObject



105
# File 'sig/whop_sdk/models/payouts/method_list_response.rbs', line 105

def initialize: (

Instance Attribute Details

#delivery_typeString

How funds are delivered, for example bank_deposit.

Parameters:

  • value (String)

Returns:

  • (String)


128
# File 'lib/whop_sdk/models/payouts/method_list_response.rb', line 128

required :delivery_type, String

#icon_urlString?

Payout destination icon URL.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


134
# File 'lib/whop_sdk/models/payouts/method_list_response.rb', line 134

required :icon_url, String, nil?: true

#nameString?

Payout destination display name.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


140
# File 'lib/whop_sdk/models/payouts/method_list_response.rb', line 140

required :name, String, nil?: true

#supports_instant_deliveryBoolean

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


145
# File 'lib/whop_sdk/models/payouts/method_list_response.rb', line 145

required :supports_instant_delivery, WhopSDK::Internal::Type::Boolean

#supports_standard_deliveryBoolean

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


150
# File 'lib/whop_sdk/models/payouts/method_list_response.rb', line 150

required :supports_standard_delivery, WhopSDK::Internal::Type::Boolean

Instance Method Details

#to_hash{

Returns:

  • ({)


113
# File 'sig/whop_sdk/models/payouts/method_list_response.rbs', line 113

def to_hash: -> {