Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateScheduledCharge::InvoiceSchedule::AddScheduleItem
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateScheduledCharge::InvoiceSchedule::AddScheduleItem
show all
- Defined in:
- lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb,
sig/metronome_sdk/models/v2/contract_get_edit_history_response.rbs
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(add_schedule_items: nil, remove_schedule_items: nil, update_schedule_items: nil) ⇒ Object
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 3949
class AddScheduleItem < MetronomeSDK::Internal::Type::BaseModel
required :timestamp, Time
optional :amount, Float
optional :quantity, Float
optional :unit_price, Float
end
|
Instance Attribute Details
#amount ⇒ Float?
3958
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 3958
optional :amount, Float
|
#quantity ⇒ Float?
3963
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 3963
optional :quantity, Float
|
#timestamp ⇒ Time
3953
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 3953
required :timestamp, Time
|
#unit_price ⇒ Float?
3968
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 3968
optional :unit_price, Float
|
Instance Method Details
#to_hash ⇒ {
3855
|
# File 'sig/metronome_sdk/models/v2/contract_get_edit_history_response.rbs', line 3855
def to_hash: -> {
|