class Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPriceInfoPriceRange

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::RetailV2beta::GoogleCloudRetailV2betaInterval]

price[RW]

A floating point interval. Corresponds to the JSON property `price` @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaInterval]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/retail_v2beta/classes.rb, line 2379
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_v2beta/classes.rb, line 2384
def update!(**args)
  @original_price = args[:original_price] if args.key?(:original_price)
  @price = args[:price] if args.key?(:price)
end