Class: Dodopayments::Models::AddonUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::AddonUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/dodopayments/models/addon_update_params.rb
Overview
Instance Attribute Summary collapse
-
#currency ⇒ Symbol, ...
The currency of the Addon.
-
#description ⇒ String?
Description of the Addon, optional and must be at most 1000 characters.
-
#image_id ⇒ String?
Addon image id after its uploaded to S3.
-
#name ⇒ String?
Name of the Addon, optional and must be at most 100 characters.
-
#price ⇒ Integer?
Amount of the addon.
-
#tax_category ⇒ Symbol, ...
Tax category of the Addon.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
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(currency: nil, description: nil, image_id: nil, name: nil, price: nil, tax_category: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/dodopayments/models/addon_update_params.rb', line 46
|
Instance Attribute Details
#currency ⇒ Symbol, ...
The currency of the Addon
14 |
# File 'lib/dodopayments/models/addon_update_params.rb', line 14 optional :currency, enum: -> { Dodopayments::Currency }, nil?: true |
#description ⇒ String?
Description of the Addon, optional and must be at most 1000 characters.
20 |
# File 'lib/dodopayments/models/addon_update_params.rb', line 20 optional :description, String, nil?: true |
#image_id ⇒ String?
Addon image id after its uploaded to S3
26 |
# File 'lib/dodopayments/models/addon_update_params.rb', line 26 optional :image_id, String, nil?: true |
#name ⇒ String?
Name of the Addon, optional and must be at most 100 characters.
32 |
# File 'lib/dodopayments/models/addon_update_params.rb', line 32 optional :name, String, nil?: true |
#price ⇒ Integer?
Amount of the addon
38 |
# File 'lib/dodopayments/models/addon_update_params.rb', line 38 optional :price, Integer, nil?: true |
#tax_category ⇒ Symbol, ...
Tax category of the Addon.
44 |
# File 'lib/dodopayments/models/addon_update_params.rb', line 44 optional :tax_category, enum: -> { Dodopayments::TaxCategory }, nil?: true |