Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateScheduledCharge::InvoiceSchedule::UpdateScheduleItem

Inherits:
Internal::Type::BaseModel
  • Object
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

Methods inherited from Internal::Type::BaseModel

==, #==, #[], 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

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initializeObject



3901
# File 'sig/metronome_sdk/models/v2/contract_get_edit_history_response.rbs', line 3901

def initialize: (

Instance Attribute Details

#amountFloat?



4000
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 4000

optional :amount, Float

#idString



3995
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 3995

required :id, String

#quantityFloat?



4005
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 4005

optional :quantity, Float

#timestampTime?



4010
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 4010

optional :timestamp, Time

#unit_priceFloat?



4015
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 4015

optional :unit_price, Float

Instance Method Details

#to_hash{



3909
# File 'sig/metronome_sdk/models/v2/contract_get_edit_history_response.rbs', line 3909

def to_hash: -> {