Class: WhopSDK::Models::AccountUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::AccountUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/whop_sdk/models/account_update_params.rb
Overview
Instance Attribute Summary collapse
- #account_id ⇒ String
-
#affiliate_application_required ⇒ Boolean?
Whether prospective affiliates must submit an application before promoting this account.
-
#affiliate_instructions ⇒ String?
Guidelines shown to affiliates promoting this account.
-
#banner_image ⇒ Hash{Symbol=>Object}?
Attachment input for the account banner image.
-
#business_type ⇒ String?
The high-level business category for the account.
-
#description ⇒ String?
A promotional description for the account.
-
#featured_affiliate_product_id ⇒ String?
The ID of the product to feature for affiliates.
-
#industry_group ⇒ String?
The industry group the account belongs to.
-
#industry_type ⇒ String?
The specific industry vertical the account operates in.
-
#logo ⇒ Hash{Symbol=>Object}?
Attachment input for the account logo.
-
#metadata ⇒ Hash{Symbol=>Object}?
Arbitrary key/value metadata to store on the account.
-
#route ⇒ String?
The unique URL slug for the account.
-
#send_customer_emails ⇒ Boolean?
Whether Whop sends transactional emails to customers on behalf of this account.
-
#social_links ⇒ Array<Hash{Symbol=>Object}>?
The full list of social links to display for the account.
-
#target_audience ⇒ String?
The target audience for this account.
-
#title ⇒ String?
The display name of the account.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(account_id:, affiliate_application_required: nil, affiliate_instructions: nil, banner_image: nil, business_type: nil, description: nil, featured_affiliate_product_id: nil, industry_group: nil, industry_type: nil, logo: nil, metadata: nil, route: nil, send_customer_emails: nil, social_links: nil, target_audience: nil, title: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see AccountUpdateParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(account_id:, affiliate_application_required: nil, affiliate_instructions: nil, banner_image: nil, business_type: nil, description: nil, featured_affiliate_product_id: nil, industry_group: nil, industry_type: nil, logo: nil, metadata: nil, route: nil, send_customer_emails: nil, social_links: nil, target_audience: nil, title: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see WhopSDK::Models::AccountUpdateParams for more details.
|
|
# File 'lib/whop_sdk/models/account_update_params.rb', line 107
|
Instance Attribute Details
#account_id ⇒ String
13 |
# File 'lib/whop_sdk/models/account_update_params.rb', line 13 required :account_id, String |
#affiliate_application_required ⇒ Boolean?
Whether prospective affiliates must submit an application before promoting this account.
20 |
# File 'lib/whop_sdk/models/account_update_params.rb', line 20 optional :affiliate_application_required, WhopSDK::Internal::Type::Boolean |
#affiliate_instructions ⇒ String?
Guidelines shown to affiliates promoting this account.
26 |
# File 'lib/whop_sdk/models/account_update_params.rb', line 26 optional :affiliate_instructions, String, nil?: true |
#banner_image ⇒ Hash{Symbol=>Object}?
Attachment input for the account banner image.
32 |
# File 'lib/whop_sdk/models/account_update_params.rb', line 32 optional :banner_image, WhopSDK::Internal::Type::HashOf[WhopSDK::Internal::Type::Unknown], nil?: true |
#business_type ⇒ String?
The high-level business category for the account.
38 |
# File 'lib/whop_sdk/models/account_update_params.rb', line 38 optional :business_type, String, nil?: true |
#description ⇒ String?
A promotional description for the account.
44 |
# File 'lib/whop_sdk/models/account_update_params.rb', line 44 optional :description, String, nil?: true |
#featured_affiliate_product_id ⇒ String?
The ID of the product to feature for affiliates. Pass null to clear.
50 |
# File 'lib/whop_sdk/models/account_update_params.rb', line 50 optional :featured_affiliate_product_id, String, nil?: true |
#industry_group ⇒ String?
The industry group the account belongs to.
56 |
# File 'lib/whop_sdk/models/account_update_params.rb', line 56 optional :industry_group, String, nil?: true |
#industry_type ⇒ String?
The specific industry vertical the account operates in.
62 |
# File 'lib/whop_sdk/models/account_update_params.rb', line 62 optional :industry_type, String, nil?: true |
#logo ⇒ Hash{Symbol=>Object}?
Attachment input for the account logo.
68 |
# File 'lib/whop_sdk/models/account_update_params.rb', line 68 optional :logo, WhopSDK::Internal::Type::HashOf[WhopSDK::Internal::Type::Unknown], nil?: true |
#metadata ⇒ Hash{Symbol=>Object}?
Arbitrary key/value metadata to store on the account.
74 |
# File 'lib/whop_sdk/models/account_update_params.rb', line 74 optional :metadata, WhopSDK::Internal::Type::HashOf[WhopSDK::Internal::Type::Unknown] |
#route ⇒ String?
The unique URL slug for the account.
80 |
# File 'lib/whop_sdk/models/account_update_params.rb', line 80 optional :route, String, nil?: true |
#send_customer_emails ⇒ Boolean?
Whether Whop sends transactional emails to customers on behalf of this account.
86 |
# File 'lib/whop_sdk/models/account_update_params.rb', line 86 optional :send_customer_emails, WhopSDK::Internal::Type::Boolean |
#social_links ⇒ Array<Hash{Symbol=>Object}>?
The full list of social links to display for the account.
92 93 |
# File 'lib/whop_sdk/models/account_update_params.rb', line 92 optional :social_links, WhopSDK::Internal::Type::ArrayOf[WhopSDK::Internal::Type::HashOf[WhopSDK::Internal::Type::Unknown]] |
#target_audience ⇒ String?
The target audience for this account.
99 |
# File 'lib/whop_sdk/models/account_update_params.rb', line 99 optional :target_audience, String, nil?: true |
#title ⇒ String?
The display name of the account.
105 |
# File 'lib/whop_sdk/models/account_update_params.rb', line 105 optional :title, String, nil?: true |