Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateRefundInvoice

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

#initializeUpdateRefundInvoice

Returns a new instance of UpdateRefundInvoice.

Parameters:

  • date: (Time)
  • invoice_id: (String)


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

def initialize: (date: Time, invoice_id: String) -> void

Instance Attribute Details

#dateTime

Parameters:

  • value (Time)

Returns:

  • (Time)


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

required :date, Time

#invoice_idString

Parameters:

  • value (String)

Returns:

  • (String)


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

required :invoice_id, String

Instance Method Details

#to_hash{ date: Time, invoice_id: String }

Returns:

  • ({ date: Time, invoice_id: String })


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

def to_hash: -> { date: Time, invoice_id: String }