Class: Google::Apis::AndroidpublisherV3::GetOneTimeProductOfferRequest
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::GetOneTimeProductOfferRequest
- 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
Request message for GetOneTimeProductOffers.
Instance Attribute Summary collapse
-
#offer_id ⇒ String
Required.
-
#package_name ⇒ String
Required.
-
#product_id ⇒ String
Required.
-
#purchase_option_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetOneTimeProductOfferRequest
constructor
A new instance of GetOneTimeProductOfferRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GetOneTimeProductOfferRequest
Returns a new instance of GetOneTimeProductOfferRequest.
4112 4113 4114 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4112 def initialize(**args) update!(**args) end |
Instance Attribute Details
#offer_id ⇒ String
Required. The unique offer ID of the offer to get.
Corresponds to the JSON property offerId
4095 4096 4097 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4095 def offer_id @offer_id end |
#package_name ⇒ String
Required. The parent app (package name) of the offer to get.
Corresponds to the JSON property packageName
4100 4101 4102 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4100 def package_name @package_name end |
#product_id ⇒ String
Required. The parent one-time product (ID) of the offer to get.
Corresponds to the JSON property productId
4105 4106 4107 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4105 def product_id @product_id end |
#purchase_option_id ⇒ String
Required. The parent purchase option (ID) of the offer to get.
Corresponds to the JSON property purchaseOptionId
4110 4111 4112 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4110 def purchase_option_id @purchase_option_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4117 4118 4119 4120 4121 4122 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4117 def update!(**args) @offer_id = args[:offer_id] if args.key?(:offer_id) @package_name = args[:package_name] if args.key?(:package_name) @product_id = args[:product_id] if args.key?(:product_id) @purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id) end |