Class: Dodopayments::Models::ProductUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::ProductUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/dodopayments/models/product_update_params.rb
Overview
Defined Under Namespace
Classes: DigitalProductDelivery
Instance Attribute Summary collapse
-
#addons ⇒ Array<String>?
Available Addons for subscription products.
- #brand_id ⇒ String?
-
#description ⇒ String?
Description of the product, optional and must be at most 1000 characters.
-
#digital_product_delivery ⇒ Dodopayments::Models::ProductUpdateParams::DigitalProductDelivery?
Choose how you would like you digital product delivered.
-
#image_id ⇒ String?
Product image id after its uploaded to S3.
-
#license_key_activation_message ⇒ String?
Message sent to the customer upon license key activation.
-
#license_key_activations_limit ⇒ Integer?
Limit for the number of activations for the license key.
-
#license_key_duration ⇒ Dodopayments::Models::LicenseKeyDuration?
Duration of the license key if enabled.
-
#license_key_enabled ⇒ Boolean?
Whether the product requires a license key.
-
#metadata ⇒ Hash{Symbol=>String}?
Additional metadata for the product.
-
#name ⇒ String?
Name of the product, optional and must be at most 100 characters.
-
#price ⇒ Dodopayments::Models::Price::OneTimePrice, ...
Price details of the product.
-
#tax_category ⇒ Symbol, ...
Tax category of the product.
Attributes included from Internal::Type::RequestParameters
Method Summary
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, #initialize, 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
This class inherits a constructor from Dodopayments::Internal::Type::BaseModel
Instance Attribute Details
#addons ⇒ Array<String>?
Available Addons for subscription products
14 |
# File 'lib/dodopayments/models/product_update_params.rb', line 14 optional :addons, Dodopayments::Internal::Type::ArrayOf[String], nil?: true |
#brand_id ⇒ String?
19 |
# File 'lib/dodopayments/models/product_update_params.rb', line 19 optional :brand_id, String, nil?: true |
#description ⇒ String?
Description of the product, optional and must be at most 1000 characters.
25 |
# File 'lib/dodopayments/models/product_update_params.rb', line 25 optional :description, String, nil?: true |
#digital_product_delivery ⇒ Dodopayments::Models::ProductUpdateParams::DigitalProductDelivery?
Choose how you would like you digital product delivered
31 32 33 |
# File 'lib/dodopayments/models/product_update_params.rb', line 31 optional :digital_product_delivery, -> { Dodopayments::ProductUpdateParams::DigitalProductDelivery }, nil?: true |
#image_id ⇒ String?
Product image id after its uploaded to S3
39 |
# File 'lib/dodopayments/models/product_update_params.rb', line 39 optional :image_id, String, nil?: true |
#license_key_activation_message ⇒ String?
Message sent to the customer upon license key activation.
Only applicable if ‘license_key_enabled` is `true`. This message contains instructions for activating the license key.
48 |
# File 'lib/dodopayments/models/product_update_params.rb', line 48 optional :license_key_activation_message, String, nil?: true |
#license_key_activations_limit ⇒ Integer?
Limit for the number of activations for the license key.
Only applicable if ‘license_key_enabled` is `true`. Represents the maximum number of times the license key can be activated.
57 |
# File 'lib/dodopayments/models/product_update_params.rb', line 57 optional :license_key_activations_limit, Integer, nil?: true |
#license_key_duration ⇒ Dodopayments::Models::LicenseKeyDuration?
Duration of the license key if enabled.
Only applicable if ‘license_key_enabled` is `true`. Represents the duration in days for which the license key is valid.
66 |
# File 'lib/dodopayments/models/product_update_params.rb', line 66 optional :license_key_duration, -> { Dodopayments::LicenseKeyDuration }, nil?: true |
#license_key_enabled ⇒ Boolean?
Whether the product requires a license key.
If ‘true`, additional fields related to license key (duration, activations limit, activation message) become applicable.
75 |
# File 'lib/dodopayments/models/product_update_params.rb', line 75 optional :license_key_enabled, Dodopayments::Internal::Type::Boolean, nil?: true |
#metadata ⇒ Hash{Symbol=>String}?
Additional metadata for the product
81 |
# File 'lib/dodopayments/models/product_update_params.rb', line 81 optional :metadata, Dodopayments::Internal::Type::HashOf[String], nil?: true |
#name ⇒ String?
Name of the product, optional and must be at most 100 characters.
87 |
# File 'lib/dodopayments/models/product_update_params.rb', line 87 optional :name, String, nil?: true |
#price ⇒ Dodopayments::Models::Price::OneTimePrice, ...
Price details of the product.
93 |
# File 'lib/dodopayments/models/product_update_params.rb', line 93 optional :price, union: -> { Dodopayments::Price }, nil?: true |
#tax_category ⇒ Symbol, ...
Tax category of the product.
99 |
# File 'lib/dodopayments/models/product_update_params.rb', line 99 optional :tax_category, enum: -> { Dodopayments::TaxCategory }, nil?: true |