Class: WhopSDK::Models::Accounts::PreferenceRetrieveResponse::AdsPaymentMethods::Primary
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::Accounts::PreferenceRetrieveResponse::AdsPaymentMethods::Primary
- Defined in:
- lib/whop_sdk/models/accounts/preference_retrieve_response.rb,
sig/whop_sdk/models/accounts/preference_retrieve_response.rbs
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#id ⇒ String
The funding source ID: a Whop balance (
ldgr_) forplatform_balance, or a payment method (payt_) forcard. -
#type ⇒ Symbol, WhopSDK::Models::Accounts::PreferenceRetrieveResponse::AdsPaymentMethods::Primary::Type
The funding source kind: a Whop balance or a saved card.
Instance Method Summary collapse
-
#initialize(id:, type:) ⇒ Object
constructor
Some parameter documentations has been truncated, see Primary for more details.
- #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(id:, type:) ⇒ Object
Some parameter documentations has been truncated, see WhopSDK::Models::Accounts::PreferenceRetrieveResponse::AdsPaymentMethods::Primary for more details.
|
|
# File 'lib/whop_sdk/models/accounts/preference_retrieve_response.rb', line 103
|
Instance Attribute Details
#id ⇒ String
The funding source ID: a Whop balance (ldgr_) for platform_balance, or a
payment method (payt_) for card.
94 |
# File 'lib/whop_sdk/models/accounts/preference_retrieve_response.rb', line 94 required :id, String |
#type ⇒ Symbol, WhopSDK::Models::Accounts::PreferenceRetrieveResponse::AdsPaymentMethods::Primary::Type
The funding source kind: a Whop balance or a saved card.
100 101 |
# File 'lib/whop_sdk/models/accounts/preference_retrieve_response.rb', line 100 required :type, enum: -> { WhopSDK::Models::Accounts::PreferenceRetrieveResponse::AdsPaymentMethods::Primary::Type } |
Instance Method Details
#to_hash ⇒ {
90 |
# File 'sig/whop_sdk/models/accounts/preference_retrieve_response.rbs', line 90
def to_hash: -> {
|