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"]],[["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-03-21 UTC."],[[["This document provides reference documentation for the `PriceInfo.Types.PriceRange` class within the Google Cloud Retail v2 API, detailing its implementation and usage across various versions."],["The `PriceInfo.Types.PriceRange` class represents the price range of variant products that share the same `primary_product_id`, and is shown to have been implemented in versions from 1.0.0 all the way to the latest 2.12.0 version."],["The class inherits from `object` and implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, facilitating its use within the Google Protocol Buffers ecosystem."],["Key properties of `PriceInfo.Types.PriceRange` include `OriginalPrice` and `Price`, both of which are of type `Interval`, which represent the inclusive intervals of the original and current prices for products within the specified range."],["There are two constructors for the class, the empty constructor `PriceRange()` and the one `PriceRange(PriceInfo.Types.PriceRange other)`, which takes in the class as a parameter."]]],[]]