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

Specifications related to the Checkout URL. The UriTemplate is of the form https://www.mystore.com/checkout?item_id={id} where {id} will be automatically replaced with data from the merchant account with this attribute offer_id

Attributes

  • cartUriTemplate (type: String.t, default: nil) - URL template when the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart.
  • checkoutUriTemplate (type: String.t, default: nil) - URL template when the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.UrlSettings{
  cartUriTemplate: String.t() | nil,
  checkoutUriTemplate: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.