google_api_content v0.4.0 GoogleApi.Content.V2.Model.LoyaltyPoints View Source

Attributes

  • name (String.t): Name of loyalty points program. It is recommended to limit the name to 12 full-width characters or 24 Roman characters. Defaults to: null.
  • pointsValue (String.t): The retailer's loyalty points in absolute value. Defaults to: null.
  • ratio (float()): 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. 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.LoyaltyPoints{
  name: any(),
  pointsValue: any(),
  ratio: 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.