google-apis-androidpublisher_v3 0.81.0 → 0.82.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/androidpublisher_v3/classes.rb +227 -0
- data/lib/google/apis/androidpublisher_v3/gem_version.rb +2 -2
- data/lib/google/apis/androidpublisher_v3/representations.rb +99 -0
- data/lib/google/apis/androidpublisher_v3/service.rb +34 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4346823f69728751af3a0a8d1a7a9820173846a1bb41eddf0f31c4091ee15b77
|
4
|
+
data.tar.gz: 9fe16fb9dc6be6ec524e30187a2a0ead7259aaa3437e7f9713503f14f5dbad0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 580c58d6ec82c3aeba2452089cd1d22700d52af152513a12e6f2d25b7d31a8cbe235a56741bf6542f61d3b3ace6926a06043353e76c4798df9916bfd1a0f8705
|
7
|
+
data.tar.gz: '018f80da3bc1891e1829b746a2e01a8489f1b75febada760f8ee6d88b69a77ea8488b350804e0dafe9d5408fca495e064e3a9dc6a89921683f39f7ece9fb0f26'
|
data/CHANGELOG.md
CHANGED
@@ -4767,6 +4767,94 @@ module Google
|
|
4767
4767
|
end
|
4768
4768
|
end
|
4769
4769
|
|
4770
|
+
# Contains item-level info for a ProductPurchaseV2.
|
4771
|
+
class ProductLineItem
|
4772
|
+
include Google::Apis::Core::Hashable
|
4773
|
+
|
4774
|
+
# The purchased product ID (for example, 'monthly001').
|
4775
|
+
# Corresponds to the JSON property `productId`
|
4776
|
+
# @return [String]
|
4777
|
+
attr_accessor :product_id
|
4778
|
+
|
4779
|
+
# Offer details information related to a purchase line item.
|
4780
|
+
# Corresponds to the JSON property `productOfferDetails`
|
4781
|
+
# @return [Google::Apis::AndroidpublisherV3::ProductOfferDetails]
|
4782
|
+
attr_accessor :product_offer_details
|
4783
|
+
|
4784
|
+
def initialize(**args)
|
4785
|
+
update!(**args)
|
4786
|
+
end
|
4787
|
+
|
4788
|
+
# Update properties of this object
|
4789
|
+
def update!(**args)
|
4790
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
4791
|
+
@product_offer_details = args[:product_offer_details] if args.key?(:product_offer_details)
|
4792
|
+
end
|
4793
|
+
end
|
4794
|
+
|
4795
|
+
# Offer details information related to a purchase line item.
|
4796
|
+
class ProductOfferDetails
|
4797
|
+
include Google::Apis::Core::Hashable
|
4798
|
+
|
4799
|
+
# Output only. The consumption state of the purchase.
|
4800
|
+
# Corresponds to the JSON property `consumptionState`
|
4801
|
+
# @return [String]
|
4802
|
+
attr_accessor :consumption_state
|
4803
|
+
|
4804
|
+
# The offer ID. Only present for offers.
|
4805
|
+
# Corresponds to the JSON property `offerId`
|
4806
|
+
# @return [String]
|
4807
|
+
attr_accessor :offer_id
|
4808
|
+
|
4809
|
+
# The latest offer tags associated with the offer. It includes tags inherited
|
4810
|
+
# from the purchase option.
|
4811
|
+
# Corresponds to the JSON property `offerTags`
|
4812
|
+
# @return [Array<String>]
|
4813
|
+
attr_accessor :offer_tags
|
4814
|
+
|
4815
|
+
# The per-transaction offer token used to make this purchase line item.
|
4816
|
+
# Corresponds to the JSON property `offerToken`
|
4817
|
+
# @return [String]
|
4818
|
+
attr_accessor :offer_token
|
4819
|
+
|
4820
|
+
# The purchase option ID.
|
4821
|
+
# Corresponds to the JSON property `purchaseOptionId`
|
4822
|
+
# @return [String]
|
4823
|
+
attr_accessor :purchase_option_id
|
4824
|
+
|
4825
|
+
# The quantity associated with the purchase of the inapp product.
|
4826
|
+
# Corresponds to the JSON property `quantity`
|
4827
|
+
# @return [Fixnum]
|
4828
|
+
attr_accessor :quantity
|
4829
|
+
|
4830
|
+
# The quantity eligible for refund, i.e. quantity that hasn't been refunded. The
|
4831
|
+
# value reflects quantity-based partial refunds and full refunds.
|
4832
|
+
# Corresponds to the JSON property `refundableQuantity`
|
4833
|
+
# @return [Fixnum]
|
4834
|
+
attr_accessor :refundable_quantity
|
4835
|
+
|
4836
|
+
# Offer details information related to a rental line item.
|
4837
|
+
# Corresponds to the JSON property `rentOfferDetails`
|
4838
|
+
# @return [Google::Apis::AndroidpublisherV3::RentOfferDetails]
|
4839
|
+
attr_accessor :rent_offer_details
|
4840
|
+
|
4841
|
+
def initialize(**args)
|
4842
|
+
update!(**args)
|
4843
|
+
end
|
4844
|
+
|
4845
|
+
# Update properties of this object
|
4846
|
+
def update!(**args)
|
4847
|
+
@consumption_state = args[:consumption_state] if args.key?(:consumption_state)
|
4848
|
+
@offer_id = args[:offer_id] if args.key?(:offer_id)
|
4849
|
+
@offer_tags = args[:offer_tags] if args.key?(:offer_tags)
|
4850
|
+
@offer_token = args[:offer_token] if args.key?(:offer_token)
|
4851
|
+
@purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id)
|
4852
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
4853
|
+
@refundable_quantity = args[:refundable_quantity] if args.key?(:refundable_quantity)
|
4854
|
+
@rent_offer_details = args[:rent_offer_details] if args.key?(:rent_offer_details)
|
4855
|
+
end
|
4856
|
+
end
|
4857
|
+
|
4770
4858
|
# A ProductPurchase resource indicates the status of a user's inapp product
|
4771
4859
|
# purchase.
|
4772
4860
|
class ProductPurchase
|
@@ -4889,6 +4977,94 @@ module Google
|
|
4889
4977
|
end
|
4890
4978
|
end
|
4891
4979
|
|
4980
|
+
# A ProductPurchaseV2 resource indicates the status of a user's inapp product
|
4981
|
+
# purchase.
|
4982
|
+
class ProductPurchaseV2
|
4983
|
+
include Google::Apis::Core::Hashable
|
4984
|
+
|
4985
|
+
# Output only. The acknowledgement state of the purchase.
|
4986
|
+
# Corresponds to the JSON property `acknowledgementState`
|
4987
|
+
# @return [String]
|
4988
|
+
attr_accessor :acknowledgement_state
|
4989
|
+
|
4990
|
+
# This kind represents a ProductPurchaseV2 object in the androidpublisher
|
4991
|
+
# service.
|
4992
|
+
# Corresponds to the JSON property `kind`
|
4993
|
+
# @return [String]
|
4994
|
+
attr_accessor :kind
|
4995
|
+
|
4996
|
+
# An obfuscated version of the id that is uniquely associated with the user's
|
4997
|
+
# account in your app. Only present if specified using https://developer.android.
|
4998
|
+
# com/reference/com/android/billingclient/api/BillingFlowParams.Builder#
|
4999
|
+
# setobfuscatedaccountid when the purchase was made.
|
5000
|
+
# Corresponds to the JSON property `obfuscatedExternalAccountId`
|
5001
|
+
# @return [String]
|
5002
|
+
attr_accessor :obfuscated_external_account_id
|
5003
|
+
|
5004
|
+
# An obfuscated version of the id that is uniquely associated with the user's
|
5005
|
+
# profile in your app. Only present if specified using https://developer.android.
|
5006
|
+
# com/reference/com/android/billingclient/api/BillingFlowParams.Builder#
|
5007
|
+
# setobfuscatedprofileid when the purchase was made.
|
5008
|
+
# Corresponds to the JSON property `obfuscatedExternalProfileId`
|
5009
|
+
# @return [String]
|
5010
|
+
attr_accessor :obfuscated_external_profile_id
|
5011
|
+
|
5012
|
+
# The order id associated with the purchase of the inapp product. May not be set
|
5013
|
+
# if there is no order associated with the purchase.
|
5014
|
+
# Corresponds to the JSON property `orderId`
|
5015
|
+
# @return [String]
|
5016
|
+
attr_accessor :order_id
|
5017
|
+
|
5018
|
+
# Contains item-level info for a ProductPurchaseV2.
|
5019
|
+
# Corresponds to the JSON property `productLineItem`
|
5020
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::ProductLineItem>]
|
5021
|
+
attr_accessor :product_line_item
|
5022
|
+
|
5023
|
+
# The time when the purchase was successful, i.e., when the PurchaseState has
|
5024
|
+
# changed to PURCHASED. This field will not be present until the payment is
|
5025
|
+
# complete. For example, if the user initiated a pending transaction (https://
|
5026
|
+
# developer.android.com/google/play/billing/integrate#pending), this field will
|
5027
|
+
# not be populated until the user successfully completes the steps required to
|
5028
|
+
# complete the transaction.
|
5029
|
+
# Corresponds to the JSON property `purchaseCompletionTime`
|
5030
|
+
# @return [String]
|
5031
|
+
attr_accessor :purchase_completion_time
|
5032
|
+
|
5033
|
+
# Context about the purchase state.
|
5034
|
+
# Corresponds to the JSON property `purchaseStateContext`
|
5035
|
+
# @return [Google::Apis::AndroidpublisherV3::PurchaseStateContext]
|
5036
|
+
attr_accessor :purchase_state_context
|
5037
|
+
|
5038
|
+
# ISO 3166-1 alpha-2 billing region code of the user at the time the product was
|
5039
|
+
# granted.
|
5040
|
+
# Corresponds to the JSON property `regionCode`
|
5041
|
+
# @return [String]
|
5042
|
+
attr_accessor :region_code
|
5043
|
+
|
5044
|
+
# Context about a test purchase.
|
5045
|
+
# Corresponds to the JSON property `testPurchaseContext`
|
5046
|
+
# @return [Google::Apis::AndroidpublisherV3::TestPurchaseContext]
|
5047
|
+
attr_accessor :test_purchase_context
|
5048
|
+
|
5049
|
+
def initialize(**args)
|
5050
|
+
update!(**args)
|
5051
|
+
end
|
5052
|
+
|
5053
|
+
# Update properties of this object
|
5054
|
+
def update!(**args)
|
5055
|
+
@acknowledgement_state = args[:acknowledgement_state] if args.key?(:acknowledgement_state)
|
5056
|
+
@kind = args[:kind] if args.key?(:kind)
|
5057
|
+
@obfuscated_external_account_id = args[:obfuscated_external_account_id] if args.key?(:obfuscated_external_account_id)
|
5058
|
+
@obfuscated_external_profile_id = args[:obfuscated_external_profile_id] if args.key?(:obfuscated_external_profile_id)
|
5059
|
+
@order_id = args[:order_id] if args.key?(:order_id)
|
5060
|
+
@product_line_item = args[:product_line_item] if args.key?(:product_line_item)
|
5061
|
+
@purchase_completion_time = args[:purchase_completion_time] if args.key?(:purchase_completion_time)
|
5062
|
+
@purchase_state_context = args[:purchase_state_context] if args.key?(:purchase_state_context)
|
5063
|
+
@region_code = args[:region_code] if args.key?(:region_code)
|
5064
|
+
@test_purchase_context = args[:test_purchase_context] if args.key?(:test_purchase_context)
|
5065
|
+
end
|
5066
|
+
end
|
5067
|
+
|
4892
5068
|
# Request for the product.purchases.acknowledge API.
|
4893
5069
|
class ProductPurchasesAcknowledgeRequest
|
4894
5070
|
include Google::Apis::Core::Hashable
|
@@ -4908,6 +5084,25 @@ module Google
|
|
4908
5084
|
end
|
4909
5085
|
end
|
4910
5086
|
|
5087
|
+
# Context about the purchase state.
|
5088
|
+
class PurchaseStateContext
|
5089
|
+
include Google::Apis::Core::Hashable
|
5090
|
+
|
5091
|
+
# Output only. The purchase state of the purchase.
|
5092
|
+
# Corresponds to the JSON property `purchaseState`
|
5093
|
+
# @return [String]
|
5094
|
+
attr_accessor :purchase_state
|
5095
|
+
|
5096
|
+
def initialize(**args)
|
5097
|
+
update!(**args)
|
5098
|
+
end
|
5099
|
+
|
5100
|
+
# Update properties of this object
|
5101
|
+
def update!(**args)
|
5102
|
+
@purchase_state = args[:purchase_state] if args.key?(:purchase_state)
|
5103
|
+
end
|
5104
|
+
end
|
5105
|
+
|
4911
5106
|
# Represents a transaction that is part of a recurring series of payments. This
|
4912
5107
|
# can be a subscription or a one-time product with multiple payments (such as
|
4913
5108
|
# preorder).
|
@@ -5371,6 +5566,19 @@ module Google
|
|
5371
5566
|
end
|
5372
5567
|
end
|
5373
5568
|
|
5569
|
+
# Offer details information related to a rental line item.
|
5570
|
+
class RentOfferDetails
|
5571
|
+
include Google::Apis::Core::Hashable
|
5572
|
+
|
5573
|
+
def initialize(**args)
|
5574
|
+
update!(**args)
|
5575
|
+
end
|
5576
|
+
|
5577
|
+
# Update properties of this object
|
5578
|
+
def update!(**args)
|
5579
|
+
end
|
5580
|
+
end
|
5581
|
+
|
5374
5582
|
# Information specific to cancellations caused by subscription replacement.
|
5375
5583
|
class ReplacementCancellation
|
5376
5584
|
include Google::Apis::Core::Hashable
|
@@ -7177,6 +7385,25 @@ module Google
|
|
7177
7385
|
end
|
7178
7386
|
end
|
7179
7387
|
|
7388
|
+
# Context about a test purchase.
|
7389
|
+
class TestPurchaseContext
|
7390
|
+
include Google::Apis::Core::Hashable
|
7391
|
+
|
7392
|
+
# The fop type of the test purchase.
|
7393
|
+
# Corresponds to the JSON property `fopType`
|
7394
|
+
# @return [String]
|
7395
|
+
attr_accessor :fop_type
|
7396
|
+
|
7397
|
+
def initialize(**args)
|
7398
|
+
update!(**args)
|
7399
|
+
end
|
7400
|
+
|
7401
|
+
# Update properties of this object
|
7402
|
+
def update!(**args)
|
7403
|
+
@fop_type = args[:fop_type] if args.key?(:fop_type)
|
7404
|
+
end
|
7405
|
+
end
|
7406
|
+
|
7180
7407
|
# The testers of an app. The resource for TestersService. Note: while it is
|
7181
7408
|
# possible in the Play Console UI to add testers via email lists, email lists
|
7182
7409
|
# are not supported by this resource.
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AndroidpublisherV3
|
18
18
|
# Version of the google-apis-androidpublisher_v3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.82.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250701"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -952,18 +952,42 @@ module Google
|
|
952
952
|
include Google::Apis::Core::JsonObjectSupport
|
953
953
|
end
|
954
954
|
|
955
|
+
class ProductLineItem
|
956
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
957
|
+
|
958
|
+
include Google::Apis::Core::JsonObjectSupport
|
959
|
+
end
|
960
|
+
|
961
|
+
class ProductOfferDetails
|
962
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
963
|
+
|
964
|
+
include Google::Apis::Core::JsonObjectSupport
|
965
|
+
end
|
966
|
+
|
955
967
|
class ProductPurchase
|
956
968
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
957
969
|
|
958
970
|
include Google::Apis::Core::JsonObjectSupport
|
959
971
|
end
|
960
972
|
|
973
|
+
class ProductPurchaseV2
|
974
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
975
|
+
|
976
|
+
include Google::Apis::Core::JsonObjectSupport
|
977
|
+
end
|
978
|
+
|
961
979
|
class ProductPurchasesAcknowledgeRequest
|
962
980
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
963
981
|
|
964
982
|
include Google::Apis::Core::JsonObjectSupport
|
965
983
|
end
|
966
984
|
|
985
|
+
class PurchaseStateContext
|
986
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
987
|
+
|
988
|
+
include Google::Apis::Core::JsonObjectSupport
|
989
|
+
end
|
990
|
+
|
967
991
|
class RecurringExternalTransaction
|
968
992
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
969
993
|
|
@@ -1054,6 +1078,12 @@ module Google
|
|
1054
1078
|
include Google::Apis::Core::JsonObjectSupport
|
1055
1079
|
end
|
1056
1080
|
|
1081
|
+
class RentOfferDetails
|
1082
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1083
|
+
|
1084
|
+
include Google::Apis::Core::JsonObjectSupport
|
1085
|
+
end
|
1086
|
+
|
1057
1087
|
class ReplacementCancellation
|
1058
1088
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1059
1089
|
|
@@ -1372,6 +1402,12 @@ module Google
|
|
1372
1402
|
include Google::Apis::Core::JsonObjectSupport
|
1373
1403
|
end
|
1374
1404
|
|
1405
|
+
class TestPurchaseContext
|
1406
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1407
|
+
|
1408
|
+
include Google::Apis::Core::JsonObjectSupport
|
1409
|
+
end
|
1410
|
+
|
1375
1411
|
class Testers
|
1376
1412
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1377
1413
|
|
@@ -3025,6 +3061,30 @@ module Google
|
|
3025
3061
|
end
|
3026
3062
|
end
|
3027
3063
|
|
3064
|
+
class ProductLineItem
|
3065
|
+
# @private
|
3066
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3067
|
+
property :product_id, as: 'productId'
|
3068
|
+
property :product_offer_details, as: 'productOfferDetails', class: Google::Apis::AndroidpublisherV3::ProductOfferDetails, decorator: Google::Apis::AndroidpublisherV3::ProductOfferDetails::Representation
|
3069
|
+
|
3070
|
+
end
|
3071
|
+
end
|
3072
|
+
|
3073
|
+
class ProductOfferDetails
|
3074
|
+
# @private
|
3075
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3076
|
+
property :consumption_state, as: 'consumptionState'
|
3077
|
+
property :offer_id, as: 'offerId'
|
3078
|
+
collection :offer_tags, as: 'offerTags'
|
3079
|
+
property :offer_token, as: 'offerToken'
|
3080
|
+
property :purchase_option_id, as: 'purchaseOptionId'
|
3081
|
+
property :quantity, as: 'quantity'
|
3082
|
+
property :refundable_quantity, as: 'refundableQuantity'
|
3083
|
+
property :rent_offer_details, as: 'rentOfferDetails', class: Google::Apis::AndroidpublisherV3::RentOfferDetails, decorator: Google::Apis::AndroidpublisherV3::RentOfferDetails::Representation
|
3084
|
+
|
3085
|
+
end
|
3086
|
+
end
|
3087
|
+
|
3028
3088
|
class ProductPurchase
|
3029
3089
|
# @private
|
3030
3090
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3046,6 +3106,25 @@ module Google
|
|
3046
3106
|
end
|
3047
3107
|
end
|
3048
3108
|
|
3109
|
+
class ProductPurchaseV2
|
3110
|
+
# @private
|
3111
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3112
|
+
property :acknowledgement_state, as: 'acknowledgementState'
|
3113
|
+
property :kind, as: 'kind'
|
3114
|
+
property :obfuscated_external_account_id, as: 'obfuscatedExternalAccountId'
|
3115
|
+
property :obfuscated_external_profile_id, as: 'obfuscatedExternalProfileId'
|
3116
|
+
property :order_id, as: 'orderId'
|
3117
|
+
collection :product_line_item, as: 'productLineItem', class: Google::Apis::AndroidpublisherV3::ProductLineItem, decorator: Google::Apis::AndroidpublisherV3::ProductLineItem::Representation
|
3118
|
+
|
3119
|
+
property :purchase_completion_time, as: 'purchaseCompletionTime'
|
3120
|
+
property :purchase_state_context, as: 'purchaseStateContext', class: Google::Apis::AndroidpublisherV3::PurchaseStateContext, decorator: Google::Apis::AndroidpublisherV3::PurchaseStateContext::Representation
|
3121
|
+
|
3122
|
+
property :region_code, as: 'regionCode'
|
3123
|
+
property :test_purchase_context, as: 'testPurchaseContext', class: Google::Apis::AndroidpublisherV3::TestPurchaseContext, decorator: Google::Apis::AndroidpublisherV3::TestPurchaseContext::Representation
|
3124
|
+
|
3125
|
+
end
|
3126
|
+
end
|
3127
|
+
|
3049
3128
|
class ProductPurchasesAcknowledgeRequest
|
3050
3129
|
# @private
|
3051
3130
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3053,6 +3132,13 @@ module Google
|
|
3053
3132
|
end
|
3054
3133
|
end
|
3055
3134
|
|
3135
|
+
class PurchaseStateContext
|
3136
|
+
# @private
|
3137
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3138
|
+
property :purchase_state, as: 'purchaseState'
|
3139
|
+
end
|
3140
|
+
end
|
3141
|
+
|
3056
3142
|
class RecurringExternalTransaction
|
3057
3143
|
# @private
|
3058
3144
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3191,6 +3277,12 @@ module Google
|
|
3191
3277
|
end
|
3192
3278
|
end
|
3193
3279
|
|
3280
|
+
class RentOfferDetails
|
3281
|
+
# @private
|
3282
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3283
|
+
end
|
3284
|
+
end
|
3285
|
+
|
3194
3286
|
class ReplacementCancellation
|
3195
3287
|
# @private
|
3196
3288
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3727,6 +3819,13 @@ module Google
|
|
3727
3819
|
end
|
3728
3820
|
end
|
3729
3821
|
|
3822
|
+
class TestPurchaseContext
|
3823
|
+
# @private
|
3824
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3825
|
+
property :fop_type, as: 'fopType'
|
3826
|
+
end
|
3827
|
+
end
|
3828
|
+
|
3730
3829
|
class Testers
|
3731
3830
|
# @private
|
3732
3831
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3856,6 +3856,40 @@ module Google
|
|
3856
3856
|
execute_or_queue_command(command, &block)
|
3857
3857
|
end
|
3858
3858
|
|
3859
|
+
# Checks the purchase and consumption status of an inapp item.
|
3860
|
+
# @param [String] package_name
|
3861
|
+
# The package name of the application the inapp product was sold in (for example,
|
3862
|
+
# 'com.some.thing').
|
3863
|
+
# @param [String] token
|
3864
|
+
# The token provided to the user's device when the inapp product was purchased.
|
3865
|
+
# @param [String] fields
|
3866
|
+
# Selector specifying which fields to include in a partial response.
|
3867
|
+
# @param [String] quota_user
|
3868
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3869
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3870
|
+
# @param [Google::Apis::RequestOptions] options
|
3871
|
+
# Request-specific options
|
3872
|
+
#
|
3873
|
+
# @yield [result, err] Result & error if block supplied
|
3874
|
+
# @yieldparam result [Google::Apis::AndroidpublisherV3::ProductPurchaseV2] parsed result object
|
3875
|
+
# @yieldparam err [StandardError] error object if request failed
|
3876
|
+
#
|
3877
|
+
# @return [Google::Apis::AndroidpublisherV3::ProductPurchaseV2]
|
3878
|
+
#
|
3879
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3880
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3881
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3882
|
+
def getproductpurchasev2_purchase_productsv2(package_name, token, fields: nil, quota_user: nil, options: nil, &block)
|
3883
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/purchases/productsv2/tokens/{token}', options)
|
3884
|
+
command.response_representation = Google::Apis::AndroidpublisherV3::ProductPurchaseV2::Representation
|
3885
|
+
command.response_class = Google::Apis::AndroidpublisherV3::ProductPurchaseV2
|
3886
|
+
command.params['packageName'] = package_name unless package_name.nil?
|
3887
|
+
command.params['token'] = token unless token.nil?
|
3888
|
+
command.query['fields'] = fields unless fields.nil?
|
3889
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3890
|
+
execute_or_queue_command(command, &block)
|
3891
|
+
end
|
3892
|
+
|
3859
3893
|
# Acknowledges a subscription purchase.
|
3860
3894
|
# @param [String] package_name
|
3861
3895
|
# The package name of the application for which this subscription was purchased (
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-androidpublisher_v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.82.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.82.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|