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
277
|
# File 'sig/orb/models/invoice.rbs', line 277
def initialize: (
|
Instance Attribute Details
#credit_note_number ⇒ String
560
|
# File 'lib/orb/models/invoice.rb', line 560
required :credit_note_number, String
|
#id ⇒ String
555
|
# File 'lib/orb/models/invoice.rb', line 555
required :id, String
|
#memo ⇒ String?
An optional memo supplied on the credit note.
566
|
# File 'lib/orb/models/invoice.rb', line 566
required :memo, String, nil?: true
|
#reason ⇒ String
571
|
# File 'lib/orb/models/invoice.rb', line 571
required :reason, String
|
#total ⇒ String
576
|
# File 'lib/orb/models/invoice.rb', line 576
required :total, String
|
#type ⇒ String
581
|
# File 'lib/orb/models/invoice.rb', line 581
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.
588
|
# File 'lib/orb/models/invoice.rb', line 588
required :voided_at, Time, nil?: true
|
Instance Method Details
#to_hash ⇒ {
287
|
# File 'sig/orb/models/invoice.rbs', line 287
def to_hash: -> {
|