RepricingRuleEligibleOfferMatcher class
Matcher that specifies eligible offers.
When the USE_FEED_ATTRIBUTE option is selected, only the repricing_rule_id attribute on the product feed is used to specify offer-rule mapping. When the CUSTOM_FILTER option is selected, only the *_matcher fields are used to filter the offers for offer-rule mapping. If the CUSTOM_FILTER option is selected, an offer needs to satisfy each custom filter matcher to be eligible for a rule. Size limit: the sum of the number of entries in all the matchers should not exceed 20. For example, there can be 15 product ids and 5 brands, but not 10 product ids and 11 brands.
Constructors
- RepricingRuleEligibleOfferMatcher.new({RepricingRuleEligibleOfferMatcherStringMatcher? brandMatcher, RepricingRuleEligibleOfferMatcherStringMatcher? itemGroupIdMatcher, String? matcherOption, RepricingRuleEligibleOfferMatcherStringMatcher? offerIdMatcher, bool? skipWhenOnPromotion})
- RepricingRuleEligibleOfferMatcher.fromJson(Map json_)
Properties
- brandMatcher ↔ RepricingRuleEligibleOfferMatcherStringMatcher?
-
Filter by the brand.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemGroupIdMatcher ↔ RepricingRuleEligibleOfferMatcherStringMatcher?
-
Filter by the item group id.
getter/setter pair
- matcherOption ↔ String?
-
Determines whether to use the custom matchers or the product feed
attribute "repricing_rule_id" to specify offer-rule mapping.
Possible string values are:
getter/setter pair
- offerIdMatcher ↔ RepricingRuleEligibleOfferMatcherStringMatcher?
-
Filter by the offer id.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skipWhenOnPromotion ↔ bool?
-
When true, the rule won't be applied to offers with active promotions.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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