Class: Orb::Models::CreditBlockAccountingSyncSucceededWebhookEvent::Block::CreditAllocation
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rb,
sig/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rbs
Overview
Defined Under Namespace
Classes: Filter
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
301
|
# File 'sig/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rbs', line 301
def initialize: (
|
Instance Attribute Details
#allows_rollover ⇒ Boolean
337
|
# File 'lib/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rb', line 337
required :allows_rollover, Orb::Internal::Type::Boolean
|
#currency ⇒ String
342
|
# File 'lib/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rb', line 342
required :currency, String
|
347
|
# File 'lib/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rb', line 347
required :custom_expiration, -> { Orb::CustomExpiration }, nil?: true
|
359
360
|
# File 'lib/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rb', line 359
optional :filters,
-> { Orb::Internal::Type::ArrayOf[Orb::CreditBlockAccountingSyncSucceededWebhookEvent::Block::CreditAllocation::Filter] }
|
#item_id ⇒ String
The ID of the catalog item this block was allocated from, derived from the
allocation's price.
354
|
# File 'lib/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rb', line 354
required :item_id, String
|
#license_type_id ⇒ String?
365
|
# File 'lib/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rb', line 365
optional :license_type_id, String, nil?: true
|
Instance Method Details
#to_hash ⇒ {
310
|
# File 'sig/orb/models/credit_block_accounting_sync_succeeded_webhook_event.rbs', line 310
def to_hash: -> {
|