RepricingRuleEligibleOfferMatcher class Null safety

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({RepricingRuleEligibleOfferMatcherStringMatcher? brandMatcher, RepricingRuleEligibleOfferMatcherStringMatcher? itemGroupIdMatcher, String? matcherOption, RepricingRuleEligibleOfferMatcherStringMatcher? offerIdMatcher, bool? skipWhenOnPromotion})
RepricingRuleEligibleOfferMatcher.fromJson(Map json_)

Properties

brandMatcher RepricingRuleEligibleOfferMatcherStringMatcher?
Filter by the brand.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
itemGroupIdMatcher RepricingRuleEligibleOfferMatcherStringMatcher?
Filter by the item group id.
read / write
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:
read / write
offerIdMatcher RepricingRuleEligibleOfferMatcherStringMatcher?
Filter by the offer id.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
skipWhenOnPromotion bool?
When true, the rule won't be applied to offers with active promotions.
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