Class: Dodopayments::Models::LicenseKeyCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::LicenseKeyCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/dodopayments/models/license_key_create_params.rb
Overview
Instance Attribute Summary collapse
-
#activations_limit ⇒ Integer?
Maximum number of activations allowed.
-
#customer_id ⇒ String
The customer this license key belongs to.
-
#expires_at ⇒ Time?
Expiration timestamp.
-
#key ⇒ String
The license key string to import.
-
#product_id ⇒ String
The product this license key is for.
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(customer_id:, key:, product_id:, activations_limit: nil, expires_at: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/dodopayments/models/license_key_create_params.rb', line 40
|
Instance Attribute Details
#activations_limit ⇒ Integer?
Maximum number of activations allowed. Null means unlimited.
32 |
# File 'lib/dodopayments/models/license_key_create_params.rb', line 32 optional :activations_limit, Integer, nil?: true |
#customer_id ⇒ String
The customer this license key belongs to.
14 |
# File 'lib/dodopayments/models/license_key_create_params.rb', line 14 required :customer_id, String |
#expires_at ⇒ Time?
Expiration timestamp. Null means the key never expires.
38 |
# File 'lib/dodopayments/models/license_key_create_params.rb', line 38 optional :expires_at, Time, nil?: true |
#key ⇒ String
The license key string to import.
20 |
# File 'lib/dodopayments/models/license_key_create_params.rb', line 20 required :key, String |
#product_id ⇒ String
The product this license key is for.
26 |
# File 'lib/dodopayments/models/license_key_create_params.rb', line 26 required :product_id, String |