class Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange

Product price range when there are a range of prices for different variations of the same product.

Attributes

max[RW]

Required. The maximum product price. Corresponds to the JSON property `max` @return [Float]

min[RW]

Required. The minimum product price. Corresponds to the JSON property `min` @return [Float]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/recommendationengine_v1beta1/classes.rb, line 1276
def update!(**args)
  @max = args[:max] if args.key?(:max)
  @min = args[:min] if args.key?(:min)
end