Class: WhopSDK::Models::PayoutCreateResponse::PayoutToken::PayoutDestination

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

Overview

See Also:

  • WhopSDK::Models::PayoutCreateResponse::PayoutToken#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

#initializePayoutDestination

Returns a new instance of PayoutDestination.

Parameters:

  • icon_url: (String, nil)
  • payer_name: (String, nil)


107
# File 'sig/whop_sdk/models/payout_create_response.rbs', line 107

def initialize: (icon_url: String?, payer_name: String?) -> void

Instance Attribute Details

#icon_urlString?

Payout destination icon URL.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


138
# File 'lib/whop_sdk/models/payout_create_response.rb', line 138

required :icon_url, String, nil?: true

#payer_nameString?

Payout destination display name.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


144
# File 'lib/whop_sdk/models/payout_create_response.rb', line 144

required :payer_name, String, nil?: true

Instance Method Details

#to_hash{ icon_url: String?, payer_name: String? }

Returns:

  • ({ icon_url: String?, payer_name: String? })


109
# File 'sig/whop_sdk/models/payout_create_response.rbs', line 109

def to_hash: -> { icon_url: String?, payer_name: String? }