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

Attributes

  • promotionAmount (Amount): [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. Defaults to: null.
  • promotionId (String.t): [required] ID of the promotion. Defaults to: null.

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: any()
}

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.