Class: WhopSDK::Models::ProductUpdateParams::StorePageConfig
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::ProductUpdateParams::StorePageConfig
- Defined in:
- lib/whop_sdk/models/product_update_params.rb
Instance Attribute Summary collapse
-
#custom_cta ⇒ String?
Custom call-to-action text for the product’s store page.
-
#show_price ⇒ Boolean?
Whether or not to show the price on the product’s store page.
Instance Method Summary collapse
-
#initialize(custom_cta: nil, show_price: nil) ⇒ Object
constructor
Configuration for a product on the company’s store page.
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(custom_cta: nil, show_price: nil) ⇒ Object
Configuration for a product on the company’s store page.
|
|
# File 'lib/whop_sdk/models/product_update_params.rb', line 236
|
Instance Attribute Details
#custom_cta ⇒ String?
Custom call-to-action text for the product’s store page.
228 |
# File 'lib/whop_sdk/models/product_update_params.rb', line 228 optional :custom_cta, String, nil?: true |