Class: Dodopayments::Models::ProductCollections::Groups::ProductCollectionProduct
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(id:, addons_count:, files_count:, has_credit_entitlements:, is_recurring:, license_key_enabled:, meters_count:, product_id:, status:, currency: nil, description: nil, name: nil, price: nil, price_detail: nil, tax_category: nil, tax_inclusive: nil) ⇒ Object
constructor
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, addons_count:, files_count:, has_credit_entitlements:, is_recurring:, license_key_enabled:, meters_count:, product_id:, status:, currency: nil, description: nil, name: nil, price: nil, price_detail: nil, tax_category: nil, tax_inclusive: nil) ⇒ Object
|
# File 'lib/dodopayments/models/product_collections/groups/product_collection_product.rb', line 92
|
Instance Attribute Details
#addons_count ⇒ Integer
16
|
# File 'lib/dodopayments/models/product_collections/groups/product_collection_product.rb', line 16
required :addons_count, Integer
|
#currency ⇒ Symbol, ...
57
|
# File 'lib/dodopayments/models/product_collections/groups/product_collection_product.rb', line 57
optional :currency, enum: -> { Dodopayments::Currency }, nil?: true
|
#description ⇒ String?
62
|
# File 'lib/dodopayments/models/product_collections/groups/product_collection_product.rb', line 62
optional :description, String, nil?: true
|
#files_count ⇒ Integer
21
|
# File 'lib/dodopayments/models/product_collections/groups/product_collection_product.rb', line 21
required :files_count, Integer
|
#has_credit_entitlements ⇒ Boolean
Whether this product has any credit entitlements attached
27
|
# File 'lib/dodopayments/models/product_collections/groups/product_collection_product.rb', line 27
required :has_credit_entitlements, Dodopayments::Internal::Type::Boolean
|
#id ⇒ String
11
|
# File 'lib/dodopayments/models/product_collections/groups/product_collection_product.rb', line 11
required :id, String
|
#is_recurring ⇒ Boolean
32
|
# File 'lib/dodopayments/models/product_collections/groups/product_collection_product.rb', line 32
required :is_recurring, Dodopayments::Internal::Type::Boolean
|
#license_key_enabled ⇒ Boolean
37
|
# File 'lib/dodopayments/models/product_collections/groups/product_collection_product.rb', line 37
required :license_key_enabled, Dodopayments::Internal::Type::Boolean
|
#meters_count ⇒ Integer
42
|
# File 'lib/dodopayments/models/product_collections/groups/product_collection_product.rb', line 42
required :meters_count, Integer
|
#name ⇒ String?
67
|
# File 'lib/dodopayments/models/product_collections/groups/product_collection_product.rb', line 67
optional :name, String, nil?: true
|
#price ⇒ Integer?
72
|
# File 'lib/dodopayments/models/product_collections/groups/product_collection_product.rb', line 72
optional :price, Integer, nil?: true
|
78
|
# File 'lib/dodopayments/models/product_collections/groups/product_collection_product.rb', line 78
optional :price_detail, union: -> { Dodopayments::Price }, nil?: true
|
#product_id ⇒ String
47
|
# File 'lib/dodopayments/models/product_collections/groups/product_collection_product.rb', line 47
required :product_id, String
|
#status ⇒ Boolean
52
|
# File 'lib/dodopayments/models/product_collections/groups/product_collection_product.rb', line 52
required :status, Dodopayments::Internal::Type::Boolean
|
#tax_category ⇒ Symbol, ...
Represents the different categories of taxation applicable to various products and services.
85
|
# File 'lib/dodopayments/models/product_collections/groups/product_collection_product.rb', line 85
optional :tax_category, enum: -> { Dodopayments::TaxCategory }, nil?: true
|
#tax_inclusive ⇒ Boolean?
90
|
# File 'lib/dodopayments/models/product_collections/groups/product_collection_product.rb', line 90
optional :tax_inclusive, Dodopayments::Internal::Type::Boolean, nil?: true
|