public sealed class PriceInfo.Types.PriceRange : IMessage<PriceInfo.Types.PriceRange>, IEquatable<PriceInfo.Types.PriceRange>, IDeepCloneable<PriceInfo.Types.PriceRange>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class PriceInfo.Types.PriceRange.
The price range of all
[variant][google.cloud.retail.v2.Product.Type.VARIANT]
[Product][google.cloud.retail.v2.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2.Product.primary_product_id].
The inclusive
[Product.pricing_info.original_price][google.cloud.retail.v2.PriceInfo.original_price]
internal of all [variant][google.cloud.retail.v2.Product.Type.VARIANT]
[Product][google.cloud.retail.v2.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2.Product.primary_product_id].
The inclusive
[Product.pricing_info.price][google.cloud.retail.v2.PriceInfo.price]
interval of all [variant][google.cloud.retail.v2.Product.Type.VARIANT]
[Product][google.cloud.retail.v2.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2.Product.primary_product_id].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003ePriceInfo.Types.PriceRange\u003c/code\u003e class within the Google Cloud Retail v2 API, detailing its implementation and usage across various versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePriceInfo.Types.PriceRange\u003c/code\u003e class represents the price range of variant products that share the same \u003ccode\u003eprimary_product_id\u003c/code\u003e, and is shown to have been implemented in versions from 1.0.0 all the way to the latest 2.12.0 version.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, facilitating its use within the Google Protocol Buffers ecosystem.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003ePriceInfo.Types.PriceRange\u003c/code\u003e include \u003ccode\u003eOriginalPrice\u003c/code\u003e and \u003ccode\u003ePrice\u003c/code\u003e, both of which are of type \u003ccode\u003eInterval\u003c/code\u003e, which represent the inclusive intervals of the original and current prices for products within the specified range.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the class, the empty constructor \u003ccode\u003ePriceRange()\u003c/code\u003e and the one \u003ccode\u003ePriceRange(PriceInfo.Types.PriceRange other)\u003c/code\u003e, which takes in the class as a parameter.\u003c/p\u003e\n"]]],[],null,[]]