class Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice

Exact product price.

Attributes

display_price[RW]

Optional. Display price of the product. Corresponds to the JSON property `displayPrice` @return [Float]

original_price[RW]

Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'. Corresponds to the JSON property `originalPrice` @return [Float]

Public Class Methods

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