Class: Orb::Models::InvoiceInvoiceDateElapsedWebhookEvent::Invoice
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/orb/models/invoice_invoice_date_elapsed_webhook_event.rb,
sig/orb/models/invoice_invoice_date_elapsed_webhook_event.rbs
Overview
Defined Under Namespace
Modules: Status
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(id:, customer:, invoice_number:, status:, subscription:) ⇒ Object
|
# File 'lib/orb/models/invoice_invoice_date_elapsed_webhook_event.rb', line 74
|
Instance Attribute Details
57
|
# File 'lib/orb/models/invoice_invoice_date_elapsed_webhook_event.rb', line 57
required :customer, -> { Orb::CustomerMinified }
|
#id ⇒ String
52
|
# File 'lib/orb/models/invoice_invoice_date_elapsed_webhook_event.rb', line 52
required :id, String
|
#invoice_number ⇒ String
62
|
# File 'lib/orb/models/invoice_invoice_date_elapsed_webhook_event.rb', line 62
required :invoice_number, String
|
67
|
# File 'lib/orb/models/invoice_invoice_date_elapsed_webhook_event.rb', line 67
required :status, enum: -> { Orb::InvoiceInvoiceDateElapsedWebhookEvent::Invoice::Status }
|
72
|
# File 'lib/orb/models/invoice_invoice_date_elapsed_webhook_event.rb', line 72
required :subscription, -> { Orb::SubscriptionMinified }, nil?: true
|
Instance Method Details
#to_hash ⇒ {
67
|
# File 'sig/orb/models/invoice_invoice_date_elapsed_webhook_event.rbs', line 67
def to_hash: -> {
|