google_api_content v0.22.0 GoogleApi.Content.V2.Model.Promotion View Source

Attributes

  • promotionAmount (type: GoogleApi.Content.V2.Model.Amount.t, default: nil) - [required] Amount of the promotion. The values here are the promotion applied to the unit price pretax and to the total of the tax amounts.
  • promotionId (type: String.t, default: nil) - [required] ID of the promotion.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Content.V2.Model.Promotion{
  promotionAmount: GoogleApi.Content.V2.Model.Amount.t(),
  promotionId: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.