Class: MetronomeSDK::Models::V1::Customers::PlanListResponse::TrialInfo::SpendingCap
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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(amount: , amount_remaining: , credit_type: ) ⇒ Object
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
# File 'lib/metronome_sdk/models/v1/customers/plan_list_response.rb', line 93
class SpendingCap < MetronomeSDK::Internal::Type::BaseModel
required :amount, Float
required :amount_remaining, Float
required :credit_type, -> { MetronomeSDK::CreditTypeData }
end
|
Instance Attribute Details
#amount ⇒ Float
97
|
# File 'lib/metronome_sdk/models/v1/customers/plan_list_response.rb', line 97
required :amount, Float
|
#amount_remaining ⇒ Float
102
|
# File 'lib/metronome_sdk/models/v1/customers/plan_list_response.rb', line 102
required :amount_remaining, Float
|
107
|
# File 'lib/metronome_sdk/models/v1/customers/plan_list_response.rb', line 107
required :credit_type, -> { MetronomeSDK::CreditTypeData }
|