Reference documentation and code samples for the Google Shopping Merchant Products V1 Client class AutomatedDiscounts.
Information regarding Automated Discounts.
Generated from protobuf message google.shopping.merchant.products.v1.AutomatedDiscounts
Namespace
Google \ Shopping \ Merchant \ Products \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ prior_price
Google\Shopping\Type\Price
The price prior to the application of the first price reduction. Absent if the information about the prior price of the product is not available.
↳ prior_price_progressive
Google\Shopping\Type\Price
The price prior to the application of consecutive price reductions. Absent if the information about the prior price of the product is not available.
↳ gad_price
Google\Shopping\Type\Price
The current sale price for products with a price optimized using Google Automated Discounts (GAD). Absent if the information about the GAD_price of the product is not available.
getPriorPrice
The price prior to the application of the first price reduction.
Absent if the information about the prior price of the product is not available.
hasPriorPrice
clearPriorPrice
setPriorPrice
The price prior to the application of the first price reduction.
Absent if the information about the prior price of the product is not available.
$this
getPriorPriceProgressive
The price prior to the application of consecutive price reductions.
Absent if the information about the prior price of the product is not available.
hasPriorPriceProgressive
clearPriorPriceProgressive
setPriorPriceProgressive
The price prior to the application of consecutive price reductions.
Absent if the information about the prior price of the product is not available.
$this
getGadPrice
The current sale price for products with a price optimized using Google Automated Discounts (GAD). Absent if the information about the GAD_price of the product is not available.
hasGadPrice
clearGadPrice
setGadPrice
The current sale price for products with a price optimized using Google Automated Discounts (GAD). Absent if the information about the GAD_price of the product is not available.
$this