Class: Orb::Models::SalesOrderAccountingSyncSucceededWebhookEvent::AccountingSyncRecord
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rb,
sig/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rbs
Overview
Defined Under Namespace
Modules: RecordType
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_id:, record_type:, error_details: nil, invoice_id: nil, provider_customer_id: nil, status: nil, sync_action: nil) ⇒ Object
|
# File 'lib/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rb', line 106
|
Instance Attribute Details
#customer_id ⇒ String
73
|
# File 'lib/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rb', line 73
required :customer_id, String
|
#error_details ⇒ Hash{Symbol=>Object}?
84
|
# File 'lib/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rb', line 84
optional :error_details, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown], nil?: true
|
#id ⇒ String
68
|
# File 'lib/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rb', line 68
required :id, String
|
#invoice_id ⇒ String?
89
|
# File 'lib/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rb', line 89
optional :invoice_id, String, nil?: true
|
#provider_customer_id ⇒ String?
94
|
# File 'lib/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rb', line 94
optional :provider_customer_id, String, nil?: true
|
78
79
|
# File 'lib/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rb', line 78
required :record_type,
enum: -> { Orb::SalesOrderAccountingSyncSucceededWebhookEvent::AccountingSyncRecord::RecordType }
|
#status ⇒ String?
99
|
# File 'lib/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rb', line 99
optional :status, String, nil?: true
|
#sync_action ⇒ String?
104
|
# File 'lib/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rb', line 104
optional :sync_action, String, nil?: true
|
Instance Method Details
#to_hash ⇒ {
84
|
# File 'sig/orb/models/sales_order_accounting_sync_succeeded_webhook_event.rbs', line 84
def to_hash: -> {
|