Class: Orb::Models::ChangedSubscriptionResources::CreatedInvoice::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
313
|
# File 'sig/orb/models/changed_subscription_resources.rbs', line 313
def initialize: (
|
Instance Attribute Details
#credit_note_number ⇒ String
601
|
# File 'lib/orb/models/changed_subscription_resources.rb', line 601
required :credit_note_number, String
|
#id ⇒ String
596
|
# File 'lib/orb/models/changed_subscription_resources.rb', line 596
required :id, String
|
#memo ⇒ String?
An optional memo supplied on the credit note.
607
|
# File 'lib/orb/models/changed_subscription_resources.rb', line 607
required :memo, String, nil?: true
|
#reason ⇒ String
612
|
# File 'lib/orb/models/changed_subscription_resources.rb', line 612
required :reason, String
|
#total ⇒ String
617
|
# File 'lib/orb/models/changed_subscription_resources.rb', line 617
required :total, String
|
#type ⇒ String
622
|
# File 'lib/orb/models/changed_subscription_resources.rb', line 622
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.
629
|
# File 'lib/orb/models/changed_subscription_resources.rb', line 629
required :voided_at, Time, nil?: true
|
Instance Method Details
#to_hash ⇒ {
323
|
# File 'sig/orb/models/changed_subscription_resources.rbs', line 323
def to_hash: -> {
|