View Source GoogleApi.Content.V21.Model.LoyaltyPoints (google_api_content v0.67.1)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.LoyaltyPoints{
  name: String.t() | nil,
  pointsValue: String.t() | nil,
  ratio: float() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.