Class: Google::Apis::AndroidpublisherV3::ListOneTimeProductsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb

Overview

Response message for ListOneTimeProducts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListOneTimeProductsResponse

Returns a new instance of ListOneTimeProductsResponse.



4722
4723
4724
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4722

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 omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


4715
4716
4717
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4715

def next_page_token
  @next_page_token
end

#one_time_productsArray<Google::Apis::AndroidpublisherV3::OneTimeProduct>

The one-time products from the specified app. Corresponds to the JSON property oneTimeProducts



4720
4721
4722
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4720

def one_time_products
  @one_time_products
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4727
4728
4729
4730
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4727

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