Class: Dodopayments::Models::LicenseActivateResponse::Product
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::LicenseActivateResponse::Product
- Defined in:
- lib/dodopayments/models/license_activate_response.rb
Overview
Instance Attribute Summary collapse
-
#name ⇒ String?
Name of the product, if set by the merchant.
-
#product_id ⇒ String
Unique identifier for the product.
Instance Method Summary collapse
-
#initialize(product_id: , name: nil) ⇒ Object
constructor
Related product info.
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(product_id: , name: nil) ⇒ Object
Related product info. Present if the license key is tied to a product.
|
|
# File 'lib/dodopayments/models/license_activate_response.rb', line 78
|
Instance Attribute Details
#name ⇒ String?
Name of the product, if set by the merchant.
76 |
# File 'lib/dodopayments/models/license_activate_response.rb', line 76 optional :name, String, nil?: true |
#product_id ⇒ String
Unique identifier for the product.
70 |
# File 'lib/dodopayments/models/license_activate_response.rb', line 70 required :product_id, String |