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

A repricing rule that changes the sale price based on cost of goods sale.

Attributes

  • percentageDelta (type: integer(), default: nil) - The percent change against the COGS. Ex: 20 would mean to set the adjusted price 1.2X of the COGS data.
  • priceDelta (type: String.t, default: nil) - The price delta against the COGS. E.g. 2 means $2 more of the COGS.

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

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.