GoogleApi.Content.V2.Model.LoyaltyPoints (google_api_content v0.52.0) View Source

Attributes

  • name (type: String.t, default: nil) - Name of loyalty points program. It is recommended to limit the name to 12 full-width characters or 24 Roman characters.
  • pointsValue (type: String.t, default: nil) - The retailer's loyalty points in absolute value.
  • ratio (type: float(), default: nil) - The ratio of a point when converted to currency. Google assumes currency based on Merchant Center settings. If ratio is left out, it defaults to 1.0.

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.LoyaltyPoints{
  name: String.t(),
  pointsValue: String.t(),
  ratio: float()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.