class Google::Apis::GamesConfigurationV1configuration::GamesNumberFormatConfiguration
A number format resource.
Attributes
currency_code[RW]
The curreny code string. Only used for CURRENCY format type. Corresponds to the JSON property `currencyCode` @return [String]
num_decimal_places[RW]
The number of decimal places for number. Only used for NUMERIC format type. Corresponds to the JSON property `numDecimalPlaces` @return [Fixnum]
number_format_type[RW]
The formatting for the number. Corresponds to the JSON property `numberFormatType` @return [String]
suffix[RW]
A number affix resource. Corresponds to the JSON property `suffix` @return [Google::Apis::GamesConfigurationV1configuration::GamesNumberAffixConfiguration]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/games_configuration_v1configuration/classes.rb, line 242 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/games_configuration_v1configuration/classes.rb, line 247 def update!(**args) @currency_code = args[:currency_code] if args.key?(:currency_code) @num_decimal_places = args[:num_decimal_places] if args.key?(:num_decimal_places) @number_format_type = args[:number_format_type] if args.key?(:number_format_type) @suffix = args[:suffix] if args.key?(:suffix) end