Recommendations AI V1beta1 API - Class Google::Cloud::RecommendationEngine::V1beta1::ProductCatalogItem::ExactPrice (v0.6.1)

Reference documentation and code samples for the Recommendations AI V1beta1 API class Google::Cloud::RecommendationEngine::V1beta1::ProductCatalogItem::ExactPrice.

Exact product price.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#display_price

def display_price() -> ::Float
Returns
  • (::Float) — Optional. Display price of the product.

#display_price=

def display_price=(value) -> ::Float
Parameter
  • value (::Float) — Optional. Display price of the product.
Returns
  • (::Float) — Optional. Display price of the product.

#original_price

def original_price() -> ::Float
Returns
  • (::Float) — Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.

#original_price=

def original_price=(value) -> ::Float
Parameter
  • value (::Float) — Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.
Returns
  • (::Float) — Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.