class Google::Apis::GanV1beta1::Money
An ApiMoneyProto.
Attributes
amount[RW]
The amount of money. Corresponds to the JSON property `amount` @return [Float]
currency_code[RW]
The 3-letter code of the currency in question. Corresponds to the JSON property `currencyCode` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/gan_v1beta1/classes.rb, line 1239 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/gan_v1beta1/classes.rb, line 1244 def update!(**args) @amount = args[:amount] if args.key?(:amount) @currency_code = args[:currency_code] if args.key?(:currency_code) end