Class: WhopSDK::Models::PayoutCreateResponse::PayoutToken
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::PayoutCreateResponse::PayoutToken
- Defined in:
- lib/whop_sdk/models/payout_create_response.rb,
sig/whop_sdk/models/payout_create_response.rbs
Overview
Defined Under Namespace
Classes: PayoutDestination
Instance Attribute Summary collapse
-
#nickname ⇒ String?
Saved payout method nickname.
-
#payout_destination ⇒ WhopSDK::Models::PayoutCreateResponse::PayoutToken::PayoutDestination?
Payout destination display details.
Instance Method Summary collapse
-
#initialize(nickname:, payout_destination:) ⇒ Object
constructor
The saved payout method used.
- #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(nickname:, payout_destination:) ⇒ Object
The saved payout method used. Requires payout:destination:read; null without it.
|
|
# File 'lib/whop_sdk/models/payout_create_response.rb', line 125
|
Instance Attribute Details
#nickname ⇒ String?
Saved payout method nickname.
115 |
# File 'lib/whop_sdk/models/payout_create_response.rb', line 115 required :nickname, String, nil?: true |
#payout_destination ⇒ WhopSDK::Models::PayoutCreateResponse::PayoutToken::PayoutDestination?
Payout destination display details.
121 122 123 |
# File 'lib/whop_sdk/models/payout_create_response.rb', line 121 required :payout_destination, -> { WhopSDK::Models::PayoutCreateResponse::PayoutToken::PayoutDestination }, nil?: true |
Instance Method Details
#to_hash ⇒ {
95 |
# File 'sig/whop_sdk/models/payout_create_response.rbs', line 95
def to_hash: -> {
|