Class: Orb::Models::CreditNoteAccountingSyncFailedWebhookEvent::AccountingSyncRecord
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/orb/models/credit_note_accounting_sync_failed_webhook_event.rb,
sig/orb/models/credit_note_accounting_sync_failed_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:, credit_note_id: nil, error_details: nil, provider_customer_id: nil, status: nil, sync_action: nil) ⇒ Object
|
# File 'lib/orb/models/credit_note_accounting_sync_failed_webhook_event.rb', line 103
|
Instance Attribute Details
#credit_note_id ⇒ String?
81
|
# File 'lib/orb/models/credit_note_accounting_sync_failed_webhook_event.rb', line 81
optional :credit_note_id, String, nil?: true
|
#customer_id ⇒ String
70
|
# File 'lib/orb/models/credit_note_accounting_sync_failed_webhook_event.rb', line 70
required :customer_id, String
|
#error_details ⇒ Hash{Symbol=>Object}?
86
|
# File 'lib/orb/models/credit_note_accounting_sync_failed_webhook_event.rb', line 86
optional :error_details, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown], nil?: true
|
#id ⇒ String
65
|
# File 'lib/orb/models/credit_note_accounting_sync_failed_webhook_event.rb', line 65
required :id, String
|
#provider_customer_id ⇒ String?
91
|
# File 'lib/orb/models/credit_note_accounting_sync_failed_webhook_event.rb', line 91
optional :provider_customer_id, String, nil?: true
|
75
76
|
# File 'lib/orb/models/credit_note_accounting_sync_failed_webhook_event.rb', line 75
required :record_type,
enum: -> { Orb::CreditNoteAccountingSyncFailedWebhookEvent::AccountingSyncRecord::RecordType }
|
#status ⇒ String?
96
|
# File 'lib/orb/models/credit_note_accounting_sync_failed_webhook_event.rb', line 96
optional :status, String, nil?: true
|
#sync_action ⇒ String?
101
|
# File 'lib/orb/models/credit_note_accounting_sync_failed_webhook_event.rb', line 101
optional :sync_action, String, nil?: true
|
Instance Method Details
#to_hash ⇒ {
84
|
# File 'sig/orb/models/credit_note_accounting_sync_failed_webhook_event.rbs', line 84
def to_hash: -> {
|