View Source GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse (google_api_payments_reseller_subscription v0.4.0)

Response that contains the promotions.

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 empty, there are no subsequent pages.
  • promotions (type: list(GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1Promotion.t), default: nil) - The promotions for the specified partner.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse{
    nextPageToken: String.t() | nil,
    promotions:
      [
        GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1Promotion.t()
      ]
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.