class Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPriceInfoPriceRange
The price range of all variant Product having the same Product. primary_product_id.
Attributes
original_price[RW]
A floating point interval. Corresponds to the JSON property `originalPrice` @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval]
price[RW]
A floating point interval. Corresponds to the JSON property `price` @return [Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaInterval]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/retail_v2alpha/classes.rb, line 2017 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/retail_v2alpha/classes.rb, line 2022 def update!(**args) @original_price = args[:original_price] if args.key?(:original_price) @price = args[:price] if args.key?(:price) end