class Google::Apis::ContentV2::Price

Attributes

currency[RW]

The currency of the price. Corresponds to the JSON property `currency` @return [String]

value[RW]

The price represented as a number. Corresponds to the JSON property `value` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2/classes.rb, line 8793
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2/classes.rb, line 8798
def update!(**args)
  @currency = args[:currency] if args.key?(:currency)
  @value = args[:value] if args.key?(:value)
end