GoogleApi.Content.V2.Model.Promotion (google_api_content v0.52.0) 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

Specs

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

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.