Show / Hide Table of Contents

Class RepricingRule

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

Inheritance
System.Object
RepricingRule
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ShoppingContent.v2_1.Data
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class RepricingRule : IDirectResponseSchema

Properties

CogsBasedRule

The rule definition for TYPE_COGS_BASED. Required when the rule type is TYPE_COGS_BASED.

Declaration
[JsonProperty("cogsBasedRule")]
public virtual RepricingRuleCostOfGoodsSaleRule CogsBasedRule { get; set; }
Property Value
Type Description
RepricingRuleCostOfGoodsSaleRule

CountryCode

Required. Immutable. CLDR country code (e.g. "US").

Declaration
[JsonProperty("countryCode")]
public virtual string CountryCode { get; set; }
Property Value
Type Description
System.String

EffectiveTimePeriod

Required. Time period when the rule should take effect.

Declaration
[JsonProperty("effectiveTimePeriod")]
public virtual RepricingRuleEffectiveTime EffectiveTimePeriod { get; set; }
Property Value
Type Description
RepricingRuleEffectiveTime

EligibleOfferMatcher

Required. Match criteria for the eligible offers.

Declaration
[JsonProperty("eligibleOfferMatcher")]
public virtual RepricingRuleEligibleOfferMatcher EligibleOfferMatcher { get; set; }
Property Value
Type Description
RepricingRuleEligibleOfferMatcher

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

LanguageCode

Required. Immutable. The two-letter ISO 639-1 language code associated with the repricing rule.

Declaration
[JsonProperty("languageCode")]
public virtual string LanguageCode { get; set; }
Property Value
Type Description
System.String

MerchantId

Output only. Immutable. Merchant that owns the repricing rule.

Declaration
[JsonProperty("merchantId")]
public virtual long? MerchantId { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

Paused

Represents whether a rule is paused. A paused rule will behave like a non-paused rule within CRUD operations, with the major difference that a paused rule will not be evaluated and will have no effect on offers.

Declaration
[JsonProperty("paused")]
public virtual bool? Paused { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Restriction

Required. Restriction of the rule appliance.

Declaration
[JsonProperty("restriction")]
public virtual RepricingRuleRestriction Restriction { get; set; }
Property Value
Type Description
RepricingRuleRestriction

RuleId

Output only. Immutable. The ID to uniquely identify each repricing rule.

Declaration
[JsonProperty("ruleId")]
public virtual string RuleId { get; set; }
Property Value
Type Description
System.String

StatsBasedRule

The rule definition for TYPE_STATS_BASED. Required when the rule type is TYPE_STATS_BASED.

Declaration
[JsonProperty("statsBasedRule")]
public virtual RepricingRuleStatsBasedRule StatsBasedRule { get; set; }
Property Value
Type Description
RepricingRuleStatsBasedRule

Title

The title for the rule.

Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type Description
System.String

Type

Required. Immutable. The type of the rule.

Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
In This Article
Back to top