Class: Orb::Models::CustomerAccountingSyncSucceededWebhookEvent::AccountingSyncRecord
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/orb/models/customer_accounting_sync_succeeded_webhook_event.rb,
sig/orb/models/customer_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, provider_customer_id: nil, status: nil, sync_action: nil) ⇒ Object
|
# File 'lib/orb/models/customer_accounting_sync_succeeded_webhook_event.rb', line 114
|
Instance Attribute Details
#customer_id ⇒ String
86
|
# File 'lib/orb/models/customer_accounting_sync_succeeded_webhook_event.rb', line 86
required :customer_id, String
|
#error_details ⇒ Hash{Symbol=>Object}?
97
|
# File 'lib/orb/models/customer_accounting_sync_succeeded_webhook_event.rb', line 97
optional :error_details, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown], nil?: true
|
#id ⇒ String
81
|
# File 'lib/orb/models/customer_accounting_sync_succeeded_webhook_event.rb', line 81
required :id, String
|
#provider_customer_id ⇒ String?
102
|
# File 'lib/orb/models/customer_accounting_sync_succeeded_webhook_event.rb', line 102
optional :provider_customer_id, String, nil?: true
|
91
92
|
# File 'lib/orb/models/customer_accounting_sync_succeeded_webhook_event.rb', line 91
required :record_type,
enum: -> { Orb::CustomerAccountingSyncSucceededWebhookEvent::AccountingSyncRecord::RecordType }
|
#status ⇒ String?
107
|
# File 'lib/orb/models/customer_accounting_sync_succeeded_webhook_event.rb', line 107
optional :status, String, nil?: true
|
#sync_action ⇒ String?
112
|
# File 'lib/orb/models/customer_accounting_sync_succeeded_webhook_event.rb', line 112
optional :sync_action, String, nil?: true
|
Instance Method Details
#to_hash ⇒ {
80
|
# File 'sig/orb/models/customer_accounting_sync_succeeded_webhook_event.rbs', line 80
def to_hash: -> {
|