class Google::Apis::RetailV2::GoogleCloudRetailV2PriceInfoPriceRange
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::RetailV2::GoogleCloudRetailV2Interval]
price[RW]
A floating point interval. Corresponds to the JSON property `price` @return [Google::Apis::RetailV2::GoogleCloudRetailV2Interval]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/retail_v2/classes.rb, line 1497 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_v2/classes.rb, line 1502 def update!(**args) @original_price = args[:original_price] if args.key?(:original_price) @price = args[:price] if args.key?(:price) end