Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateCommit::InvoiceSchedule::AddScheduleItem
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateCommit::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
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2754
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?
2763
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2763
optional :amount, Float
|
#quantity ⇒ Float?
2768
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2768
optional :quantity, Float
|
#timestamp ⇒ Time
2758
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2758
required :timestamp, Time
|
#unit_price ⇒ Float?
2773
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2773
optional :unit_price, Float
|
Instance Method Details
#to_hash ⇒ {
2693
|
# File 'sig/metronome_sdk/models/v2/contract_get_edit_history_response.rbs', line 2693
def to_hash: -> {
|