GoogleApi.Content.V21.Model.RepricingRule (google_api_content v0.52.0) View Source
Represents a repricing rule. A repricing rule is used by shopping serving to adjust transactable offer prices if conditions are met. Next ID: 24
Attributes
-
cogsBasedRule
(type:GoogleApi.Content.V21.Model.RepricingRuleCostOfGoodsSaleRule.t
, default:nil
) - The rule definition for TYPE_COGS_BASED. Required when the rule type is TYPE_COGS_BASED. -
countryCode
(type:String.t
, default:nil
) - Required. Immutable. CLDR country code (e.g. "US"). -
effectiveTimePeriod
(type:GoogleApi.Content.V21.Model.RepricingRuleEffectiveTime.t
, default:nil
) - Required. Time period when the rule should take effect. -
eligibleOfferMatcher
(type:GoogleApi.Content.V21.Model.RepricingRuleEligibleOfferMatcher.t
, default:nil
) - Required. Match criteria for the eligible offers. -
languageCode
(type:String.t
, default:nil
) - Required. Immutable. The two-letter ISO 639-1 language code associated with the repricing rule. -
merchantId
(type:String.t
, default:nil
) - Output only. Immutable. Merchant that owns the repricing rule. -
paused
(type:boolean()
, default:nil
) - 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. -
restriction
(type:GoogleApi.Content.V21.Model.RepricingRuleRestriction.t
, default:nil
) - Required. Restriction of the rule appliance. -
ruleId
(type:String.t
, default:nil
) - Output only. Immutable. The ID to uniquely identify each repricing rule. -
statsBasedRule
(type:GoogleApi.Content.V21.Model.RepricingRuleStatsBasedRule.t
, default:nil
) - The rule definition for TYPE_STATS_BASED. Required when the rule type is TYPE_STATS_BASED. -
title
(type:String.t
, default:nil
) - The title for the rule. -
type
(type:String.t
, default:nil
) - Required. Immutable. The type of the rule.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Content.V21.Model.RepricingRule{ cogsBasedRule: GoogleApi.Content.V21.Model.RepricingRuleCostOfGoodsSaleRule.t(), countryCode: String.t(), effectiveTimePeriod: GoogleApi.Content.V21.Model.RepricingRuleEffectiveTime.t(), eligibleOfferMatcher: GoogleApi.Content.V21.Model.RepricingRuleEligibleOfferMatcher.t(), languageCode: String.t(), merchantId: String.t(), paused: boolean(), restriction: GoogleApi.Content.V21.Model.RepricingRuleRestriction.t(), ruleId: String.t(), statsBasedRule: GoogleApi.Content.V21.Model.RepricingRuleStatsBasedRule.t(), title: String.t(), type: String.t() }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.