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

Response message for Promotions.List method.

Attributes

  • nextPageToken (type: String.t, default: nil) - A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
  • promotions (type: list(GoogleApi.Content.V21.Model.Promotion.t), default: nil) - List of all available promotions for the merchant.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.ListPromotionResponse{
  nextPageToken: String.t() | nil,
  promotions: [GoogleApi.Content.V21.Model.Promotion.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.