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.



583
584
585
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 583

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)


576
577
578
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 576

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



581
582
583
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 581

def products
  @products
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



588
589
590
591
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 588

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