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.
3728 3729 3730 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3728 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
3711 3712 3713 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3711 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
3716 3717 3718 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3716 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
3721 3722 3723 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3721 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
3726 3727 3728 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3726 def purchase_option_id @purchase_option_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3733 3734 3735 3736 3737 3738 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3733 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 |