GoogleApi.Content.V21.Model.RepricingRuleStatsBasedRule (google_api_content v0.52.0) View Source

Definition of stats based rule.

Attributes

  • percentageDelta (type: integer(), default: nil) - The percent change against the price target. Valid from 0 to 100 inclusively.
  • priceDelta (type: String.t, default: nil) - The price delta against the above price target. A positive value means the price should be adjusted to be above statistical measure, and a negative value means below. Currency code must not be included.

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.RepricingRuleStatsBasedRule{
  percentageDelta: integer(),
  priceDelta: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.