Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateScheduledCharge::InvoiceSchedule::AddScheduleItem
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
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2922
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?
2931
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2931
optional :amount, Float
|
#quantity ⇒ Float?
2936
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2936
optional :quantity, Float
|
#timestamp ⇒ Time
2926
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2926
required :timestamp, Time
|
#unit_price ⇒ Float?
2941
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2941
optional :unit_price, Float
|