Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddCommit::InvoiceSchedule::ScheduleItem
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(credit_type: nil, do_not_invoice: nil, schedule_items: nil) ⇒ Object
The schedule that the customer will be invoiced for this commit.
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 469
class ScheduleItem < MetronomeSDK::Internal::Type::BaseModel
required :id, String
required :timestamp, Time
optional :amount, Float
optional :invoice_id, String, nil?: true
optional :quantity, Float
optional :unit_price, Float
end
|
Instance Attribute Details
#amount ⇒ Float?
483
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 483
optional :amount, Float
|
#id ⇒ String
473
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 473
required :id, String
|
#invoice_id ⇒ String?
488
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 488
optional :invoice_id, String, nil?: true
|
#quantity ⇒ Float?
493
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 493
optional :quantity, Float
|
#timestamp ⇒ Time
478
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 478
required :timestamp, Time
|
#unit_price ⇒ Float?
498
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 498
optional :unit_price, Float
|