Class: Stigg::Models::V1::CustomerCheckEntitlementResponse::Data::Credit::Currency
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stigg::Models::V1::CustomerCheckEntitlementResponse::Data::Credit::Currency
- Defined in:
- lib/stigg/models/v1/customer_check_entitlement_response.rb
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(currency_id:, display_name:, description: nil, metadata: nil, unit_plural: nil, unit_singular: nil) ⇒ Object
constructor
The currency associated with a credit entitlement.
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(currency_id:, display_name:, description: nil, metadata: nil, unit_plural: nil, unit_singular: nil) ⇒ Object
The currency associated with a credit entitlement.
|
|
# File 'lib/stigg/models/v1/customer_check_entitlement_response.rb', line 386
|
Instance Attribute Details
#currency_id ⇒ String
The unique identifier of the custom currency.
354 |
# File 'lib/stigg/models/v1/customer_check_entitlement_response.rb', line 354 required :currency_id, String, api_name: :currencyId |
#description ⇒ String?
A description of the currency.
366 |
# File 'lib/stigg/models/v1/customer_check_entitlement_response.rb', line 366 optional :description, String, nil?: true |
#display_name ⇒ String
The display name of the currency.
360 |
# File 'lib/stigg/models/v1/customer_check_entitlement_response.rb', line 360 required :display_name, String, api_name: :displayName |
#metadata ⇒ Hash{Symbol=>String}?
Additional metadata associated with the currency.
372 |
# File 'lib/stigg/models/v1/customer_check_entitlement_response.rb', line 372 optional :metadata, Stigg::Internal::Type::HashOf[String], nil?: true |
#unit_plural ⇒ String?
The plural form of the currency unit.
378 |
# File 'lib/stigg/models/v1/customer_check_entitlement_response.rb', line 378 optional :unit_plural, String, api_name: :unitPlural, nil?: true |
#unit_singular ⇒ String?
The singular form of the currency unit.
384 |
# File 'lib/stigg/models/v1/customer_check_entitlement_response.rb', line 384 optional :unit_singular, String, api_name: :unitSingular, nil?: true |