RepricingRule class

Deprecated: New merchants can't start using this resource.

Represents a repricing rule. A repricing rule is used by shopping serving to adjust transactable offer prices if conditions are met.

Constructors

RepricingRule({RepricingRuleCostOfGoodsSaleRule? cogsBasedRule, String? countryCode, RepricingRuleEffectiveTime? effectiveTimePeriod, RepricingRuleEligibleOfferMatcher? eligibleOfferMatcher, String? languageCode, String? merchantId, bool? paused, RepricingRuleRestriction? restriction, String? ruleId, RepricingRuleStatsBasedRule? statsBasedRule, String? title, String? type})
RepricingRule.fromJson(Map json_)

Properties

cogsBasedRule RepricingRuleCostOfGoodsSaleRule?
The rule definition for TYPE_COGS_BASED.
getter/setter pair
countryCode String?
CLDR country code (for example, "US").
getter/setter pair
effectiveTimePeriod RepricingRuleEffectiveTime?
Time period when the rule should take effect.
getter/setter pair
eligibleOfferMatcher RepricingRuleEligibleOfferMatcher?
Match criteria for the eligible offers.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
languageCode String?
The two-letter ISO 639-1 language code associated with the repricing rule.
getter/setter pair
merchantId String?
Merchant that owns the repricing rule.
getter/setter pair
paused bool?
Represents whether a rule is paused.
getter/setter pair
restriction RepricingRuleRestriction?
Restriction of the rule appliance.
getter/setter pair
ruleId String?
The ID to uniquely identify each repricing rule.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statsBasedRule RepricingRuleStatsBasedRule?
The rule definition for TYPE_STATS_BASED.
getter/setter pair
title String?
The title for the rule.
getter/setter pair
type String?
The type of the rule.
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