google-apis-androidpublisher_v3 0.81.0 → 0.83.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 +8 -0
- data/lib/google/apis/androidpublisher_v3/classes.rb +255 -0
- data/lib/google/apis/androidpublisher_v3/gem_version.rb +2 -2
- data/lib/google/apis/androidpublisher_v3/representations.rb +114 -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: 6522f45034c980e7f9a8afc063cb6841435055d73b5221dbff9a9d1e9bdbd8da
|
4
|
+
data.tar.gz: '078060b2349a8c48216b11d53743d8d1a8429179596680676cacba6642b0c24e'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02db15012f1b872c9171dd215912b1639fdb7a6d3e80cfd3423036ede0621bd1de410117d5c1adf6e936a9c2a97ca3799d830b1c3481a837e6bdb6eb65e89f97
|
7
|
+
data.tar.gz: d4f4d1557964dc3c9352ec2e2f84bc6d50f07eb5785517f97cb94ea66ceadc93d2dd955d5a1fbbd9e14bb1a824c671ac029c91a60af9ac0554f0404958472731
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-androidpublisher_v3
|
2
2
|
|
3
|
+
### v0.83.0 (2025-07-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250710
|
6
|
+
|
7
|
+
### v0.82.0 (2025-07-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250701
|
10
|
+
|
3
11
|
### v0.81.0 (2025-06-01)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250529
|
@@ -4148,11 +4148,24 @@ module Google
|
|
4148
4148
|
# @return [String]
|
4149
4149
|
attr_accessor :offer_id
|
4150
4150
|
|
4151
|
+
# ID of the purchase option. This field is set for both purchase options and
|
4152
|
+
# variant offers. For purchase options, this ID identifies the purchase option
|
4153
|
+
# itself. For variant offers, this ID refers to the associated purchase option,
|
4154
|
+
# and in conjunction with offer_id it identifies the variant offer.
|
4155
|
+
# Corresponds to the JSON property `purchaseOptionId`
|
4156
|
+
# @return [String]
|
4157
|
+
attr_accessor :purchase_option_id
|
4158
|
+
|
4151
4159
|
# The number of items purchased (for multi-quantity item purchases).
|
4152
4160
|
# Corresponds to the JSON property `quantity`
|
4153
4161
|
# @return [Fixnum]
|
4154
4162
|
attr_accessor :quantity
|
4155
4163
|
|
4164
|
+
# Details of a rental purchase.
|
4165
|
+
# Corresponds to the JSON property `rentalDetails`
|
4166
|
+
# @return [Google::Apis::AndroidpublisherV3::RentalDetails]
|
4167
|
+
attr_accessor :rental_details
|
4168
|
+
|
4156
4169
|
def initialize(**args)
|
4157
4170
|
update!(**args)
|
4158
4171
|
end
|
@@ -4160,7 +4173,9 @@ module Google
|
|
4160
4173
|
# Update properties of this object
|
4161
4174
|
def update!(**args)
|
4162
4175
|
@offer_id = args[:offer_id] if args.key?(:offer_id)
|
4176
|
+
@purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id)
|
4163
4177
|
@quantity = args[:quantity] if args.key?(:quantity)
|
4178
|
+
@rental_details = args[:rental_details] if args.key?(:rental_details)
|
4164
4179
|
end
|
4165
4180
|
end
|
4166
4181
|
|
@@ -4767,6 +4782,94 @@ module Google
|
|
4767
4782
|
end
|
4768
4783
|
end
|
4769
4784
|
|
4785
|
+
# Contains item-level info for a ProductPurchaseV2.
|
4786
|
+
class ProductLineItem
|
4787
|
+
include Google::Apis::Core::Hashable
|
4788
|
+
|
4789
|
+
# The purchased product ID (for example, 'monthly001').
|
4790
|
+
# Corresponds to the JSON property `productId`
|
4791
|
+
# @return [String]
|
4792
|
+
attr_accessor :product_id
|
4793
|
+
|
4794
|
+
# Offer details information related to a purchase line item.
|
4795
|
+
# Corresponds to the JSON property `productOfferDetails`
|
4796
|
+
# @return [Google::Apis::AndroidpublisherV3::ProductOfferDetails]
|
4797
|
+
attr_accessor :product_offer_details
|
4798
|
+
|
4799
|
+
def initialize(**args)
|
4800
|
+
update!(**args)
|
4801
|
+
end
|
4802
|
+
|
4803
|
+
# Update properties of this object
|
4804
|
+
def update!(**args)
|
4805
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
4806
|
+
@product_offer_details = args[:product_offer_details] if args.key?(:product_offer_details)
|
4807
|
+
end
|
4808
|
+
end
|
4809
|
+
|
4810
|
+
# Offer details information related to a purchase line item.
|
4811
|
+
class ProductOfferDetails
|
4812
|
+
include Google::Apis::Core::Hashable
|
4813
|
+
|
4814
|
+
# Output only. The consumption state of the purchase.
|
4815
|
+
# Corresponds to the JSON property `consumptionState`
|
4816
|
+
# @return [String]
|
4817
|
+
attr_accessor :consumption_state
|
4818
|
+
|
4819
|
+
# The offer ID. Only present for offers.
|
4820
|
+
# Corresponds to the JSON property `offerId`
|
4821
|
+
# @return [String]
|
4822
|
+
attr_accessor :offer_id
|
4823
|
+
|
4824
|
+
# The latest offer tags associated with the offer. It includes tags inherited
|
4825
|
+
# from the purchase option.
|
4826
|
+
# Corresponds to the JSON property `offerTags`
|
4827
|
+
# @return [Array<String>]
|
4828
|
+
attr_accessor :offer_tags
|
4829
|
+
|
4830
|
+
# The per-transaction offer token used to make this purchase line item.
|
4831
|
+
# Corresponds to the JSON property `offerToken`
|
4832
|
+
# @return [String]
|
4833
|
+
attr_accessor :offer_token
|
4834
|
+
|
4835
|
+
# The purchase option ID.
|
4836
|
+
# Corresponds to the JSON property `purchaseOptionId`
|
4837
|
+
# @return [String]
|
4838
|
+
attr_accessor :purchase_option_id
|
4839
|
+
|
4840
|
+
# The quantity associated with the purchase of the inapp product.
|
4841
|
+
# Corresponds to the JSON property `quantity`
|
4842
|
+
# @return [Fixnum]
|
4843
|
+
attr_accessor :quantity
|
4844
|
+
|
4845
|
+
# The quantity eligible for refund, i.e. quantity that hasn't been refunded. The
|
4846
|
+
# value reflects quantity-based partial refunds and full refunds.
|
4847
|
+
# Corresponds to the JSON property `refundableQuantity`
|
4848
|
+
# @return [Fixnum]
|
4849
|
+
attr_accessor :refundable_quantity
|
4850
|
+
|
4851
|
+
# Offer details information related to a rental line item.
|
4852
|
+
# Corresponds to the JSON property `rentOfferDetails`
|
4853
|
+
# @return [Google::Apis::AndroidpublisherV3::RentOfferDetails]
|
4854
|
+
attr_accessor :rent_offer_details
|
4855
|
+
|
4856
|
+
def initialize(**args)
|
4857
|
+
update!(**args)
|
4858
|
+
end
|
4859
|
+
|
4860
|
+
# Update properties of this object
|
4861
|
+
def update!(**args)
|
4862
|
+
@consumption_state = args[:consumption_state] if args.key?(:consumption_state)
|
4863
|
+
@offer_id = args[:offer_id] if args.key?(:offer_id)
|
4864
|
+
@offer_tags = args[:offer_tags] if args.key?(:offer_tags)
|
4865
|
+
@offer_token = args[:offer_token] if args.key?(:offer_token)
|
4866
|
+
@purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id)
|
4867
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
4868
|
+
@refundable_quantity = args[:refundable_quantity] if args.key?(:refundable_quantity)
|
4869
|
+
@rent_offer_details = args[:rent_offer_details] if args.key?(:rent_offer_details)
|
4870
|
+
end
|
4871
|
+
end
|
4872
|
+
|
4770
4873
|
# A ProductPurchase resource indicates the status of a user's inapp product
|
4771
4874
|
# purchase.
|
4772
4875
|
class ProductPurchase
|
@@ -4889,6 +4992,94 @@ module Google
|
|
4889
4992
|
end
|
4890
4993
|
end
|
4891
4994
|
|
4995
|
+
# A ProductPurchaseV2 resource indicates the status of a user's inapp product
|
4996
|
+
# purchase.
|
4997
|
+
class ProductPurchaseV2
|
4998
|
+
include Google::Apis::Core::Hashable
|
4999
|
+
|
5000
|
+
# Output only. The acknowledgement state of the purchase.
|
5001
|
+
# Corresponds to the JSON property `acknowledgementState`
|
5002
|
+
# @return [String]
|
5003
|
+
attr_accessor :acknowledgement_state
|
5004
|
+
|
5005
|
+
# This kind represents a ProductPurchaseV2 object in the androidpublisher
|
5006
|
+
# service.
|
5007
|
+
# Corresponds to the JSON property `kind`
|
5008
|
+
# @return [String]
|
5009
|
+
attr_accessor :kind
|
5010
|
+
|
5011
|
+
# An obfuscated version of the id that is uniquely associated with the user's
|
5012
|
+
# account in your app. Only present if specified using https://developer.android.
|
5013
|
+
# com/reference/com/android/billingclient/api/BillingFlowParams.Builder#
|
5014
|
+
# setobfuscatedaccountid when the purchase was made.
|
5015
|
+
# Corresponds to the JSON property `obfuscatedExternalAccountId`
|
5016
|
+
# @return [String]
|
5017
|
+
attr_accessor :obfuscated_external_account_id
|
5018
|
+
|
5019
|
+
# An obfuscated version of the id that is uniquely associated with the user's
|
5020
|
+
# profile in your app. Only present if specified using https://developer.android.
|
5021
|
+
# com/reference/com/android/billingclient/api/BillingFlowParams.Builder#
|
5022
|
+
# setobfuscatedprofileid when the purchase was made.
|
5023
|
+
# Corresponds to the JSON property `obfuscatedExternalProfileId`
|
5024
|
+
# @return [String]
|
5025
|
+
attr_accessor :obfuscated_external_profile_id
|
5026
|
+
|
5027
|
+
# The order id associated with the purchase of the inapp product. May not be set
|
5028
|
+
# if there is no order associated with the purchase.
|
5029
|
+
# Corresponds to the JSON property `orderId`
|
5030
|
+
# @return [String]
|
5031
|
+
attr_accessor :order_id
|
5032
|
+
|
5033
|
+
# Contains item-level info for a ProductPurchaseV2.
|
5034
|
+
# Corresponds to the JSON property `productLineItem`
|
5035
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::ProductLineItem>]
|
5036
|
+
attr_accessor :product_line_item
|
5037
|
+
|
5038
|
+
# The time when the purchase was successful, i.e., when the PurchaseState has
|
5039
|
+
# changed to PURCHASED. This field will not be present until the payment is
|
5040
|
+
# complete. For example, if the user initiated a pending transaction (https://
|
5041
|
+
# developer.android.com/google/play/billing/integrate#pending), this field will
|
5042
|
+
# not be populated until the user successfully completes the steps required to
|
5043
|
+
# complete the transaction.
|
5044
|
+
# Corresponds to the JSON property `purchaseCompletionTime`
|
5045
|
+
# @return [String]
|
5046
|
+
attr_accessor :purchase_completion_time
|
5047
|
+
|
5048
|
+
# Context about the purchase state.
|
5049
|
+
# Corresponds to the JSON property `purchaseStateContext`
|
5050
|
+
# @return [Google::Apis::AndroidpublisherV3::PurchaseStateContext]
|
5051
|
+
attr_accessor :purchase_state_context
|
5052
|
+
|
5053
|
+
# ISO 3166-1 alpha-2 billing region code of the user at the time the product was
|
5054
|
+
# granted.
|
5055
|
+
# Corresponds to the JSON property `regionCode`
|
5056
|
+
# @return [String]
|
5057
|
+
attr_accessor :region_code
|
5058
|
+
|
5059
|
+
# Context about a test purchase.
|
5060
|
+
# Corresponds to the JSON property `testPurchaseContext`
|
5061
|
+
# @return [Google::Apis::AndroidpublisherV3::TestPurchaseContext]
|
5062
|
+
attr_accessor :test_purchase_context
|
5063
|
+
|
5064
|
+
def initialize(**args)
|
5065
|
+
update!(**args)
|
5066
|
+
end
|
5067
|
+
|
5068
|
+
# Update properties of this object
|
5069
|
+
def update!(**args)
|
5070
|
+
@acknowledgement_state = args[:acknowledgement_state] if args.key?(:acknowledgement_state)
|
5071
|
+
@kind = args[:kind] if args.key?(:kind)
|
5072
|
+
@obfuscated_external_account_id = args[:obfuscated_external_account_id] if args.key?(:obfuscated_external_account_id)
|
5073
|
+
@obfuscated_external_profile_id = args[:obfuscated_external_profile_id] if args.key?(:obfuscated_external_profile_id)
|
5074
|
+
@order_id = args[:order_id] if args.key?(:order_id)
|
5075
|
+
@product_line_item = args[:product_line_item] if args.key?(:product_line_item)
|
5076
|
+
@purchase_completion_time = args[:purchase_completion_time] if args.key?(:purchase_completion_time)
|
5077
|
+
@purchase_state_context = args[:purchase_state_context] if args.key?(:purchase_state_context)
|
5078
|
+
@region_code = args[:region_code] if args.key?(:region_code)
|
5079
|
+
@test_purchase_context = args[:test_purchase_context] if args.key?(:test_purchase_context)
|
5080
|
+
end
|
5081
|
+
end
|
5082
|
+
|
4892
5083
|
# Request for the product.purchases.acknowledge API.
|
4893
5084
|
class ProductPurchasesAcknowledgeRequest
|
4894
5085
|
include Google::Apis::Core::Hashable
|
@@ -4908,6 +5099,25 @@ module Google
|
|
4908
5099
|
end
|
4909
5100
|
end
|
4910
5101
|
|
5102
|
+
# Context about the purchase state.
|
5103
|
+
class PurchaseStateContext
|
5104
|
+
include Google::Apis::Core::Hashable
|
5105
|
+
|
5106
|
+
# Output only. The purchase state of the purchase.
|
5107
|
+
# Corresponds to the JSON property `purchaseState`
|
5108
|
+
# @return [String]
|
5109
|
+
attr_accessor :purchase_state
|
5110
|
+
|
5111
|
+
def initialize(**args)
|
5112
|
+
update!(**args)
|
5113
|
+
end
|
5114
|
+
|
5115
|
+
# Update properties of this object
|
5116
|
+
def update!(**args)
|
5117
|
+
@purchase_state = args[:purchase_state] if args.key?(:purchase_state)
|
5118
|
+
end
|
5119
|
+
end
|
5120
|
+
|
4911
5121
|
# Represents a transaction that is part of a recurring series of payments. This
|
4912
5122
|
# can be a subscription or a one-time product with multiple payments (such as
|
4913
5123
|
# preorder).
|
@@ -5371,6 +5581,32 @@ module Google
|
|
5371
5581
|
end
|
5372
5582
|
end
|
5373
5583
|
|
5584
|
+
# Offer details information related to a rental line item.
|
5585
|
+
class RentOfferDetails
|
5586
|
+
include Google::Apis::Core::Hashable
|
5587
|
+
|
5588
|
+
def initialize(**args)
|
5589
|
+
update!(**args)
|
5590
|
+
end
|
5591
|
+
|
5592
|
+
# Update properties of this object
|
5593
|
+
def update!(**args)
|
5594
|
+
end
|
5595
|
+
end
|
5596
|
+
|
5597
|
+
# Details of a rental purchase.
|
5598
|
+
class RentalDetails
|
5599
|
+
include Google::Apis::Core::Hashable
|
5600
|
+
|
5601
|
+
def initialize(**args)
|
5602
|
+
update!(**args)
|
5603
|
+
end
|
5604
|
+
|
5605
|
+
# Update properties of this object
|
5606
|
+
def update!(**args)
|
5607
|
+
end
|
5608
|
+
end
|
5609
|
+
|
5374
5610
|
# Information specific to cancellations caused by subscription replacement.
|
5375
5611
|
class ReplacementCancellation
|
5376
5612
|
include Google::Apis::Core::Hashable
|
@@ -7177,6 +7413,25 @@ module Google
|
|
7177
7413
|
end
|
7178
7414
|
end
|
7179
7415
|
|
7416
|
+
# Context about a test purchase.
|
7417
|
+
class TestPurchaseContext
|
7418
|
+
include Google::Apis::Core::Hashable
|
7419
|
+
|
7420
|
+
# The fop type of the test purchase.
|
7421
|
+
# Corresponds to the JSON property `fopType`
|
7422
|
+
# @return [String]
|
7423
|
+
attr_accessor :fop_type
|
7424
|
+
|
7425
|
+
def initialize(**args)
|
7426
|
+
update!(**args)
|
7427
|
+
end
|
7428
|
+
|
7429
|
+
# Update properties of this object
|
7430
|
+
def update!(**args)
|
7431
|
+
@fop_type = args[:fop_type] if args.key?(:fop_type)
|
7432
|
+
end
|
7433
|
+
end
|
7434
|
+
|
7180
7435
|
# The testers of an app. The resource for TestersService. Note: while it is
|
7181
7436
|
# possible in the Play Console UI to add testers via email lists, email lists
|
7182
7437
|
# 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.83.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 = "20250710"
|
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,18 @@ 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
|
+
|
1087
|
+
class RentalDetails
|
1088
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1089
|
+
|
1090
|
+
include Google::Apis::Core::JsonObjectSupport
|
1091
|
+
end
|
1092
|
+
|
1057
1093
|
class ReplacementCancellation
|
1058
1094
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1059
1095
|
|
@@ -1372,6 +1408,12 @@ module Google
|
|
1372
1408
|
include Google::Apis::Core::JsonObjectSupport
|
1373
1409
|
end
|
1374
1410
|
|
1411
|
+
class TestPurchaseContext
|
1412
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1413
|
+
|
1414
|
+
include Google::Apis::Core::JsonObjectSupport
|
1415
|
+
end
|
1416
|
+
|
1375
1417
|
class Testers
|
1376
1418
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1377
1419
|
|
@@ -2831,7 +2873,10 @@ module Google
|
|
2831
2873
|
# @private
|
2832
2874
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2833
2875
|
property :offer_id, as: 'offerId'
|
2876
|
+
property :purchase_option_id, as: 'purchaseOptionId'
|
2834
2877
|
property :quantity, as: 'quantity'
|
2878
|
+
property :rental_details, as: 'rentalDetails', class: Google::Apis::AndroidpublisherV3::RentalDetails, decorator: Google::Apis::AndroidpublisherV3::RentalDetails::Representation
|
2879
|
+
|
2835
2880
|
end
|
2836
2881
|
end
|
2837
2882
|
|
@@ -3025,6 +3070,30 @@ module Google
|
|
3025
3070
|
end
|
3026
3071
|
end
|
3027
3072
|
|
3073
|
+
class ProductLineItem
|
3074
|
+
# @private
|
3075
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3076
|
+
property :product_id, as: 'productId'
|
3077
|
+
property :product_offer_details, as: 'productOfferDetails', class: Google::Apis::AndroidpublisherV3::ProductOfferDetails, decorator: Google::Apis::AndroidpublisherV3::ProductOfferDetails::Representation
|
3078
|
+
|
3079
|
+
end
|
3080
|
+
end
|
3081
|
+
|
3082
|
+
class ProductOfferDetails
|
3083
|
+
# @private
|
3084
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3085
|
+
property :consumption_state, as: 'consumptionState'
|
3086
|
+
property :offer_id, as: 'offerId'
|
3087
|
+
collection :offer_tags, as: 'offerTags'
|
3088
|
+
property :offer_token, as: 'offerToken'
|
3089
|
+
property :purchase_option_id, as: 'purchaseOptionId'
|
3090
|
+
property :quantity, as: 'quantity'
|
3091
|
+
property :refundable_quantity, as: 'refundableQuantity'
|
3092
|
+
property :rent_offer_details, as: 'rentOfferDetails', class: Google::Apis::AndroidpublisherV3::RentOfferDetails, decorator: Google::Apis::AndroidpublisherV3::RentOfferDetails::Representation
|
3093
|
+
|
3094
|
+
end
|
3095
|
+
end
|
3096
|
+
|
3028
3097
|
class ProductPurchase
|
3029
3098
|
# @private
|
3030
3099
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3046,6 +3115,25 @@ module Google
|
|
3046
3115
|
end
|
3047
3116
|
end
|
3048
3117
|
|
3118
|
+
class ProductPurchaseV2
|
3119
|
+
# @private
|
3120
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3121
|
+
property :acknowledgement_state, as: 'acknowledgementState'
|
3122
|
+
property :kind, as: 'kind'
|
3123
|
+
property :obfuscated_external_account_id, as: 'obfuscatedExternalAccountId'
|
3124
|
+
property :obfuscated_external_profile_id, as: 'obfuscatedExternalProfileId'
|
3125
|
+
property :order_id, as: 'orderId'
|
3126
|
+
collection :product_line_item, as: 'productLineItem', class: Google::Apis::AndroidpublisherV3::ProductLineItem, decorator: Google::Apis::AndroidpublisherV3::ProductLineItem::Representation
|
3127
|
+
|
3128
|
+
property :purchase_completion_time, as: 'purchaseCompletionTime'
|
3129
|
+
property :purchase_state_context, as: 'purchaseStateContext', class: Google::Apis::AndroidpublisherV3::PurchaseStateContext, decorator: Google::Apis::AndroidpublisherV3::PurchaseStateContext::Representation
|
3130
|
+
|
3131
|
+
property :region_code, as: 'regionCode'
|
3132
|
+
property :test_purchase_context, as: 'testPurchaseContext', class: Google::Apis::AndroidpublisherV3::TestPurchaseContext, decorator: Google::Apis::AndroidpublisherV3::TestPurchaseContext::Representation
|
3133
|
+
|
3134
|
+
end
|
3135
|
+
end
|
3136
|
+
|
3049
3137
|
class ProductPurchasesAcknowledgeRequest
|
3050
3138
|
# @private
|
3051
3139
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3053,6 +3141,13 @@ module Google
|
|
3053
3141
|
end
|
3054
3142
|
end
|
3055
3143
|
|
3144
|
+
class PurchaseStateContext
|
3145
|
+
# @private
|
3146
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3147
|
+
property :purchase_state, as: 'purchaseState'
|
3148
|
+
end
|
3149
|
+
end
|
3150
|
+
|
3056
3151
|
class RecurringExternalTransaction
|
3057
3152
|
# @private
|
3058
3153
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3191,6 +3286,18 @@ module Google
|
|
3191
3286
|
end
|
3192
3287
|
end
|
3193
3288
|
|
3289
|
+
class RentOfferDetails
|
3290
|
+
# @private
|
3291
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3292
|
+
end
|
3293
|
+
end
|
3294
|
+
|
3295
|
+
class RentalDetails
|
3296
|
+
# @private
|
3297
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3298
|
+
end
|
3299
|
+
end
|
3300
|
+
|
3194
3301
|
class ReplacementCancellation
|
3195
3302
|
# @private
|
3196
3303
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3727,6 +3834,13 @@ module Google
|
|
3727
3834
|
end
|
3728
3835
|
end
|
3729
3836
|
|
3837
|
+
class TestPurchaseContext
|
3838
|
+
# @private
|
3839
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3840
|
+
property :fop_type, as: 'fopType'
|
3841
|
+
end
|
3842
|
+
end
|
3843
|
+
|
3730
3844
|
class Testers
|
3731
3845
|
# @private
|
3732
3846
|
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.83.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.83.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:
|