Class: MetronomeSDK::Models::V1::Customers::Invoice::CorrectionRecord

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/v1/customers/invoice.rb

Overview

See Also:

Defined Under Namespace

Classes: CorrectedExternalInvoice

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

#initialize(corrected_invoice_id: , memo: , reason: , corrected_external_invoice: nil) ⇒ Object

Parameters:



# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 915


Instance Attribute Details

#corrected_external_invoiceMetronomeSDK::Models::V1::Customers::Invoice::CorrectionRecord::CorrectedExternalInvoice?



912
913
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 912

optional :corrected_external_invoice,
-> { MetronomeSDK::V1::Customers::Invoice::CorrectionRecord::CorrectedExternalInvoice }

#corrected_invoice_idString

Returns:

  • (String)


897
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 897

required :corrected_invoice_id, String

#memoString

Returns:

  • (String)


902
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 902

required :memo, String

#reasonString

Returns:

  • (String)


907
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 907

required :reason, String