Class: WhopSDK::Models::PayoutCreateResponse::PayoutToken::PayoutDestination
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::PayoutCreateResponse::PayoutToken::PayoutDestination
- Defined in:
- lib/whop_sdk/models/payout_create_response.rb,
sig/whop_sdk/models/payout_create_response.rbs
Overview
Instance Attribute Summary collapse
-
#icon_url ⇒ String?
Payout destination icon URL.
-
#payer_name ⇒ String?
Payout destination display name.
Instance Method Summary collapse
-
#initialize ⇒ PayoutDestination
constructor
A new instance of PayoutDestination.
- #to_hash ⇒ { icon_url: String?, payer_name: String? }
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 ⇒ PayoutDestination
Returns a new instance of PayoutDestination.
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_url ⇒ String?
Payout destination icon URL.
138 |
# File 'lib/whop_sdk/models/payout_create_response.rb', line 138 required :icon_url, String, nil?: true |
#payer_name ⇒ String?
Payout destination display name.
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? }
109 |
# File 'sig/whop_sdk/models/payout_create_response.rbs', line 109
def to_hash: -> { icon_url: String?, payer_name: String? }
|