Class RepricingRuleRestriction
Definition of a rule restriction. At least one of the following needs to be true: (1) use_auto_pricing_min_price
is true (2) floor.price_delta exists (3) floor.percentage_delta exists If floor.price_delta and
floor.percentage_delta are both set on a rule, the highest value will be chosen by the Repricer. In other words,
for a product with a price of $50, if the floor.percentage_delta
is "-10" and the floor.price_delta is "-12",
the offer price will only be lowered $5 (10% lower than the original offer price).
Implements
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1.Data
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class RepricingRuleRestriction : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Floor
The inclusive floor lower bound. The repricing rule only applies when new price >= floor.
Declaration
[JsonProperty("floor")]
public virtual RepricingRuleRestrictionBoundary Floor { get; set; }
Property Value
Type | Description |
---|---|
RepricingRuleRestrictionBoundary |
UseAutoPricingMinPrice
If true, use the AUTO_PRICING_MIN_PRICE offer attribute as the lower bound of the rule. If
use_auto_pricing_min_price is true, then only offers with AUTO_PRICING_MIN_PRICE
existing on the offer
will get Repricer treatment, even if a floor value is set on the rule. Also, if use_auto_pricing_min_price
is true, the floor restriction will be ignored.
Declaration
[JsonProperty("useAutoPricingMinPrice")]
public virtual bool? UseAutoPricingMinPrice { get; set; }
Property Value
Type | Description |
---|---|
bool? |