Class: Google::Apis::AndroidpublisherV3::BatchUpdateOneTimeProductOfferStatesResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchUpdateOneTimeProductOfferStatesResponse

Returns a new instance of BatchUpdateOneTimeProductOfferStatesResponse.



1519
1520
1521
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1519

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

Instance Attribute Details

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

The updated one-time product offers list, in the same order as the request. Corresponds to the JSON property oneTimeProductOffers



1517
1518
1519
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1517

def one_time_product_offers
  @one_time_product_offers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1524
1525
1526
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1524

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