Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateCommit::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
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2091
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?
2100
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2100
optional :amount, Float
|
#quantity ⇒ Float?
2105
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2105
optional :quantity, Float
|
#timestamp ⇒ Time
2095
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2095
required :timestamp, Time
|
#unit_price ⇒ Float?
2110
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2110
optional :unit_price, Float
|