Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/paymentsresellersubscription_v1/classes.rb,
lib/google/apis/paymentsresellersubscription_v1/representations.rb,
lib/google/apis/paymentsresellersubscription_v1/representations.rb
Overview
Response containing the found promotions for the current user.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_token
to retrieve the next page. -
#promotions ⇒ Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Promotion>
The promotions for the current user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse
constructor
A new instance of GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse
Returns a new instance of GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse.
426 427 428 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 426 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
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
419 420 421 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 419 def next_page_token @next_page_token end |
#promotions ⇒ Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Promotion>
The promotions for the current user.
Corresponds to the JSON property promotions
424 425 426 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 424 def promotions @promotions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
431 432 433 434 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 431 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @promotions = args[:promotions] if args.key?(:promotions) end |