Class: WhopSDK::Models::Accounts::PreferenceRetrieveResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::Accounts::PreferenceRetrieveResponse
- Defined in:
- lib/whop_sdk/models/accounts/preference_retrieve_response.rb,
sig/whop_sdk/models/accounts/preference_retrieve_response.rbs
Overview
Defined Under Namespace
Classes: AdsPaymentMethods
Instance Attribute Summary collapse
-
#ads_payment_methods ⇒ WhopSDK::Models::Accounts::PreferenceRetrieveResponse::AdsPaymentMethods?
How the account pays for Whop Ads spend.
Instance Method Summary collapse
-
#initialize(ads_payment_methods:) ⇒ Object
constructor
Some parameter documentations has been truncated, see PreferenceRetrieveResponse 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(ads_payment_methods:) ⇒ Object
Some parameter documentations has been truncated, see WhopSDK::Models::Accounts::PreferenceRetrieveResponse for more details.
|
|
# File 'lib/whop_sdk/models/accounts/preference_retrieve_response.rb', line 18
|
Instance Attribute Details
#ads_payment_methods ⇒ WhopSDK::Models::Accounts::PreferenceRetrieveResponse::AdsPaymentMethods?
How the account pays for Whop Ads spend. primary is charged first; backup
covers the charge when the primary fails. null until ads billing has been
configured.
14 15 16 |
# File 'lib/whop_sdk/models/accounts/preference_retrieve_response.rb', line 14 required :ads_payment_methods, -> { WhopSDK::Models::Accounts::PreferenceRetrieveResponse::AdsPaymentMethods }, nil?: true |
Instance Method Details
#to_hash ⇒ {
16 |
# File 'sig/whop_sdk/models/accounts/preference_retrieve_response.rbs', line 16
def to_hash: -> {
|