Class: Orb::Models::Customers::CreditListResponse::CreditAllocation
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
174
|
# File 'sig/orb/models/customers/credit_list_response.rbs', line 174
def initialize: (
|
Instance Attribute Details
#allows_rollover ⇒ Boolean
202
|
# File 'lib/orb/models/customers/credit_list_response.rb', line 202
required :allows_rollover, Orb::Internal::Type::Boolean
|
#currency ⇒ String
207
|
# File 'lib/orb/models/customers/credit_list_response.rb', line 207
required :currency, String
|
212
|
# File 'lib/orb/models/customers/credit_list_response.rb', line 212
required :custom_expiration, -> { Orb::CustomExpiration }, nil?: true
|
224
225
|
# File 'lib/orb/models/customers/credit_list_response.rb', line 224
optional :filters,
-> { Orb::Internal::Type::ArrayOf[Orb::Models::Customers::CreditListResponse::CreditAllocation::Filter] }
|
#item_id ⇒ String
The ID of the catalog item this block was allocated from, derived from the
allocation's price.
219
|
# File 'lib/orb/models/customers/credit_list_response.rb', line 219
required :item_id, String
|
#license_type_id ⇒ String?
230
|
# File 'lib/orb/models/customers/credit_list_response.rb', line 230
optional :license_type_id, String, nil?: true
|
Instance Method Details
#to_hash ⇒ {
183
|
# File 'sig/orb/models/customers/credit_list_response.rbs', line 183
def to_hash: -> {
|