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
defdisplay_price()->::Float
Returns
(::Float) — Optional. Display price of the product.
#display_price=
defdisplay_price=(value)->::Float
Parameter
value (::Float) — Optional. Display price of the product.
Returns
(::Float) — Optional. Display price of the product.
#original_price
deforiginal_price()->::Float
Returns
(::Float) — Optional. Price of the product without any discount. If zero, by default
set to be the 'displayPrice'.
#original_price=
deforiginal_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'.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Recommendations AI V1beta1 API - Class Google::Cloud::RecommendationEngine::V1beta1::ProductCatalogItem::ExactPrice (v0.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.13.0 (latest)](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/latest/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-ExactPrice)\n- [0.12.1](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.12.1/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-ExactPrice)\n- [0.11.0](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.11.0/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-ExactPrice)\n- [0.10.0](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.10.0/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-ExactPrice)\n- [0.9.2](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.9.2/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-ExactPrice)\n- [0.8.2](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.8.2/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-ExactPrice)\n- [0.7.0](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.7.0/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-ExactPrice)\n- [0.6.1](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.6.1/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-ExactPrice)\n- [0.5.0](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.5.0/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-ExactPrice)\n- [0.4.1](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.4.1/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-ExactPrice)\n- [0.3.7](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.3.7/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-ExactPrice) \nReference documentation and code samples for the Recommendations AI V1beta1 API class Google::Cloud::RecommendationEngine::V1beta1::ProductCatalogItem::ExactPrice.\n\nExact product price. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #display_price\n\n def display_price() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- Optional. Display price of the product.\n\n### #display_price=\n\n def display_price=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- Optional. Display price of the product. \n**Returns**\n\n- (::Float) --- Optional. Display price of the product.\n\n### #original_price\n\n def original_price() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.\n\n### #original_price=\n\n def original_price=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'. \n**Returns**\n\n- (::Float) --- Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'."]]