Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse

Inherits:
Object
  • Object
show all
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 products.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse

Returns a new instance of GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse.



447
448
449
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 447

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


440
441
442
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 440

def next_page_token
  @next_page_token
end

#productsArray<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Product>

The products for the specified partner. Corresponds to the JSON property products



445
446
447
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 445

def products
  @products
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



452
453
454
455
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 452

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @products = args[:products] if args.key?(:products)
end