Class: Orb::Models::Invoice::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
282
|
# File 'sig/orb/models/invoice.rbs', line 282
def initialize: (
|
Instance Attribute Details
#credit_note_number ⇒ String
571
|
# File 'lib/orb/models/invoice.rb', line 571
required :credit_note_number, String
|
#id ⇒ String
566
|
# File 'lib/orb/models/invoice.rb', line 566
required :id, String
|
#memo ⇒ String?
An optional memo supplied on the credit note.
577
|
# File 'lib/orb/models/invoice.rb', line 577
required :memo, String, nil?: true
|
#reason ⇒ String
582
|
# File 'lib/orb/models/invoice.rb', line 582
required :reason, String
|
#total ⇒ String
587
|
# File 'lib/orb/models/invoice.rb', line 587
required :total, String
|
#type ⇒ String
592
|
# File 'lib/orb/models/invoice.rb', line 592
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.
599
|
# File 'lib/orb/models/invoice.rb', line 599
required :voided_at, Time, nil?: true
|
Instance Method Details
#to_hash ⇒ {
292
|
# File 'sig/orb/models/invoice.rbs', line 292
def to_hash: -> {
|