Class: Orb::Models::InvoiceFetchUpcomingResponse::CreditNote
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 ⇒ Object
277
|
# File 'sig/orb/models/invoice_fetch_upcoming_response.rbs', line 277
def initialize: (
|
Instance Attribute Details
#credit_note_number ⇒ String
558
|
# File 'lib/orb/models/invoice_fetch_upcoming_response.rb', line 558
required :credit_note_number, String
|
#id ⇒ String
553
|
# File 'lib/orb/models/invoice_fetch_upcoming_response.rb', line 553
required :id, String
|
#memo ⇒ String?
An optional memo supplied on the credit note.
564
|
# File 'lib/orb/models/invoice_fetch_upcoming_response.rb', line 564
required :memo, String, nil?: true
|
#reason ⇒ String
569
|
# File 'lib/orb/models/invoice_fetch_upcoming_response.rb', line 569
required :reason, String
|
#total ⇒ String
574
|
# File 'lib/orb/models/invoice_fetch_upcoming_response.rb', line 574
required :total, String
|
#type ⇒ String
579
|
# File 'lib/orb/models/invoice_fetch_upcoming_response.rb', line 579
required :type, String
|
#voided_at ⇒ Time?
If the credit note has a status of void, this gives a timestamp when the
credit note was voided.
586
|
# File 'lib/orb/models/invoice_fetch_upcoming_response.rb', line 586
required :voided_at, Time, nil?: true
|
Instance Method Details
#to_hash ⇒ {
287
|
# File 'sig/orb/models/invoice_fetch_upcoming_response.rbs', line 287
def to_hash: -> {
|