Class: Stigg::Models::V1::Events::CreditGetUsageResponse::Data::Currency

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/stigg/models/v1/events/credit_get_usage_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 currency identifier

Returns:

  • (String)


48
# File 'lib/stigg/models/v1/events/credit_get_usage_response.rb', line 48

required :currency_id, String, api_name: :currencyId

#display_nameString

The display name of the currency

Returns:

  • (String)


54
# File 'lib/stigg/models/v1/events/credit_get_usage_response.rb', line 54

required :display_name, String, api_name: :displayName

#pluralString?

Plural unit label

Returns:

  • (String, nil)


60
# File 'lib/stigg/models/v1/events/credit_get_usage_response.rb', line 60

required :plural, String, nil?: true

#singularString?

Singular unit label

Returns:

  • (String, nil)


66
# File 'lib/stigg/models/v1/events/credit_get_usage_response.rb', line 66

required :singular, String, nil?: true

#symbolString?

The currency symbol

Returns:

  • (String, nil)


72
# File 'lib/stigg/models/v1/events/credit_get_usage_response.rb', line 72

required :symbol, String, nil?: true