Class: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Entitlement::UnionObjectVariant1::Currency

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/stigg/models/v1/subscription_provision_response.rb

Overview

See Also:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Stigg::Internal::Type::BaseModel

Instance Attribute Details

#currency_idString

The unique identifier of the custom currency.

Returns:

  • (String)


430
# File 'lib/stigg/models/v1/subscription_provision_response.rb', line 430

required :currency_id, String, api_name: :currencyId

#descriptionString?

A description of the currency.

Returns:

  • (String, nil)


442
# File 'lib/stigg/models/v1/subscription_provision_response.rb', line 442

optional :description, String, nil?: true

#display_nameString

The display name of the currency.

Returns:

  • (String)


436
# File 'lib/stigg/models/v1/subscription_provision_response.rb', line 436

required :display_name, String, api_name: :displayName

#metadataHash{Symbol=>String}?

Additional metadata associated with the currency.

Returns:

  • (Hash{Symbol=>String}, nil)


448
# File 'lib/stigg/models/v1/subscription_provision_response.rb', line 448

optional :metadata, Stigg::Internal::Type::HashOf[String], nil?: true

#unit_pluralString?

The plural form of the currency unit.

Returns:

  • (String, nil)


454
# File 'lib/stigg/models/v1/subscription_provision_response.rb', line 454

optional :unit_plural, String, api_name: :unitPlural, nil?: true

#unit_singularString?

The singular form of the currency unit.

Returns:

  • (String, nil)


460
# File 'lib/stigg/models/v1/subscription_provision_response.rb', line 460

optional :unit_singular, String, api_name: :unitSingular, nil?: true