RepricingRuleRestriction class Null safety

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).

Constructors

RepricingRuleRestriction({RepricingRuleRestrictionBoundary? floor, bool? useAutoPricingMinPrice})
RepricingRuleRestriction.fromJson(Map json_)

Properties

floor RepricingRuleRestrictionBoundary?
The inclusive floor lower bound.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
useAutoPricingMinPrice bool?
If true, use the AUTO_PRICING_MIN_PRICE offer attribute as the lower bound of the rule.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited