Class: Orb::Models::InvoiceEditedWebhookEvent::Properties::PreviousAttributes
Overview
Defined Under Namespace
Classes: LineItem
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
90
|
# File 'sig/orb/models/invoice_edited_webhook_event.rbs', line 90
def initialize: (
|
Instance Attribute Details
#amount_due ⇒ String?
76
|
# File 'lib/orb/models/invoice_edited_webhook_event.rb', line 76
optional :amount_due, String, nil?: true
|
81
82
83
84
85
|
# File 'lib/orb/models/invoice_edited_webhook_event.rb', line 81
optional :discounts,
-> {
Orb::Internal::Type::ArrayOf[union: Orb::InvoiceLevelDiscount]
},
nil?: true
|
#due_date ⇒ String?
90
|
# File 'lib/orb/models/invoice_edited_webhook_event.rb', line 90
optional :due_date, String, nil?: true
|
95
96
97
98
99
|
# File 'lib/orb/models/invoice_edited_webhook_event.rb', line 95
optional :line_items,
-> {
Orb::Internal::Type::ArrayOf[Orb::InvoiceEditedWebhookEvent::Properties::PreviousAttributes::LineItem]
},
nil?: true
|
104
|
# File 'lib/orb/models/invoice_edited_webhook_event.rb', line 104
optional :maximum, -> { Orb::Maximum }, nil?: true
|
109
|
# File 'lib/orb/models/invoice_edited_webhook_event.rb', line 109
optional :metadata, Orb::Internal::Type::HashOf[String], nil?: true
|
114
|
# File 'lib/orb/models/invoice_edited_webhook_event.rb', line 114
optional :minimum, -> { Orb::Minimum }, nil?: true
|
#net_terms ⇒ Integer?
119
|
# File 'lib/orb/models/invoice_edited_webhook_event.rb', line 119
optional :net_terms, Integer, nil?: true
|
#subtotal ⇒ String?
124
|
# File 'lib/orb/models/invoice_edited_webhook_event.rb', line 124
optional :subtotal, String, nil?: true
|
#total ⇒ String?
129
|
# File 'lib/orb/models/invoice_edited_webhook_event.rb', line 129
optional :total, String, nil?: true
|
Instance Method Details
#to_hash ⇒ {
103
|
# File 'sig/orb/models/invoice_edited_webhook_event.rbs', line 103
def to_hash: -> {
|