Class: Orb::Models::Customers::CreditListByExternalIDResponse::CreditAllocation
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/orb/models/customers/credit_list_by_external_id_response.rb,
sig/orb/models/customers/credit_list_by_external_id_response.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
174
|
# File 'sig/orb/models/customers/credit_list_by_external_id_response.rbs', line 174
def initialize: (
|
Instance Attribute Details
#allows_rollover ⇒ Boolean
204
|
# File 'lib/orb/models/customers/credit_list_by_external_id_response.rb', line 204
required :allows_rollover, Orb::Internal::Type::Boolean
|
#currency ⇒ String
209
|
# File 'lib/orb/models/customers/credit_list_by_external_id_response.rb', line 209
required :currency, String
|
214
|
# File 'lib/orb/models/customers/credit_list_by_external_id_response.rb', line 214
required :custom_expiration, -> { Orb::CustomExpiration }, nil?: true
|
226
227
|
# File 'lib/orb/models/customers/credit_list_by_external_id_response.rb', line 226
optional :filters,
-> { Orb::Internal::Type::ArrayOf[Orb::Models::Customers::CreditListByExternalIDResponse::CreditAllocation::Filter] }
|
#item_id ⇒ String
The ID of the catalog item this block was allocated from, derived from the
allocation's price.
221
|
# File 'lib/orb/models/customers/credit_list_by_external_id_response.rb', line 221
required :item_id, String
|
#license_type_id ⇒ String?
232
|
# File 'lib/orb/models/customers/credit_list_by_external_id_response.rb', line 232
optional :license_type_id, String, nil?: true
|
Instance Method Details
#to_hash ⇒ {
183
|
# File 'sig/orb/models/customers/credit_list_by_external_id_response.rbs', line 183
def to_hash: -> {
|