Class: Google::Apis::AndroidpublisherV3::ListSubscriptionOffersResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListSubscriptionOffersResponse

Returns a new instance of ListSubscriptionOffersResponse.



1925
1926
1927
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1925

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)


1918
1919
1920
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1918

def next_page_token
  @next_page_token
end

#subscription_offersArray<Google::Apis::AndroidpublisherV3::SubscriptionOffer>

The subscription offers from the specified subscription. Corresponds to the JSON property subscriptionOffers



1923
1924
1925
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1923

def subscription_offers
  @subscription_offers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1930
1931
1932
1933
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1930

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