[[["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,["# Google Cloud Retail V2 Client - Class PriceRange (2.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.1 (latest)](/php/docs/reference/cloud-retail/latest/V2.PriceInfo.PriceRange)\n- [2.3.0](/php/docs/reference/cloud-retail/2.3.0/V2.PriceInfo.PriceRange)\n- [2.2.1](/php/docs/reference/cloud-retail/2.2.1/V2.PriceInfo.PriceRange)\n- [2.1.3](/php/docs/reference/cloud-retail/2.1.3/V2.PriceInfo.PriceRange)\n- [2.0.0](/php/docs/reference/cloud-retail/2.0.0/V2.PriceInfo.PriceRange)\n- [1.7.0](/php/docs/reference/cloud-retail/1.7.0/V2.PriceInfo.PriceRange)\n- [1.6.4](/php/docs/reference/cloud-retail/1.6.4/V2.PriceInfo.PriceRange)\n- [1.5.0](/php/docs/reference/cloud-retail/1.5.0/V2.PriceInfo.PriceRange)\n- [1.4.2](/php/docs/reference/cloud-retail/1.4.2/V2.PriceInfo.PriceRange)\n- [1.3.1](/php/docs/reference/cloud-retail/1.3.1/V2.PriceInfo.PriceRange)\n- [1.2.1](/php/docs/reference/cloud-retail/1.2.1/V2.PriceInfo.PriceRange)\n- [1.1.1](/php/docs/reference/cloud-retail/1.1.1/V2.PriceInfo.PriceRange)\n- [1.0.1](/php/docs/reference/cloud-retail/1.0.1/V2.PriceInfo.PriceRange) \nReference documentation and code samples for the Google Cloud Retail V2 Client class PriceRange.\n\nThe price range of all\n[variant](/php/docs/reference/cloud-retail/latest/V2.Product.Type#_Google_Cloud_Retail_V2_Product_Type__VARIANT)\n[Product](/php/docs/reference/cloud-retail/latest/V2.Product) having the same\n[Product.primary_product_id](/php/docs/reference/cloud-retail/latest/V2.Product#_Google_Cloud_Retail_V2_Product__getPrimaryProductId__).\n\nGenerated from protobuf message `google.cloud.retail.v2.PriceInfo.PriceRange`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Retail \\\\ V2 \\\\ PriceInfo\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPrice\n\nThe inclusive\n[Product.pricing_info.price](/php/docs/reference/cloud-retail/latest/V2.PriceInfo#_Google_Cloud_Retail_V2_PriceInfo__getPrice__)\ninterval of all [variant](/php/docs/reference/cloud-retail/latest/V2.Product.Type#_Google_Cloud_Retail_V2_Product_Type__VARIANT)\n[Product](/php/docs/reference/cloud-retail/latest/V2.Product) having the same\n[Product.primary_product_id](/php/docs/reference/cloud-retail/latest/V2.Product#_Google_Cloud_Retail_V2_Product__getPrimaryProductId__).\n\n### hasPrice\n\n### clearPrice\n\n### setPrice\n\nThe inclusive\n[Product.pricing_info.price](/php/docs/reference/cloud-retail/latest/V2.PriceInfo#_Google_Cloud_Retail_V2_PriceInfo__getPrice__)\ninterval of all [variant](/php/docs/reference/cloud-retail/latest/V2.Product.Type#_Google_Cloud_Retail_V2_Product_Type__VARIANT)\n[Product](/php/docs/reference/cloud-retail/latest/V2.Product) having the same\n[Product.primary_product_id](/php/docs/reference/cloud-retail/latest/V2.Product#_Google_Cloud_Retail_V2_Product__getPrimaryProductId__).\n\n### getOriginalPrice\n\nThe inclusive\n[Product.pricing_info.original_price](/php/docs/reference/cloud-retail/latest/V2.PriceInfo#_Google_Cloud_Retail_V2_PriceInfo__getOriginalPrice__)\ninternal of all [variant](/php/docs/reference/cloud-retail/latest/V2.Product.Type#_Google_Cloud_Retail_V2_Product_Type__VARIANT)\n[Product](/php/docs/reference/cloud-retail/latest/V2.Product) having the same\n[Product.primary_product_id](/php/docs/reference/cloud-retail/latest/V2.Product#_Google_Cloud_Retail_V2_Product__getPrimaryProductId__).\n\n### hasOriginalPrice\n\n### clearOriginalPrice\n\n### setOriginalPrice\n\nThe inclusive\n[Product.pricing_info.original_price](/php/docs/reference/cloud-retail/latest/V2.PriceInfo#_Google_Cloud_Retail_V2_PriceInfo__getOriginalPrice__)\ninternal of all [variant](/php/docs/reference/cloud-retail/latest/V2.Product.Type#_Google_Cloud_Retail_V2_Product_Type__VARIANT)\n[Product](/php/docs/reference/cloud-retail/latest/V2.Product) having the same\n[Product.primary_product_id](/php/docs/reference/cloud-retail/latest/V2.Product#_Google_Cloud_Retail_V2_Product__getPrimaryProductId__)."]]