Class: Stigg::Models::V1Beta::Customers::EntitlementCheckResponse::Data::Credit::Currency
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stigg::Models::V1Beta::Customers::EntitlementCheckResponse::Data::Credit::Currency
- Defined in:
- lib/stigg/models/v1_beta/customers/entitlement_check_response.rb,
sig/stigg/models/v1_beta/customers/entitlement_check_response.rbs
Overview
Instance Attribute Summary collapse
-
#currency_id ⇒ String
The unique identifier of the custom currency.
-
#description ⇒ String?
A description of the currency.
-
#display_name ⇒ String
The display name of the currency.
-
#metadata ⇒ Hash{Symbol=>String}?
Additional metadata associated with the currency.
-
#unit_plural ⇒ String?
The plural form of the currency unit.
-
#unit_singular ⇒ String?
The singular form of the currency unit.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], 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
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
412 |
# File 'sig/stigg/models/v1_beta/customers/entitlement_check_response.rbs', line 412
def initialize: (
|
Instance Attribute Details
#currency_id ⇒ String
The unique identifier of the custom currency.
450 |
# File 'lib/stigg/models/v1_beta/customers/entitlement_check_response.rb', line 450 required :currency_id, String, api_name: :currencyId |
#description ⇒ String?
A description of the currency.
462 |
# File 'lib/stigg/models/v1_beta/customers/entitlement_check_response.rb', line 462 optional :description, String, nil?: true |
#display_name ⇒ String
The display name of the currency.
456 |
# File 'lib/stigg/models/v1_beta/customers/entitlement_check_response.rb', line 456 required :display_name, String, api_name: :displayName |
#metadata ⇒ Hash{Symbol=>String}?
Additional metadata associated with the currency.
468 |
# File 'lib/stigg/models/v1_beta/customers/entitlement_check_response.rb', line 468 optional :metadata, Stigg::Internal::Type::HashOf[String], nil?: true |
#unit_plural ⇒ String?
The plural form of the currency unit.
474 |
# File 'lib/stigg/models/v1_beta/customers/entitlement_check_response.rb', line 474 optional :unit_plural, String, api_name: :unitPlural, nil?: true |
#unit_singular ⇒ String?
The singular form of the currency unit.
480 |
# File 'lib/stigg/models/v1_beta/customers/entitlement_check_response.rb', line 480 optional :unit_singular, String, api_name: :unitSingular, nil?: true |
Instance Method Details
#to_hash ⇒ {
421 |
# File 'sig/stigg/models/v1_beta/customers/entitlement_check_response.rbs', line 421
def to_hash: -> {
|