Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse
- 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 that contains the promotions.
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 specified partner.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse
constructor
A new instance of GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse
Returns a new instance of GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse.
609 610 611 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 609 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
602 603 604 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 602 def next_page_token @next_page_token end |
#promotions ⇒ Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Promotion>
The promotions for the specified partner.
Corresponds to the JSON property promotions
607 608 609 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 607 def promotions @promotions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
614 615 616 617 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 614 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @promotions = args[:promotions] if args.key?(:promotions) end |