Class: MetronomeSDK::Models::V1::Customers::PlanAddParams::TrialSpec::SpendingCap
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V1::Customers::PlanAddParams::TrialSpec::SpendingCap
- Defined in:
- lib/metronome_sdk/models/v1/customers/plan_add_params.rb
Overview
Instance Attribute Summary collapse
-
#amount ⇒ Float
The credit amount in the given denomination based on the credit type, e.g.
-
#credit_type_id ⇒ String
The credit type ID for the spending cap.
Instance Method Summary collapse
-
#initialize(amount: , credit_type_id: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see SpendingCap 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(amount: , credit_type_id: ) ⇒ Object
Some parameter documentations has been truncated, see MetronomeSDK::Models::V1::Customers::PlanAddParams::TrialSpec::SpendingCap for more details.
|
|
# File 'lib/metronome_sdk/models/v1/customers/plan_add_params.rb', line 222
|
Instance Attribute Details
#amount ⇒ Float
The credit amount in the given denomination based on the credit type, e.g. US cents.
214 |
# File 'lib/metronome_sdk/models/v1/customers/plan_add_params.rb', line 214 required :amount, Float |
#credit_type_id ⇒ String
The credit type ID for the spending cap.
220 |
# File 'lib/metronome_sdk/models/v1/customers/plan_add_params.rb', line 220 required :credit_type_id, String |