Class: Google::Apis::AndroidpublisherV3::ListOneTimeProductOffersResponse

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 ListOneTimeProductOffers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListOneTimeProductOffersResponse

Returns a new instance of ListOneTimeProductOffersResponse.



4677
4678
4679
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4677

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)


4670
4671
4672
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4670

def next_page_token
  @next_page_token
end

#one_time_product_offersArray<Google::Apis::AndroidpublisherV3::OneTimeProductOffer>

The one_time_product offers from the specified request. Corresponds to the JSON property oneTimeProductOffers



4675
4676
4677
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4675

def one_time_product_offers
  @one_time_product_offers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4682
4683
4684
4685
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4682

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