Class: MetronomeSDK::Models::V2::ContractEditCommitParams::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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
|
# File 'lib/metronome_sdk/models/v2/contract_edit_commit_params.rb', line 233
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?
242
|
# File 'lib/metronome_sdk/models/v2/contract_edit_commit_params.rb', line 242
optional :amount, Float
|
#quantity ⇒ Float?
247
|
# File 'lib/metronome_sdk/models/v2/contract_edit_commit_params.rb', line 247
optional :quantity, Float
|
#timestamp ⇒ Time
237
|
# File 'lib/metronome_sdk/models/v2/contract_edit_commit_params.rb', line 237
required :timestamp, Time
|
#unit_price ⇒ Float?
252
|
# File 'lib/metronome_sdk/models/v2/contract_edit_commit_params.rb', line 252
optional :unit_price, Float
|