Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::PriceInfo::PriceRange.
The price range of all variant Product having the same Product.primary_product_id.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#original_price
def original_price() -> ::Google::Cloud::Retail::V2::Interval
Returns
- (::Google::Cloud::Retail::V2::Interval) — The inclusive Product.pricing_info.original_price internal of all variant Product having the same Product.primary_product_id.
#original_price=
def original_price=(value) -> ::Google::Cloud::Retail::V2::Interval
Parameter
- value (::Google::Cloud::Retail::V2::Interval) — The inclusive Product.pricing_info.original_price internal of all variant Product having the same Product.primary_product_id.
Returns
- (::Google::Cloud::Retail::V2::Interval) — The inclusive Product.pricing_info.original_price internal of all variant Product having the same Product.primary_product_id.
#price
def price() -> ::Google::Cloud::Retail::V2::Interval
Returns
- (::Google::Cloud::Retail::V2::Interval) — The inclusive Product.pricing_info.price interval of all variant Product having the same Product.primary_product_id.
#price=
def price=(value) -> ::Google::Cloud::Retail::V2::Interval
Parameter
- value (::Google::Cloud::Retail::V2::Interval) — The inclusive Product.pricing_info.price interval of all variant Product having the same Product.primary_product_id.
Returns
- (::Google::Cloud::Retail::V2::Interval) — The inclusive Product.pricing_info.price interval of all variant Product having the same Product.primary_product_id.