Class: Orb::Models::CustomerCreditLedgerIncrementedWebhookEvent::Properties::Block::CreditAllocation
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Orb::Models::CustomerCreditLedgerIncrementedWebhookEvent::Properties::Block::CreditAllocation
show all
- Defined in:
- lib/orb/models/customer_credit_ledger_incremented_webhook_event.rb,
sig/orb/models/customer_credit_ledger_incremented_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
236
|
# File 'sig/orb/models/customer_credit_ledger_incremented_webhook_event.rbs', line 236
def initialize: (
|
Instance Attribute Details
#allows_rollover ⇒ Boolean
296
|
# File 'lib/orb/models/customer_credit_ledger_incremented_webhook_event.rb', line 296
required :allows_rollover, Orb::Internal::Type::Boolean
|
#currency ⇒ String
301
|
# File 'lib/orb/models/customer_credit_ledger_incremented_webhook_event.rb', line 301
required :currency, String
|
306
|
# File 'lib/orb/models/customer_credit_ledger_incremented_webhook_event.rb', line 306
required :custom_expiration, -> { Orb::CustomExpiration }, nil?: true
|
318
319
|
# File 'lib/orb/models/customer_credit_ledger_incremented_webhook_event.rb', line 318
optional :filters,
-> { Orb::Internal::Type::ArrayOf[Orb::CustomerCreditLedgerIncrementedWebhookEvent::Properties::Block::CreditAllocation::Filter] }
|
#item_id ⇒ String
The ID of the catalog item this block was allocated from, derived from the
allocation's price.
313
|
# File 'lib/orb/models/customer_credit_ledger_incremented_webhook_event.rb', line 313
required :item_id, String
|
#license_type_id ⇒ String?
324
|
# File 'lib/orb/models/customer_credit_ledger_incremented_webhook_event.rb', line 324
optional :license_type_id, String, nil?: true
|
Instance Method Details
#to_hash ⇒ {
245
|
# File 'sig/orb/models/customer_credit_ledger_incremented_webhook_event.rbs', line 245
def to_hash: -> {
|