GoogleApi.Content.V21.Model.ProductSustainabilityIncentive (google_api_content v0.73.0)

View Source

Information regarding sustainability related incentive programs such as rebates or tax relief.

Attributes

  • amount (type: GoogleApi.Content.V21.Model.Price.t, default: nil) - Optional. The fixed amount of the incentive.
  • percentage (type: float(), default: nil) - Optional. The percentage of the sale price that the incentive is applied to.
  • type (type: String.t, default: nil) - Required. Sustainability incentive program.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Content.V21.Model.ProductSustainabilityIncentive{
  amount: GoogleApi.Content.V21.Model.Price.t() | nil,
  percentage: float() | nil,
  type: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.