Class: Orb::Models::CreditBlockRetrieveResponse::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
178
|
# File 'sig/orb/models/credit_block_retrieve_response.rbs', line 178
def initialize: (
|
Instance Attribute Details
#allows_rollover ⇒ Boolean
201
|
# File 'lib/orb/models/credit_block_retrieve_response.rb', line 201
required :allows_rollover, Orb::Internal::Type::Boolean
|
#currency ⇒ String
206
|
# File 'lib/orb/models/credit_block_retrieve_response.rb', line 206
required :currency, String
|
211
|
# File 'lib/orb/models/credit_block_retrieve_response.rb', line 211
required :custom_expiration, -> { Orb::CustomExpiration }, nil?: true
|
223
224
|
# File 'lib/orb/models/credit_block_retrieve_response.rb', line 223
optional :filters,
-> { Orb::Internal::Type::ArrayOf[Orb::Models::CreditBlockRetrieveResponse::CreditAllocation::Filter] }
|
#item_id ⇒ String
The ID of the catalog item this block was allocated from, derived from the
allocation's price.
218
|
# File 'lib/orb/models/credit_block_retrieve_response.rb', line 218
required :item_id, String
|
#license_type_id ⇒ String?
229
|
# File 'lib/orb/models/credit_block_retrieve_response.rb', line 229
optional :license_type_id, String, nil?: true
|
Instance Method Details
#to_hash ⇒ {
187
|
# File 'sig/orb/models/credit_block_retrieve_response.rbs', line 187
def to_hash: -> {
|