class Google::Apis::AndroidpublisherV3::Price
Definition of a price, i.e. currency and units.
Attributes
currency[RW]
3 letter Currency code, as defined by ISO 4217. See java/com/google/common/ money/CurrencyCode.java Corresponds to the JSON property `currency` @return [String]
price_micros[RW]
Price
in 1/million of the currency base unit, represented as a string. Corresponds to the JSON property `priceMicros` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/androidpublisher_v3/classes.rb, line 1132 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/androidpublisher_v3/classes.rb, line 1137 def update!(**args) @currency = args[:currency] if args.key?(:currency) @price_micros = args[:price_micros] if args.key?(:price_micros) end