class Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse

Attributes

next_page_token[RW]

A token, which can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. Corresponds to the JSON property `nextPageToken` @return [String]

promotions[RW]

The promotions for the specified partner. Corresponds to the JSON property `promotions` @return [Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Promotion>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/paymentsresellersubscription_v1/classes.rb, line 255
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/paymentsresellersubscription_v1/classes.rb, line 260
def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @promotions = args[:promotions] if args.key?(:promotions)
end