Class: MetronomeSDK::Models::BaseThresholdCommit
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::BaseThresholdCommit
- Defined in:
- lib/metronome_sdk/models/base_threshold_commit.rb
Direct Known Subclasses
Instance Attribute Summary collapse
- #description ⇒ String?
-
#name ⇒ String?
Specify the name of the line item for the threshold charge.
-
#product_id ⇒ String
The commit product that will be used to generate the line item for commit payment.
Instance Method Summary collapse
-
#initialize(product_id: , description: nil, name: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see BaseThresholdCommit for more details.
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: , description: nil, name: nil) ⇒ Object
Some parameter documentations has been truncated, see MetronomeSDK::Models::BaseThresholdCommit for more details.
|
|
# File 'lib/metronome_sdk/models/base_threshold_commit.rb', line 25
|
Instance Attribute Details
#description ⇒ String?
16 |
# File 'lib/metronome_sdk/models/base_threshold_commit.rb', line 16 optional :description, String |
#name ⇒ String?
Specify the name of the line item for the threshold charge. If left blank, it will default to the commit product name.
23 |
# File 'lib/metronome_sdk/models/base_threshold_commit.rb', line 23 optional :name, String |
#product_id ⇒ String
The commit product that will be used to generate the line item for commit payment.
11 |
# File 'lib/metronome_sdk/models/base_threshold_commit.rb', line 11 required :product_id, String |