google-apis-androidpublisher_v3 0.86.0 → 0.92.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 +24 -0
- data/lib/google/apis/androidpublisher_v3/classes.rb +484 -9
- data/lib/google/apis/androidpublisher_v3/gem_version.rb +2 -2
- data/lib/google/apis/androidpublisher_v3/representations.rb +231 -0
- data/lib/google/apis/androidpublisher_v3/service.rb +38 -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: 96c47f1769e82ba4ffef9bb31e610edbecaffc2cf867ace75d18435fd30030b3
|
|
4
|
+
data.tar.gz: 4a0753bd45d60cd78cb1f0147a1815d540a80bb9798ffb220aac31ce2fab5887
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: beb6b35c1205b22c8c4f4a1f1331320a034ad4580457eb5acd78aa85c1cff423e05bc6cbd0975dcf0561537bd1409013f2b108e69d82725754a9f58fc6fe1aae
|
|
7
|
+
data.tar.gz: 3df3c1991b5edef58bb7b750f63cd21754a53a8427b2e59029fd1ea06b750248a99a7ec7b26a2a0e1ae10ec2030d2cc100270ae5da9bd9e676df1758e2526508
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Release history for google-apis-androidpublisher_v3
|
|
2
2
|
|
|
3
|
+
### v0.92.0 (2025-12-14)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251211
|
|
6
|
+
|
|
7
|
+
### v0.91.0 (2025-12-07)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251203
|
|
10
|
+
|
|
11
|
+
### v0.90.0 (2025-11-30)
|
|
12
|
+
|
|
13
|
+
* Regenerated from discovery document revision 20251124
|
|
14
|
+
|
|
15
|
+
### v0.89.0 (2025-11-23)
|
|
16
|
+
|
|
17
|
+
* Regenerated from discovery document revision 20251119
|
|
18
|
+
|
|
19
|
+
### v0.88.0 (2025-11-02)
|
|
20
|
+
|
|
21
|
+
* Regenerated from discovery document revision 20251028
|
|
22
|
+
|
|
23
|
+
### v0.87.0 (2025-09-07)
|
|
24
|
+
|
|
25
|
+
* Regenerated from discovery document revision 20250904
|
|
26
|
+
|
|
3
27
|
### v0.86.0 (2025-08-31)
|
|
4
28
|
|
|
5
29
|
* Regenerated from discovery document revision 20250828
|
|
@@ -812,10 +812,11 @@ module Google
|
|
|
812
812
|
class AutoRenewingBasePlanType
|
|
813
813
|
include Google::Apis::Core::Hashable
|
|
814
814
|
|
|
815
|
-
# Optional.
|
|
816
|
-
# format. Acceptable values must be in days and between P0D and P60D.
|
|
817
|
-
#
|
|
818
|
-
#
|
|
815
|
+
# Optional. Custom account hold period of the subscription, specified in ISO
|
|
816
|
+
# 8601 format. Acceptable values must be in days and between P0D and P60D. An
|
|
817
|
+
# empty field represents a recommended account hold, calculated as 60 days minus
|
|
818
|
+
# grace period. The sum of gracePeriodDuration and accountHoldDuration must be
|
|
819
|
+
# between P30D and P60D days, inclusive.
|
|
819
820
|
# Corresponds to the JSON property `accountHoldDuration`
|
|
820
821
|
# @return [String]
|
|
821
822
|
attr_accessor :account_hold_duration
|
|
@@ -904,6 +905,11 @@ module Google
|
|
|
904
905
|
# @return [Google::Apis::AndroidpublisherV3::SubscriptionItemPriceChangeDetails]
|
|
905
906
|
attr_accessor :price_change_details
|
|
906
907
|
|
|
908
|
+
# Information related to a price step-up that requires user consent.
|
|
909
|
+
# Corresponds to the JSON property `priceStepUpConsentDetails`
|
|
910
|
+
# @return [Google::Apis::AndroidpublisherV3::PriceStepUpConsentDetails]
|
|
911
|
+
attr_accessor :price_step_up_consent_details
|
|
912
|
+
|
|
907
913
|
# Represents an amount of money with its currency type.
|
|
908
914
|
# Corresponds to the JSON property `recurringPrice`
|
|
909
915
|
# @return [Google::Apis::AndroidpublisherV3::Money]
|
|
@@ -918,10 +924,24 @@ module Google
|
|
|
918
924
|
@auto_renew_enabled = args[:auto_renew_enabled] if args.key?(:auto_renew_enabled)
|
|
919
925
|
@installment_details = args[:installment_details] if args.key?(:installment_details)
|
|
920
926
|
@price_change_details = args[:price_change_details] if args.key?(:price_change_details)
|
|
927
|
+
@price_step_up_consent_details = args[:price_step_up_consent_details] if args.key?(:price_step_up_consent_details)
|
|
921
928
|
@recurring_price = args[:recurring_price] if args.key?(:recurring_price)
|
|
922
929
|
end
|
|
923
930
|
end
|
|
924
931
|
|
|
932
|
+
# Details of a base price pricing phase.
|
|
933
|
+
class BaseDetails
|
|
934
|
+
include Google::Apis::Core::Hashable
|
|
935
|
+
|
|
936
|
+
def initialize(**args)
|
|
937
|
+
update!(**args)
|
|
938
|
+
end
|
|
939
|
+
|
|
940
|
+
# Update properties of this object
|
|
941
|
+
def update!(**args)
|
|
942
|
+
end
|
|
943
|
+
end
|
|
944
|
+
|
|
925
945
|
# A single base plan for a subscription.
|
|
926
946
|
class BasePlan
|
|
927
947
|
include Google::Apis::Core::Hashable
|
|
@@ -1705,6 +1725,38 @@ module Google
|
|
|
1705
1725
|
end
|
|
1706
1726
|
end
|
|
1707
1727
|
|
|
1728
|
+
# Request for the purchases.subscriptionsv2.cancel API.
|
|
1729
|
+
class CancelSubscriptionPurchaseRequest
|
|
1730
|
+
include Google::Apis::Core::Hashable
|
|
1731
|
+
|
|
1732
|
+
# Cancellation context of the purchases.subscriptionsv2.cancel API.
|
|
1733
|
+
# Corresponds to the JSON property `cancellationContext`
|
|
1734
|
+
# @return [Google::Apis::AndroidpublisherV3::CancellationContext]
|
|
1735
|
+
attr_accessor :cancellation_context
|
|
1736
|
+
|
|
1737
|
+
def initialize(**args)
|
|
1738
|
+
update!(**args)
|
|
1739
|
+
end
|
|
1740
|
+
|
|
1741
|
+
# Update properties of this object
|
|
1742
|
+
def update!(**args)
|
|
1743
|
+
@cancellation_context = args[:cancellation_context] if args.key?(:cancellation_context)
|
|
1744
|
+
end
|
|
1745
|
+
end
|
|
1746
|
+
|
|
1747
|
+
# Response for the purchases.subscriptionsv2.cancel API.
|
|
1748
|
+
class CancelSubscriptionPurchaseResponse
|
|
1749
|
+
include Google::Apis::Core::Hashable
|
|
1750
|
+
|
|
1751
|
+
def initialize(**args)
|
|
1752
|
+
update!(**args)
|
|
1753
|
+
end
|
|
1754
|
+
|
|
1755
|
+
# Update properties of this object
|
|
1756
|
+
def update!(**args)
|
|
1757
|
+
end
|
|
1758
|
+
end
|
|
1759
|
+
|
|
1708
1760
|
# Result of the cancel survey when the subscription was canceled by the user.
|
|
1709
1761
|
class CancelSurveyResult
|
|
1710
1762
|
include Google::Apis::Core::Hashable
|
|
@@ -1769,6 +1821,25 @@ module Google
|
|
|
1769
1821
|
end
|
|
1770
1822
|
end
|
|
1771
1823
|
|
|
1824
|
+
# Cancellation context of the purchases.subscriptionsv2.cancel API.
|
|
1825
|
+
class CancellationContext
|
|
1826
|
+
include Google::Apis::Core::Hashable
|
|
1827
|
+
|
|
1828
|
+
# Required. The type of cancellation for the purchased subscription.
|
|
1829
|
+
# Corresponds to the JSON property `cancellationType`
|
|
1830
|
+
# @return [String]
|
|
1831
|
+
attr_accessor :cancellation_type
|
|
1832
|
+
|
|
1833
|
+
def initialize(**args)
|
|
1834
|
+
update!(**args)
|
|
1835
|
+
end
|
|
1836
|
+
|
|
1837
|
+
# Update properties of this object
|
|
1838
|
+
def update!(**args)
|
|
1839
|
+
@cancellation_type = args[:cancellation_type] if args.key?(:cancellation_type)
|
|
1840
|
+
end
|
|
1841
|
+
end
|
|
1842
|
+
|
|
1772
1843
|
# Details of when the order was canceled.
|
|
1773
1844
|
class CancellationEvent
|
|
1774
1845
|
include Google::Apis::Core::Hashable
|
|
@@ -2874,6 +2945,95 @@ module Google
|
|
|
2874
2945
|
end
|
|
2875
2946
|
end
|
|
2876
2947
|
|
|
2948
|
+
# User account identifier in your app.
|
|
2949
|
+
class ExternalAccountIds
|
|
2950
|
+
include Google::Apis::Core::Hashable
|
|
2951
|
+
|
|
2952
|
+
# Optional. Specifies an optional obfuscated string that is uniquely associated
|
|
2953
|
+
# with the purchaser's user account in your app. If you pass this value, Google
|
|
2954
|
+
# Play can use it to detect irregular activity. Do not use this field to store
|
|
2955
|
+
# any Personally Identifiable Information (PII) such as emails in cleartext.
|
|
2956
|
+
# Attempting to store PII in this field will result in purchases being blocked.
|
|
2957
|
+
# Google Play recommends that you use either encryption or a one-way hash to
|
|
2958
|
+
# generate an obfuscated identifier to send to Google Play. This identifier is
|
|
2959
|
+
# limited to 64 characters. This field can only be set for resubscription
|
|
2960
|
+
# purchases. See https://developer.android.com/reference/com/android/
|
|
2961
|
+
# billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountid to set this
|
|
2962
|
+
# field for purchases made using the standard in-app billing flow.
|
|
2963
|
+
# Corresponds to the JSON property `obfuscatedAccountId`
|
|
2964
|
+
# @return [String]
|
|
2965
|
+
attr_accessor :obfuscated_account_id
|
|
2966
|
+
|
|
2967
|
+
# Optional. Specifies an optional obfuscated string that is uniquely associated
|
|
2968
|
+
# with the purchaser's user profile in your app. If you pass this value, Google
|
|
2969
|
+
# Play can use it to detect irregular activity. Do not use this field to store
|
|
2970
|
+
# any Personally Identifiable Information (PII) such as emails in cleartext.
|
|
2971
|
+
# Attempting to store PII in this field will result in purchases being blocked.
|
|
2972
|
+
# Google Play recommends that you use either encryption or a one-way hash to
|
|
2973
|
+
# generate an obfuscated identifier to send to Google Play. This identifier is
|
|
2974
|
+
# limited to 64 characters. This field can only be set for resubscription
|
|
2975
|
+
# purchases. See https://developer.android.com/reference/com/android/
|
|
2976
|
+
# billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid to set this
|
|
2977
|
+
# field for purchases made using the standard in-app billing flow.
|
|
2978
|
+
# Corresponds to the JSON property `obfuscatedProfileId`
|
|
2979
|
+
# @return [String]
|
|
2980
|
+
attr_accessor :obfuscated_profile_id
|
|
2981
|
+
|
|
2982
|
+
def initialize(**args)
|
|
2983
|
+
update!(**args)
|
|
2984
|
+
end
|
|
2985
|
+
|
|
2986
|
+
# Update properties of this object
|
|
2987
|
+
def update!(**args)
|
|
2988
|
+
@obfuscated_account_id = args[:obfuscated_account_id] if args.key?(:obfuscated_account_id)
|
|
2989
|
+
@obfuscated_profile_id = args[:obfuscated_profile_id] if args.key?(:obfuscated_profile_id)
|
|
2990
|
+
end
|
|
2991
|
+
end
|
|
2992
|
+
|
|
2993
|
+
# Reporting details unique to the external offers program.
|
|
2994
|
+
class ExternalOfferDetails
|
|
2995
|
+
include Google::Apis::Core::Hashable
|
|
2996
|
+
|
|
2997
|
+
# Optional. The external transaction id associated with the app download event
|
|
2998
|
+
# through an external link. Required when reporting transactions made in
|
|
2999
|
+
# externally installed apps.
|
|
3000
|
+
# Corresponds to the JSON property `appDownloadEventExternalTransactionId`
|
|
3001
|
+
# @return [String]
|
|
3002
|
+
attr_accessor :app_download_event_external_transaction_id
|
|
3003
|
+
|
|
3004
|
+
# Optional. The category of the downloaded app though this transaction. This
|
|
3005
|
+
# must match the category provided in Play Console during the external app
|
|
3006
|
+
# verification process. Only required for app downloads.
|
|
3007
|
+
# Corresponds to the JSON property `installedAppCategory`
|
|
3008
|
+
# @return [String]
|
|
3009
|
+
attr_accessor :installed_app_category
|
|
3010
|
+
|
|
3011
|
+
# Optional. The package name of the app downloaded through this transaction.
|
|
3012
|
+
# Required when link_type is LINK_TO_APP_DOWNLOAD.
|
|
3013
|
+
# Corresponds to the JSON property `installedAppPackage`
|
|
3014
|
+
# @return [String]
|
|
3015
|
+
attr_accessor :installed_app_package
|
|
3016
|
+
|
|
3017
|
+
# Optional. The type of content being reported by this transaction. Required
|
|
3018
|
+
# when reporting app downloads or purchased digital content offers made in app
|
|
3019
|
+
# installed through Google Play.
|
|
3020
|
+
# Corresponds to the JSON property `linkType`
|
|
3021
|
+
# @return [String]
|
|
3022
|
+
attr_accessor :link_type
|
|
3023
|
+
|
|
3024
|
+
def initialize(**args)
|
|
3025
|
+
update!(**args)
|
|
3026
|
+
end
|
|
3027
|
+
|
|
3028
|
+
# Update properties of this object
|
|
3029
|
+
def update!(**args)
|
|
3030
|
+
@app_download_event_external_transaction_id = args[:app_download_event_external_transaction_id] if args.key?(:app_download_event_external_transaction_id)
|
|
3031
|
+
@installed_app_category = args[:installed_app_category] if args.key?(:installed_app_category)
|
|
3032
|
+
@installed_app_package = args[:installed_app_package] if args.key?(:installed_app_package)
|
|
3033
|
+
@link_type = args[:link_type] if args.key?(:link_type)
|
|
3034
|
+
end
|
|
3035
|
+
end
|
|
3036
|
+
|
|
2877
3037
|
# Details of an external subscription.
|
|
2878
3038
|
class ExternalSubscription
|
|
2879
3039
|
include Google::Apis::Core::Hashable
|
|
@@ -2913,6 +3073,11 @@ module Google
|
|
|
2913
3073
|
# @return [Google::Apis::AndroidpublisherV3::Price]
|
|
2914
3074
|
attr_accessor :current_tax_amount
|
|
2915
3075
|
|
|
3076
|
+
# Reporting details unique to the external offers program.
|
|
3077
|
+
# Corresponds to the JSON property `externalOfferDetails`
|
|
3078
|
+
# @return [Google::Apis::AndroidpublisherV3::ExternalOfferDetails]
|
|
3079
|
+
attr_accessor :external_offer_details
|
|
3080
|
+
|
|
2916
3081
|
# Output only. The id of this transaction. All transaction ids under the same
|
|
2917
3082
|
# package name must be unique. Set when creating the external transaction.
|
|
2918
3083
|
# Corresponds to the JSON property `externalTransactionId`
|
|
@@ -2988,6 +3153,7 @@ module Google
|
|
|
2988
3153
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
2989
3154
|
@current_pre_tax_amount = args[:current_pre_tax_amount] if args.key?(:current_pre_tax_amount)
|
|
2990
3155
|
@current_tax_amount = args[:current_tax_amount] if args.key?(:current_tax_amount)
|
|
3156
|
+
@external_offer_details = args[:external_offer_details] if args.key?(:external_offer_details)
|
|
2991
3157
|
@external_transaction_id = args[:external_transaction_id] if args.key?(:external_transaction_id)
|
|
2992
3158
|
@one_time_transaction = args[:one_time_transaction] if args.key?(:one_time_transaction)
|
|
2993
3159
|
@original_pre_tax_amount = args[:original_pre_tax_amount] if args.key?(:original_pre_tax_amount)
|
|
@@ -3157,6 +3323,19 @@ module Google
|
|
|
3157
3323
|
end
|
|
3158
3324
|
end
|
|
3159
3325
|
|
|
3326
|
+
# Details of a free trial pricing phase.
|
|
3327
|
+
class FreeTrialDetails
|
|
3328
|
+
include Google::Apis::Core::Hashable
|
|
3329
|
+
|
|
3330
|
+
def initialize(**args)
|
|
3331
|
+
update!(**args)
|
|
3332
|
+
end
|
|
3333
|
+
|
|
3334
|
+
# Update properties of this object
|
|
3335
|
+
def update!(**args)
|
|
3336
|
+
end
|
|
3337
|
+
end
|
|
3338
|
+
|
|
3160
3339
|
# A full refund of the remaining amount of a transaction.
|
|
3161
3340
|
class FullRefund
|
|
3162
3341
|
include Google::Apis::Core::Hashable
|
|
@@ -4002,10 +4181,11 @@ module Google
|
|
|
4002
4181
|
class InstallmentsBasePlanType
|
|
4003
4182
|
include Google::Apis::Core::Hashable
|
|
4004
4183
|
|
|
4005
|
-
# Optional.
|
|
4006
|
-
# format. Acceptable values must be in days and between P0D and P60D.
|
|
4007
|
-
#
|
|
4008
|
-
#
|
|
4184
|
+
# Optional. Custom account hold period of the subscription, specified in ISO
|
|
4185
|
+
# 8601 format. Acceptable values must be in days and between P0D and P60D. An
|
|
4186
|
+
# empty field represents a recommended account hold, calculated as 60 days minus
|
|
4187
|
+
# grace period. The sum of gracePeriodDuration and accountHoldDuration must be
|
|
4188
|
+
# between P30D and P60D days, inclusive.
|
|
4009
4189
|
# Corresponds to the JSON property `accountHoldDuration`
|
|
4010
4190
|
# @return [String]
|
|
4011
4191
|
attr_accessor :account_hold_duration
|
|
@@ -4102,6 +4282,19 @@ module Google
|
|
|
4102
4282
|
end
|
|
4103
4283
|
end
|
|
4104
4284
|
|
|
4285
|
+
# Details of an introductory price pricing phase.
|
|
4286
|
+
class IntroductoryPriceDetails
|
|
4287
|
+
include Google::Apis::Core::Hashable
|
|
4288
|
+
|
|
4289
|
+
def initialize(**args)
|
|
4290
|
+
update!(**args)
|
|
4291
|
+
end
|
|
4292
|
+
|
|
4293
|
+
# Update properties of this object
|
|
4294
|
+
def update!(**args)
|
|
4295
|
+
end
|
|
4296
|
+
end
|
|
4297
|
+
|
|
4105
4298
|
# Contains the introductory price information for a subscription.
|
|
4106
4299
|
class IntroductoryPriceInfo
|
|
4107
4300
|
include Google::Apis::Core::Hashable
|
|
@@ -4146,6 +4339,43 @@ module Google
|
|
|
4146
4339
|
end
|
|
4147
4340
|
end
|
|
4148
4341
|
|
|
4342
|
+
# Details about a subscription line item that is being replaced.
|
|
4343
|
+
class ItemReplacement
|
|
4344
|
+
include Google::Apis::Core::Hashable
|
|
4345
|
+
|
|
4346
|
+
# The base plan ID of the subscription line item being replaced.
|
|
4347
|
+
# Corresponds to the JSON property `basePlanId`
|
|
4348
|
+
# @return [String]
|
|
4349
|
+
attr_accessor :base_plan_id
|
|
4350
|
+
|
|
4351
|
+
# The offer ID of the subscription line item being replaced, if applicable.
|
|
4352
|
+
# Corresponds to the JSON property `offerId`
|
|
4353
|
+
# @return [String]
|
|
4354
|
+
attr_accessor :offer_id
|
|
4355
|
+
|
|
4356
|
+
# The product ID of the subscription line item being replaced.
|
|
4357
|
+
# Corresponds to the JSON property `productId`
|
|
4358
|
+
# @return [String]
|
|
4359
|
+
attr_accessor :product_id
|
|
4360
|
+
|
|
4361
|
+
# The replacement mode applied during the purchase.
|
|
4362
|
+
# Corresponds to the JSON property `replacementMode`
|
|
4363
|
+
# @return [String]
|
|
4364
|
+
attr_accessor :replacement_mode
|
|
4365
|
+
|
|
4366
|
+
def initialize(**args)
|
|
4367
|
+
update!(**args)
|
|
4368
|
+
end
|
|
4369
|
+
|
|
4370
|
+
# Update properties of this object
|
|
4371
|
+
def update!(**args)
|
|
4372
|
+
@base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id)
|
|
4373
|
+
@offer_id = args[:offer_id] if args.key?(:offer_id)
|
|
4374
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
|
4375
|
+
@replacement_mode = args[:replacement_mode] if args.key?(:replacement_mode)
|
|
4376
|
+
end
|
|
4377
|
+
end
|
|
4378
|
+
|
|
4149
4379
|
# Targeting based on language.
|
|
4150
4380
|
class LanguageTargeting
|
|
4151
4381
|
include Google::Apis::Core::Hashable
|
|
@@ -4525,6 +4755,14 @@ module Google
|
|
|
4525
4755
|
attr_accessor :is_tokenized_digital_asset
|
|
4526
4756
|
alias_method :is_tokenized_digital_asset?, :is_tokenized_digital_asset
|
|
4527
4757
|
|
|
4758
|
+
# Product tax category code to assign to the in-app product. Product tax
|
|
4759
|
+
# category determines the transaction tax rates applied to the product. Refer to
|
|
4760
|
+
# the [Help Center article](https://support.google.com/googleplay/android-
|
|
4761
|
+
# developer/answer/16408159) for more information.
|
|
4762
|
+
# Corresponds to the JSON property `productTaxCategoryCode`
|
|
4763
|
+
# @return [String]
|
|
4764
|
+
attr_accessor :product_tax_category_code
|
|
4765
|
+
|
|
4528
4766
|
# A mapping from region code to tax rate details. The keys are region codes as
|
|
4529
4767
|
# defined by Unicode's "CLDR".
|
|
4530
4768
|
# Corresponds to the JSON property `taxRateInfoByRegionCode`
|
|
@@ -4539,6 +4777,7 @@ module Google
|
|
|
4539
4777
|
def update!(**args)
|
|
4540
4778
|
@eea_withdrawal_right_type = args[:eea_withdrawal_right_type] if args.key?(:eea_withdrawal_right_type)
|
|
4541
4779
|
@is_tokenized_digital_asset = args[:is_tokenized_digital_asset] if args.key?(:is_tokenized_digital_asset)
|
|
4780
|
+
@product_tax_category_code = args[:product_tax_category_code] if args.key?(:product_tax_category_code)
|
|
4542
4781
|
@tax_rate_info_by_region_code = args[:tax_rate_info_by_region_code] if args.key?(:tax_rate_info_by_region_code)
|
|
4543
4782
|
end
|
|
4544
4783
|
end
|
|
@@ -4796,6 +5035,50 @@ module Google
|
|
|
4796
5035
|
end
|
|
4797
5036
|
end
|
|
4798
5037
|
|
|
5038
|
+
# Details of a pricing phase for the entitlement period funded by this order.
|
|
5039
|
+
class OfferPhaseDetails
|
|
5040
|
+
include Google::Apis::Core::Hashable
|
|
5041
|
+
|
|
5042
|
+
# Details of a base price pricing phase.
|
|
5043
|
+
# Corresponds to the JSON property `baseDetails`
|
|
5044
|
+
# @return [Google::Apis::AndroidpublisherV3::BaseDetails]
|
|
5045
|
+
attr_accessor :base_details
|
|
5046
|
+
|
|
5047
|
+
# Details of a free trial pricing phase.
|
|
5048
|
+
# Corresponds to the JSON property `freeTrialDetails`
|
|
5049
|
+
# @return [Google::Apis::AndroidpublisherV3::FreeTrialDetails]
|
|
5050
|
+
attr_accessor :free_trial_details
|
|
5051
|
+
|
|
5052
|
+
# Details of an introductory price pricing phase.
|
|
5053
|
+
# Corresponds to the JSON property `introductoryPriceDetails`
|
|
5054
|
+
# @return [Google::Apis::AndroidpublisherV3::IntroductoryPriceDetails]
|
|
5055
|
+
attr_accessor :introductory_price_details
|
|
5056
|
+
|
|
5057
|
+
# Details of a proration period. A proration period can be a period calculated
|
|
5058
|
+
# during a plan change to cover existing entitlements (For more information, see
|
|
5059
|
+
# [Allow users to upgrade, downgrade, or change their subscription](https://
|
|
5060
|
+
# developer.android.com/google/play/billing/subscriptions#allow-users-change),
|
|
5061
|
+
# or a prorated period to align add-on renewal dates with the base (For more
|
|
5062
|
+
# information, see [Rules applicable for items in the purchase](https://
|
|
5063
|
+
# developer.android.com/google/play/billing/subscription-with-addons#rules-base-
|
|
5064
|
+
# addons)).
|
|
5065
|
+
# Corresponds to the JSON property `prorationPeriodDetails`
|
|
5066
|
+
# @return [Google::Apis::AndroidpublisherV3::ProrationPeriodDetails]
|
|
5067
|
+
attr_accessor :proration_period_details
|
|
5068
|
+
|
|
5069
|
+
def initialize(**args)
|
|
5070
|
+
update!(**args)
|
|
5071
|
+
end
|
|
5072
|
+
|
|
5073
|
+
# Update properties of this object
|
|
5074
|
+
def update!(**args)
|
|
5075
|
+
@base_details = args[:base_details] if args.key?(:base_details)
|
|
5076
|
+
@free_trial_details = args[:free_trial_details] if args.key?(:free_trial_details)
|
|
5077
|
+
@introductory_price_details = args[:introductory_price_details] if args.key?(:introductory_price_details)
|
|
5078
|
+
@proration_period_details = args[:proration_period_details] if args.key?(:proration_period_details)
|
|
5079
|
+
end
|
|
5080
|
+
end
|
|
5081
|
+
|
|
4799
5082
|
# Represents a custom tag specified for a product offer.
|
|
4800
5083
|
class OfferTag
|
|
4801
5084
|
include Google::Apis::Core::Hashable
|
|
@@ -5370,6 +5653,14 @@ module Google
|
|
|
5370
5653
|
attr_accessor :is_tokenized_digital_asset
|
|
5371
5654
|
alias_method :is_tokenized_digital_asset?, :is_tokenized_digital_asset
|
|
5372
5655
|
|
|
5656
|
+
# Product tax category code to assign to the one-time product. Product tax
|
|
5657
|
+
# category determines the transaction tax rates applied to the product. Refer to
|
|
5658
|
+
# the [Help Center article](https://support.google.com/googleplay/android-
|
|
5659
|
+
# developer/answer/16408159) for more information.
|
|
5660
|
+
# Corresponds to the JSON property `productTaxCategoryCode`
|
|
5661
|
+
# @return [String]
|
|
5662
|
+
attr_accessor :product_tax_category_code
|
|
5663
|
+
|
|
5373
5664
|
# Regional tax configuration.
|
|
5374
5665
|
# Corresponds to the JSON property `regionalTaxConfigs`
|
|
5375
5666
|
# @return [Array<Google::Apis::AndroidpublisherV3::RegionalTaxConfig>]
|
|
@@ -5382,6 +5673,7 @@ module Google
|
|
|
5382
5673
|
# Update properties of this object
|
|
5383
5674
|
def update!(**args)
|
|
5384
5675
|
@is_tokenized_digital_asset = args[:is_tokenized_digital_asset] if args.key?(:is_tokenized_digital_asset)
|
|
5676
|
+
@product_tax_category_code = args[:product_tax_category_code] if args.key?(:product_tax_category_code)
|
|
5385
5677
|
@regional_tax_configs = args[:regional_tax_configs] if args.key?(:regional_tax_configs)
|
|
5386
5678
|
end
|
|
5387
5679
|
end
|
|
@@ -5395,6 +5687,11 @@ module Google
|
|
|
5395
5687
|
# @return [String]
|
|
5396
5688
|
attr_accessor :offer_id
|
|
5397
5689
|
|
|
5690
|
+
# Details of a pre-order purchase.
|
|
5691
|
+
# Corresponds to the JSON property `preorderDetails`
|
|
5692
|
+
# @return [Google::Apis::AndroidpublisherV3::PreorderDetails]
|
|
5693
|
+
attr_accessor :preorder_details
|
|
5694
|
+
|
|
5398
5695
|
# ID of the purchase option. This field is set for both purchase options and
|
|
5399
5696
|
# variant offers. For purchase options, this ID identifies the purchase option
|
|
5400
5697
|
# itself. For variant offers, this ID refers to the associated purchase option,
|
|
@@ -5420,6 +5717,7 @@ module Google
|
|
|
5420
5717
|
# Update properties of this object
|
|
5421
5718
|
def update!(**args)
|
|
5422
5719
|
@offer_id = args[:offer_id] if args.key?(:offer_id)
|
|
5720
|
+
@preorder_details = args[:preorder_details] if args.key?(:preorder_details)
|
|
5423
5721
|
@purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id)
|
|
5424
5722
|
@quantity = args[:quantity] if args.key?(:quantity)
|
|
5425
5723
|
@rental_details = args[:rental_details] if args.key?(:rental_details)
|
|
@@ -5498,6 +5796,11 @@ module Google
|
|
|
5498
5796
|
# @return [String]
|
|
5499
5797
|
attr_accessor :purchase_token
|
|
5500
5798
|
|
|
5799
|
+
# The originating sales channel of the order.
|
|
5800
|
+
# Corresponds to the JSON property `salesChannel`
|
|
5801
|
+
# @return [String]
|
|
5802
|
+
attr_accessor :sales_channel
|
|
5803
|
+
|
|
5501
5804
|
# The state of the order.
|
|
5502
5805
|
# Corresponds to the JSON property `state`
|
|
5503
5806
|
# @return [String]
|
|
@@ -5529,6 +5832,7 @@ module Google
|
|
|
5529
5832
|
@order_id = args[:order_id] if args.key?(:order_id)
|
|
5530
5833
|
@points_details = args[:points_details] if args.key?(:points_details)
|
|
5531
5834
|
@purchase_token = args[:purchase_token] if args.key?(:purchase_token)
|
|
5835
|
+
@sales_channel = args[:sales_channel] if args.key?(:sales_channel)
|
|
5532
5836
|
@state = args[:state] if args.key?(:state)
|
|
5533
5837
|
@tax = args[:tax] if args.key?(:tax)
|
|
5534
5838
|
@total = args[:total] if args.key?(:total)
|
|
@@ -5747,6 +6051,34 @@ module Google
|
|
|
5747
6051
|
end
|
|
5748
6052
|
end
|
|
5749
6053
|
|
|
6054
|
+
# Information specific to an out of app purchase.
|
|
6055
|
+
class OutOfAppPurchaseContext
|
|
6056
|
+
include Google::Apis::Core::Hashable
|
|
6057
|
+
|
|
6058
|
+
# User account identifier in the third-party service.
|
|
6059
|
+
# Corresponds to the JSON property `expiredExternalAccountIdentifiers`
|
|
6060
|
+
# @return [Google::Apis::AndroidpublisherV3::ExternalAccountIdentifiers]
|
|
6061
|
+
attr_accessor :expired_external_account_identifiers
|
|
6062
|
+
|
|
6063
|
+
# The purchase token of the last expired subscription. This purchase token must
|
|
6064
|
+
# only be used to help identify the user if the link between the purchaseToken
|
|
6065
|
+
# and user is stored in your database. This cannot be used to call the Google
|
|
6066
|
+
# Developer API if it has been more than 60 days since expiry.
|
|
6067
|
+
# Corresponds to the JSON property `expiredPurchaseToken`
|
|
6068
|
+
# @return [String]
|
|
6069
|
+
attr_accessor :expired_purchase_token
|
|
6070
|
+
|
|
6071
|
+
def initialize(**args)
|
|
6072
|
+
update!(**args)
|
|
6073
|
+
end
|
|
6074
|
+
|
|
6075
|
+
# Update properties of this object
|
|
6076
|
+
def update!(**args)
|
|
6077
|
+
@expired_external_account_identifiers = args[:expired_external_account_identifiers] if args.key?(:expired_external_account_identifiers)
|
|
6078
|
+
@expired_purchase_token = args[:expired_purchase_token] if args.key?(:expired_purchase_token)
|
|
6079
|
+
end
|
|
6080
|
+
end
|
|
6081
|
+
|
|
5750
6082
|
# Information about the current page. List operations that supports paging
|
|
5751
6083
|
# return only one "page" of results. This protocol buffer message describes the
|
|
5752
6084
|
# page that has been returned.
|
|
@@ -5935,6 +6267,38 @@ module Google
|
|
|
5935
6267
|
end
|
|
5936
6268
|
end
|
|
5937
6269
|
|
|
6270
|
+
# Details of a pre-order purchase.
|
|
6271
|
+
class PreorderDetails
|
|
6272
|
+
include Google::Apis::Core::Hashable
|
|
6273
|
+
|
|
6274
|
+
def initialize(**args)
|
|
6275
|
+
update!(**args)
|
|
6276
|
+
end
|
|
6277
|
+
|
|
6278
|
+
# Update properties of this object
|
|
6279
|
+
def update!(**args)
|
|
6280
|
+
end
|
|
6281
|
+
end
|
|
6282
|
+
|
|
6283
|
+
# Offer details information related to a preorder line item.
|
|
6284
|
+
class PreorderOfferDetails
|
|
6285
|
+
include Google::Apis::Core::Hashable
|
|
6286
|
+
|
|
6287
|
+
# The time when a preordered item is released for a preorder purchase.
|
|
6288
|
+
# Corresponds to the JSON property `preorderReleaseTime`
|
|
6289
|
+
# @return [String]
|
|
6290
|
+
attr_accessor :preorder_release_time
|
|
6291
|
+
|
|
6292
|
+
def initialize(**args)
|
|
6293
|
+
update!(**args)
|
|
6294
|
+
end
|
|
6295
|
+
|
|
6296
|
+
# Update properties of this object
|
|
6297
|
+
def update!(**args)
|
|
6298
|
+
@preorder_release_time = args[:preorder_release_time] if args.key?(:preorder_release_time)
|
|
6299
|
+
end
|
|
6300
|
+
end
|
|
6301
|
+
|
|
5938
6302
|
# Represents a base plan that does not automatically renew at the end of the
|
|
5939
6303
|
# base plan, and must be manually renewed by the user.
|
|
5940
6304
|
class PrepaidBasePlanType
|
|
@@ -6010,6 +6374,38 @@ module Google
|
|
|
6010
6374
|
end
|
|
6011
6375
|
end
|
|
6012
6376
|
|
|
6377
|
+
# Information related to a price step-up that requires user consent.
|
|
6378
|
+
class PriceStepUpConsentDetails
|
|
6379
|
+
include Google::Apis::Core::Hashable
|
|
6380
|
+
|
|
6381
|
+
# The deadline by which the user must provide consent. If consent is not
|
|
6382
|
+
# provided by this time, the subscription will be canceled.
|
|
6383
|
+
# Corresponds to the JSON property `consentDeadlineTime`
|
|
6384
|
+
# @return [String]
|
|
6385
|
+
attr_accessor :consent_deadline_time
|
|
6386
|
+
|
|
6387
|
+
# Represents an amount of money with its currency type.
|
|
6388
|
+
# Corresponds to the JSON property `newPrice`
|
|
6389
|
+
# @return [Google::Apis::AndroidpublisherV3::Money]
|
|
6390
|
+
attr_accessor :new_price
|
|
6391
|
+
|
|
6392
|
+
# Output only. The state of the price step-up consent.
|
|
6393
|
+
# Corresponds to the JSON property `state`
|
|
6394
|
+
# @return [String]
|
|
6395
|
+
attr_accessor :state
|
|
6396
|
+
|
|
6397
|
+
def initialize(**args)
|
|
6398
|
+
update!(**args)
|
|
6399
|
+
end
|
|
6400
|
+
|
|
6401
|
+
# Update properties of this object
|
|
6402
|
+
def update!(**args)
|
|
6403
|
+
@consent_deadline_time = args[:consent_deadline_time] if args.key?(:consent_deadline_time)
|
|
6404
|
+
@new_price = args[:new_price] if args.key?(:new_price)
|
|
6405
|
+
@state = args[:state] if args.key?(:state)
|
|
6406
|
+
end
|
|
6407
|
+
end
|
|
6408
|
+
|
|
6013
6409
|
# Details of when the order was processed.
|
|
6014
6410
|
class ProcessedEvent
|
|
6015
6411
|
include Google::Apis::Core::Hashable
|
|
@@ -6079,6 +6475,11 @@ module Google
|
|
|
6079
6475
|
# @return [String]
|
|
6080
6476
|
attr_accessor :offer_token
|
|
6081
6477
|
|
|
6478
|
+
# Offer details information related to a preorder line item.
|
|
6479
|
+
# Corresponds to the JSON property `preorderOfferDetails`
|
|
6480
|
+
# @return [Google::Apis::AndroidpublisherV3::PreorderOfferDetails]
|
|
6481
|
+
attr_accessor :preorder_offer_details
|
|
6482
|
+
|
|
6082
6483
|
# The purchase option ID.
|
|
6083
6484
|
# Corresponds to the JSON property `purchaseOptionId`
|
|
6084
6485
|
# @return [String]
|
|
@@ -6110,6 +6511,7 @@ module Google
|
|
|
6110
6511
|
@offer_id = args[:offer_id] if args.key?(:offer_id)
|
|
6111
6512
|
@offer_tags = args[:offer_tags] if args.key?(:offer_tags)
|
|
6112
6513
|
@offer_token = args[:offer_token] if args.key?(:offer_token)
|
|
6514
|
+
@preorder_offer_details = args[:preorder_offer_details] if args.key?(:preorder_offer_details)
|
|
6113
6515
|
@purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id)
|
|
6114
6516
|
@quantity = args[:quantity] if args.key?(:quantity)
|
|
6115
6517
|
@refundable_quantity = args[:refundable_quantity] if args.key?(:refundable_quantity)
|
|
@@ -6346,6 +6748,45 @@ module Google
|
|
|
6346
6748
|
end
|
|
6347
6749
|
end
|
|
6348
6750
|
|
|
6751
|
+
# Details of a proration period. A proration period can be a period calculated
|
|
6752
|
+
# during a plan change to cover existing entitlements (For more information, see
|
|
6753
|
+
# [Allow users to upgrade, downgrade, or change their subscription](https://
|
|
6754
|
+
# developer.android.com/google/play/billing/subscriptions#allow-users-change),
|
|
6755
|
+
# or a prorated period to align add-on renewal dates with the base (For more
|
|
6756
|
+
# information, see [Rules applicable for items in the purchase](https://
|
|
6757
|
+
# developer.android.com/google/play/billing/subscription-with-addons#rules-base-
|
|
6758
|
+
# addons)).
|
|
6759
|
+
class ProrationPeriodDetails
|
|
6760
|
+
include Google::Apis::Core::Hashable
|
|
6761
|
+
|
|
6762
|
+
# The last order id of the original subscription purchase prior to the plan
|
|
6763
|
+
# change. This is only populated if this proration period is from an ugrade/
|
|
6764
|
+
# downgrade from a previous subscription and carries the remaining offer phase
|
|
6765
|
+
# from the linked order of the previous subscription.
|
|
6766
|
+
# Corresponds to the JSON property `linkedOrderId`
|
|
6767
|
+
# @return [String]
|
|
6768
|
+
attr_accessor :linked_order_id
|
|
6769
|
+
|
|
6770
|
+
# Represent the original offer phase from the purchased the line item if the
|
|
6771
|
+
# proration period contains any of them. For example, a proration period from
|
|
6772
|
+
# CHARGE_FULL_PRICE plan change may merge the 1st offer phase of the
|
|
6773
|
+
# subscription offer of the new product user purchased. In this case, the
|
|
6774
|
+
# original offer phase will be set here.
|
|
6775
|
+
# Corresponds to the JSON property `originalOfferPhase`
|
|
6776
|
+
# @return [String]
|
|
6777
|
+
attr_accessor :original_offer_phase
|
|
6778
|
+
|
|
6779
|
+
def initialize(**args)
|
|
6780
|
+
update!(**args)
|
|
6781
|
+
end
|
|
6782
|
+
|
|
6783
|
+
# Update properties of this object
|
|
6784
|
+
def update!(**args)
|
|
6785
|
+
@linked_order_id = args[:linked_order_id] if args.key?(:linked_order_id)
|
|
6786
|
+
@original_offer_phase = args[:original_offer_phase] if args.key?(:original_offer_phase)
|
|
6787
|
+
end
|
|
6788
|
+
end
|
|
6789
|
+
|
|
6349
6790
|
# Details about taxation, Google Play policy and legal compliance for one-time
|
|
6350
6791
|
# product purchase options.
|
|
6351
6792
|
class PurchaseOptionTaxAndComplianceSettings
|
|
@@ -7625,11 +8066,17 @@ module Google
|
|
|
7625
8066
|
# @return [String]
|
|
7626
8067
|
attr_accessor :offer_id
|
|
7627
8068
|
|
|
7628
|
-
# The pricing phase for the billing period funded by this order.
|
|
8069
|
+
# The pricing phase for the billing period funded by this order. Deprecated. Use
|
|
8070
|
+
# offer_phase_details instead.
|
|
7629
8071
|
# Corresponds to the JSON property `offerPhase`
|
|
7630
8072
|
# @return [String]
|
|
7631
8073
|
attr_accessor :offer_phase
|
|
7632
8074
|
|
|
8075
|
+
# Details of a pricing phase for the entitlement period funded by this order.
|
|
8076
|
+
# Corresponds to the JSON property `offerPhaseDetails`
|
|
8077
|
+
# @return [Google::Apis::AndroidpublisherV3::OfferPhaseDetails]
|
|
8078
|
+
attr_accessor :offer_phase_details
|
|
8079
|
+
|
|
7633
8080
|
# The end of the billing period funded by this order. This is a snapshot of the
|
|
7634
8081
|
# billing/service period end time at the moment the order was processed, and
|
|
7635
8082
|
# should be used only for accounting. To get the current end time of the
|
|
@@ -7654,6 +8101,7 @@ module Google
|
|
|
7654
8101
|
@base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id)
|
|
7655
8102
|
@offer_id = args[:offer_id] if args.key?(:offer_id)
|
|
7656
8103
|
@offer_phase = args[:offer_phase] if args.key?(:offer_phase)
|
|
8104
|
+
@offer_phase_details = args[:offer_phase_details] if args.key?(:offer_phase_details)
|
|
7657
8105
|
@service_period_end_time = args[:service_period_end_time] if args.key?(:service_period_end_time)
|
|
7658
8106
|
@service_period_start_time = args[:service_period_start_time] if args.key?(:service_period_start_time)
|
|
7659
8107
|
end
|
|
@@ -8191,6 +8639,11 @@ module Google
|
|
|
8191
8639
|
# @return [String]
|
|
8192
8640
|
attr_accessor :expiry_time
|
|
8193
8641
|
|
|
8642
|
+
# Details about a subscription line item that is being replaced.
|
|
8643
|
+
# Corresponds to the JSON property `itemReplacement`
|
|
8644
|
+
# @return [Google::Apis::AndroidpublisherV3::ItemReplacement]
|
|
8645
|
+
attr_accessor :item_replacement
|
|
8646
|
+
|
|
8194
8647
|
# The order id of the latest successful order associated with this item. Not
|
|
8195
8648
|
# present if the item is not owned by the user yet (e.g. the item being deferred
|
|
8196
8649
|
# replaced to).
|
|
@@ -8228,6 +8681,7 @@ module Google
|
|
|
8228
8681
|
@deferred_item_removal = args[:deferred_item_removal] if args.key?(:deferred_item_removal)
|
|
8229
8682
|
@deferred_item_replacement = args[:deferred_item_replacement] if args.key?(:deferred_item_replacement)
|
|
8230
8683
|
@expiry_time = args[:expiry_time] if args.key?(:expiry_time)
|
|
8684
|
+
@item_replacement = args[:item_replacement] if args.key?(:item_replacement)
|
|
8231
8685
|
@latest_successful_order_id = args[:latest_successful_order_id] if args.key?(:latest_successful_order_id)
|
|
8232
8686
|
@offer_details = args[:offer_details] if args.key?(:offer_details)
|
|
8233
8687
|
@prepaid_plan = args[:prepaid_plan] if args.key?(:prepaid_plan)
|
|
@@ -8287,6 +8741,11 @@ module Google
|
|
|
8287
8741
|
# @return [String]
|
|
8288
8742
|
attr_accessor :linked_purchase_token
|
|
8289
8743
|
|
|
8744
|
+
# Information specific to an out of app purchase.
|
|
8745
|
+
# Corresponds to the JSON property `outOfAppPurchaseContext`
|
|
8746
|
+
# @return [Google::Apis::AndroidpublisherV3::OutOfAppPurchaseContext]
|
|
8747
|
+
attr_accessor :out_of_app_purchase_context
|
|
8748
|
+
|
|
8290
8749
|
# Information specific to a subscription in paused state.
|
|
8291
8750
|
# Corresponds to the JSON property `pausedStateContext`
|
|
8292
8751
|
# @return [Google::Apis::AndroidpublisherV3::PausedStateContext]
|
|
@@ -8332,6 +8791,7 @@ module Google
|
|
|
8332
8791
|
@latest_order_id = args[:latest_order_id] if args.key?(:latest_order_id)
|
|
8333
8792
|
@line_items = args[:line_items] if args.key?(:line_items)
|
|
8334
8793
|
@linked_purchase_token = args[:linked_purchase_token] if args.key?(:linked_purchase_token)
|
|
8794
|
+
@out_of_app_purchase_context = args[:out_of_app_purchase_context] if args.key?(:out_of_app_purchase_context)
|
|
8335
8795
|
@paused_state_context = args[:paused_state_context] if args.key?(:paused_state_context)
|
|
8336
8796
|
@region_code = args[:region_code] if args.key?(:region_code)
|
|
8337
8797
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
@@ -8350,6 +8810,11 @@ module Google
|
|
|
8350
8810
|
# @return [String]
|
|
8351
8811
|
attr_accessor :developer_payload
|
|
8352
8812
|
|
|
8813
|
+
# User account identifier in your app.
|
|
8814
|
+
# Corresponds to the JSON property `externalAccountIds`
|
|
8815
|
+
# @return [Google::Apis::AndroidpublisherV3::ExternalAccountIds]
|
|
8816
|
+
attr_accessor :external_account_ids
|
|
8817
|
+
|
|
8353
8818
|
def initialize(**args)
|
|
8354
8819
|
update!(**args)
|
|
8355
8820
|
end
|
|
@@ -8357,6 +8822,7 @@ module Google
|
|
|
8357
8822
|
# Update properties of this object
|
|
8358
8823
|
def update!(**args)
|
|
8359
8824
|
@developer_payload = args[:developer_payload] if args.key?(:developer_payload)
|
|
8825
|
+
@external_account_ids = args[:external_account_ids] if args.key?(:external_account_ids)
|
|
8360
8826
|
end
|
|
8361
8827
|
end
|
|
8362
8828
|
|
|
@@ -8420,6 +8886,14 @@ module Google
|
|
|
8420
8886
|
attr_accessor :is_tokenized_digital_asset
|
|
8421
8887
|
alias_method :is_tokenized_digital_asset?, :is_tokenized_digital_asset
|
|
8422
8888
|
|
|
8889
|
+
# Product tax category code to assign to the subscription. Product tax category
|
|
8890
|
+
# determines the transaction tax rates applied to the subscription. Refer to the
|
|
8891
|
+
# [Help Center article](https://support.google.com/googleplay/android-developer/
|
|
8892
|
+
# answer/16408159) for more information.
|
|
8893
|
+
# Corresponds to the JSON property `productTaxCategoryCode`
|
|
8894
|
+
# @return [String]
|
|
8895
|
+
attr_accessor :product_tax_category_code
|
|
8896
|
+
|
|
8423
8897
|
# A mapping from region code to tax rate details. The keys are region codes as
|
|
8424
8898
|
# defined by Unicode's "CLDR".
|
|
8425
8899
|
# Corresponds to the JSON property `taxRateInfoByRegionCode`
|
|
@@ -8434,6 +8908,7 @@ module Google
|
|
|
8434
8908
|
def update!(**args)
|
|
8435
8909
|
@eea_withdrawal_right_type = args[:eea_withdrawal_right_type] if args.key?(:eea_withdrawal_right_type)
|
|
8436
8910
|
@is_tokenized_digital_asset = args[:is_tokenized_digital_asset] if args.key?(:is_tokenized_digital_asset)
|
|
8911
|
+
@product_tax_category_code = args[:product_tax_category_code] if args.key?(:product_tax_category_code)
|
|
8437
8912
|
@tax_rate_info_by_region_code = args[:tax_rate_info_by_region_code] if args.key?(:tax_rate_info_by_region_code)
|
|
8438
8913
|
end
|
|
8439
8914
|
end
|
|
@@ -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.92.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 = "20251211"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -196,6 +196,12 @@ module Google
|
|
|
196
196
|
include Google::Apis::Core::JsonObjectSupport
|
|
197
197
|
end
|
|
198
198
|
|
|
199
|
+
class BaseDetails
|
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
|
+
|
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
203
|
+
end
|
|
204
|
+
|
|
199
205
|
class BasePlan
|
|
200
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
207
|
|
|
@@ -406,6 +412,18 @@ module Google
|
|
|
406
412
|
include Google::Apis::Core::JsonObjectSupport
|
|
407
413
|
end
|
|
408
414
|
|
|
415
|
+
class CancelSubscriptionPurchaseRequest
|
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
417
|
+
|
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
419
|
+
end
|
|
420
|
+
|
|
421
|
+
class CancelSubscriptionPurchaseResponse
|
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
423
|
+
|
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
425
|
+
end
|
|
426
|
+
|
|
409
427
|
class CancelSurveyResult
|
|
410
428
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
411
429
|
|
|
@@ -418,6 +436,12 @@ module Google
|
|
|
418
436
|
include Google::Apis::Core::JsonObjectSupport
|
|
419
437
|
end
|
|
420
438
|
|
|
439
|
+
class CancellationContext
|
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
441
|
+
|
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
443
|
+
end
|
|
444
|
+
|
|
421
445
|
class CancellationEvent
|
|
422
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
423
447
|
|
|
@@ -640,6 +664,18 @@ module Google
|
|
|
640
664
|
include Google::Apis::Core::JsonObjectSupport
|
|
641
665
|
end
|
|
642
666
|
|
|
667
|
+
class ExternalAccountIds
|
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
669
|
+
|
|
670
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
671
|
+
end
|
|
672
|
+
|
|
673
|
+
class ExternalOfferDetails
|
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
675
|
+
|
|
676
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
677
|
+
end
|
|
678
|
+
|
|
643
679
|
class ExternalSubscription
|
|
644
680
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
645
681
|
|
|
@@ -670,6 +706,12 @@ module Google
|
|
|
670
706
|
include Google::Apis::Core::JsonObjectSupport
|
|
671
707
|
end
|
|
672
708
|
|
|
709
|
+
class FreeTrialDetails
|
|
710
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
711
|
+
|
|
712
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
713
|
+
end
|
|
714
|
+
|
|
673
715
|
class FullRefund
|
|
674
716
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
675
717
|
|
|
@@ -832,12 +874,24 @@ module Google
|
|
|
832
874
|
include Google::Apis::Core::JsonObjectSupport
|
|
833
875
|
end
|
|
834
876
|
|
|
877
|
+
class IntroductoryPriceDetails
|
|
878
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
879
|
+
|
|
880
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
881
|
+
end
|
|
882
|
+
|
|
835
883
|
class IntroductoryPriceInfo
|
|
836
884
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
837
885
|
|
|
838
886
|
include Google::Apis::Core::JsonObjectSupport
|
|
839
887
|
end
|
|
840
888
|
|
|
889
|
+
class ItemReplacement
|
|
890
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
891
|
+
|
|
892
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
893
|
+
end
|
|
894
|
+
|
|
841
895
|
class LanguageTargeting
|
|
842
896
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
843
897
|
|
|
@@ -964,6 +1018,12 @@ module Google
|
|
|
964
1018
|
include Google::Apis::Core::JsonObjectSupport
|
|
965
1019
|
end
|
|
966
1020
|
|
|
1021
|
+
class OfferPhaseDetails
|
|
1022
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1023
|
+
|
|
1024
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1025
|
+
end
|
|
1026
|
+
|
|
967
1027
|
class OfferTag
|
|
968
1028
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
969
1029
|
|
|
@@ -1120,6 +1180,12 @@ module Google
|
|
|
1120
1180
|
include Google::Apis::Core::JsonObjectSupport
|
|
1121
1181
|
end
|
|
1122
1182
|
|
|
1183
|
+
class OutOfAppPurchaseContext
|
|
1184
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1185
|
+
|
|
1186
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1187
|
+
end
|
|
1188
|
+
|
|
1123
1189
|
class PageInfo
|
|
1124
1190
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1125
1191
|
|
|
@@ -1162,6 +1228,18 @@ module Google
|
|
|
1162
1228
|
include Google::Apis::Core::JsonObjectSupport
|
|
1163
1229
|
end
|
|
1164
1230
|
|
|
1231
|
+
class PreorderDetails
|
|
1232
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1233
|
+
|
|
1234
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1235
|
+
end
|
|
1236
|
+
|
|
1237
|
+
class PreorderOfferDetails
|
|
1238
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1239
|
+
|
|
1240
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1241
|
+
end
|
|
1242
|
+
|
|
1165
1243
|
class PrepaidBasePlanType
|
|
1166
1244
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1167
1245
|
|
|
@@ -1180,6 +1258,12 @@ module Google
|
|
|
1180
1258
|
include Google::Apis::Core::JsonObjectSupport
|
|
1181
1259
|
end
|
|
1182
1260
|
|
|
1261
|
+
class PriceStepUpConsentDetails
|
|
1262
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1263
|
+
|
|
1264
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1265
|
+
end
|
|
1266
|
+
|
|
1183
1267
|
class ProcessedEvent
|
|
1184
1268
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1185
1269
|
|
|
@@ -1216,6 +1300,12 @@ module Google
|
|
|
1216
1300
|
include Google::Apis::Core::JsonObjectSupport
|
|
1217
1301
|
end
|
|
1218
1302
|
|
|
1303
|
+
class ProrationPeriodDetails
|
|
1304
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1305
|
+
|
|
1306
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1307
|
+
end
|
|
1308
|
+
|
|
1219
1309
|
class PurchaseOptionTaxAndComplianceSettings
|
|
1220
1310
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1221
1311
|
|
|
@@ -2122,11 +2212,19 @@ module Google
|
|
|
2122
2212
|
|
|
2123
2213
|
property :price_change_details, as: 'priceChangeDetails', class: Google::Apis::AndroidpublisherV3::SubscriptionItemPriceChangeDetails, decorator: Google::Apis::AndroidpublisherV3::SubscriptionItemPriceChangeDetails::Representation
|
|
2124
2214
|
|
|
2215
|
+
property :price_step_up_consent_details, as: 'priceStepUpConsentDetails', class: Google::Apis::AndroidpublisherV3::PriceStepUpConsentDetails, decorator: Google::Apis::AndroidpublisherV3::PriceStepUpConsentDetails::Representation
|
|
2216
|
+
|
|
2125
2217
|
property :recurring_price, as: 'recurringPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
|
|
2126
2218
|
|
|
2127
2219
|
end
|
|
2128
2220
|
end
|
|
2129
2221
|
|
|
2222
|
+
class BaseDetails
|
|
2223
|
+
# @private
|
|
2224
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2225
|
+
end
|
|
2226
|
+
end
|
|
2227
|
+
|
|
2130
2228
|
class BasePlan
|
|
2131
2229
|
# @private
|
|
2132
2230
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2421,6 +2519,20 @@ module Google
|
|
|
2421
2519
|
end
|
|
2422
2520
|
end
|
|
2423
2521
|
|
|
2522
|
+
class CancelSubscriptionPurchaseRequest
|
|
2523
|
+
# @private
|
|
2524
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2525
|
+
property :cancellation_context, as: 'cancellationContext', class: Google::Apis::AndroidpublisherV3::CancellationContext, decorator: Google::Apis::AndroidpublisherV3::CancellationContext::Representation
|
|
2526
|
+
|
|
2527
|
+
end
|
|
2528
|
+
end
|
|
2529
|
+
|
|
2530
|
+
class CancelSubscriptionPurchaseResponse
|
|
2531
|
+
# @private
|
|
2532
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2533
|
+
end
|
|
2534
|
+
end
|
|
2535
|
+
|
|
2424
2536
|
class CancelSurveyResult
|
|
2425
2537
|
# @private
|
|
2426
2538
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2443,6 +2555,13 @@ module Google
|
|
|
2443
2555
|
end
|
|
2444
2556
|
end
|
|
2445
2557
|
|
|
2558
|
+
class CancellationContext
|
|
2559
|
+
# @private
|
|
2560
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2561
|
+
property :cancellation_type, as: 'cancellationType'
|
|
2562
|
+
end
|
|
2563
|
+
end
|
|
2564
|
+
|
|
2446
2565
|
class CancellationEvent
|
|
2447
2566
|
# @private
|
|
2448
2567
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2786,6 +2905,24 @@ module Google
|
|
|
2786
2905
|
end
|
|
2787
2906
|
end
|
|
2788
2907
|
|
|
2908
|
+
class ExternalAccountIds
|
|
2909
|
+
# @private
|
|
2910
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2911
|
+
property :obfuscated_account_id, as: 'obfuscatedAccountId'
|
|
2912
|
+
property :obfuscated_profile_id, as: 'obfuscatedProfileId'
|
|
2913
|
+
end
|
|
2914
|
+
end
|
|
2915
|
+
|
|
2916
|
+
class ExternalOfferDetails
|
|
2917
|
+
# @private
|
|
2918
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2919
|
+
property :app_download_event_external_transaction_id, as: 'appDownloadEventExternalTransactionId'
|
|
2920
|
+
property :installed_app_category, as: 'installedAppCategory'
|
|
2921
|
+
property :installed_app_package, as: 'installedAppPackage'
|
|
2922
|
+
property :link_type, as: 'linkType'
|
|
2923
|
+
end
|
|
2924
|
+
end
|
|
2925
|
+
|
|
2789
2926
|
class ExternalSubscription
|
|
2790
2927
|
# @private
|
|
2791
2928
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2801,6 +2938,8 @@ module Google
|
|
|
2801
2938
|
|
|
2802
2939
|
property :current_tax_amount, as: 'currentTaxAmount', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation
|
|
2803
2940
|
|
|
2941
|
+
property :external_offer_details, as: 'externalOfferDetails', class: Google::Apis::AndroidpublisherV3::ExternalOfferDetails, decorator: Google::Apis::AndroidpublisherV3::ExternalOfferDetails::Representation
|
|
2942
|
+
|
|
2804
2943
|
property :external_transaction_id, as: 'externalTransactionId'
|
|
2805
2944
|
property :one_time_transaction, as: 'oneTimeTransaction', class: Google::Apis::AndroidpublisherV3::OneTimeExternalTransaction, decorator: Google::Apis::AndroidpublisherV3::OneTimeExternalTransaction::Representation
|
|
2806
2945
|
|
|
@@ -2857,6 +2996,12 @@ module Google
|
|
|
2857
2996
|
end
|
|
2858
2997
|
end
|
|
2859
2998
|
|
|
2999
|
+
class FreeTrialDetails
|
|
3000
|
+
# @private
|
|
3001
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3002
|
+
end
|
|
3003
|
+
end
|
|
3004
|
+
|
|
2860
3005
|
class FullRefund
|
|
2861
3006
|
# @private
|
|
2862
3007
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3131,6 +3276,12 @@ module Google
|
|
|
3131
3276
|
end
|
|
3132
3277
|
end
|
|
3133
3278
|
|
|
3279
|
+
class IntroductoryPriceDetails
|
|
3280
|
+
# @private
|
|
3281
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3282
|
+
end
|
|
3283
|
+
end
|
|
3284
|
+
|
|
3134
3285
|
class IntroductoryPriceInfo
|
|
3135
3286
|
# @private
|
|
3136
3287
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3141,6 +3292,16 @@ module Google
|
|
|
3141
3292
|
end
|
|
3142
3293
|
end
|
|
3143
3294
|
|
|
3295
|
+
class ItemReplacement
|
|
3296
|
+
# @private
|
|
3297
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3298
|
+
property :base_plan_id, as: 'basePlanId'
|
|
3299
|
+
property :offer_id, as: 'offerId'
|
|
3300
|
+
property :product_id, as: 'productId'
|
|
3301
|
+
property :replacement_mode, as: 'replacementMode'
|
|
3302
|
+
end
|
|
3303
|
+
end
|
|
3304
|
+
|
|
3144
3305
|
class LanguageTargeting
|
|
3145
3306
|
# @private
|
|
3146
3307
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3264,6 +3425,7 @@ module Google
|
|
|
3264
3425
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3265
3426
|
property :eea_withdrawal_right_type, as: 'eeaWithdrawalRightType'
|
|
3266
3427
|
property :is_tokenized_digital_asset, as: 'isTokenizedDigitalAsset'
|
|
3428
|
+
property :product_tax_category_code, as: 'productTaxCategoryCode'
|
|
3267
3429
|
hash :tax_rate_info_by_region_code, as: 'taxRateInfoByRegionCode', class: Google::Apis::AndroidpublisherV3::RegionalTaxRateInfo, decorator: Google::Apis::AndroidpublisherV3::RegionalTaxRateInfo::Representation
|
|
3268
3430
|
|
|
3269
3431
|
end
|
|
@@ -3349,6 +3511,20 @@ module Google
|
|
|
3349
3511
|
end
|
|
3350
3512
|
end
|
|
3351
3513
|
|
|
3514
|
+
class OfferPhaseDetails
|
|
3515
|
+
# @private
|
|
3516
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3517
|
+
property :base_details, as: 'baseDetails', class: Google::Apis::AndroidpublisherV3::BaseDetails, decorator: Google::Apis::AndroidpublisherV3::BaseDetails::Representation
|
|
3518
|
+
|
|
3519
|
+
property :free_trial_details, as: 'freeTrialDetails', class: Google::Apis::AndroidpublisherV3::FreeTrialDetails, decorator: Google::Apis::AndroidpublisherV3::FreeTrialDetails::Representation
|
|
3520
|
+
|
|
3521
|
+
property :introductory_price_details, as: 'introductoryPriceDetails', class: Google::Apis::AndroidpublisherV3::IntroductoryPriceDetails, decorator: Google::Apis::AndroidpublisherV3::IntroductoryPriceDetails::Representation
|
|
3522
|
+
|
|
3523
|
+
property :proration_period_details, as: 'prorationPeriodDetails', class: Google::Apis::AndroidpublisherV3::ProrationPeriodDetails, decorator: Google::Apis::AndroidpublisherV3::ProrationPeriodDetails::Representation
|
|
3524
|
+
|
|
3525
|
+
end
|
|
3526
|
+
end
|
|
3527
|
+
|
|
3352
3528
|
class OfferTag
|
|
3353
3529
|
# @private
|
|
3354
3530
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3518,6 +3694,7 @@ module Google
|
|
|
3518
3694
|
# @private
|
|
3519
3695
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3520
3696
|
property :is_tokenized_digital_asset, as: 'isTokenizedDigitalAsset'
|
|
3697
|
+
property :product_tax_category_code, as: 'productTaxCategoryCode'
|
|
3521
3698
|
collection :regional_tax_configs, as: 'regionalTaxConfigs', class: Google::Apis::AndroidpublisherV3::RegionalTaxConfig, decorator: Google::Apis::AndroidpublisherV3::RegionalTaxConfig::Representation
|
|
3522
3699
|
|
|
3523
3700
|
end
|
|
@@ -3527,6 +3704,8 @@ module Google
|
|
|
3527
3704
|
# @private
|
|
3528
3705
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3529
3706
|
property :offer_id, as: 'offerId'
|
|
3707
|
+
property :preorder_details, as: 'preorderDetails', class: Google::Apis::AndroidpublisherV3::PreorderDetails, decorator: Google::Apis::AndroidpublisherV3::PreorderDetails::Representation
|
|
3708
|
+
|
|
3530
3709
|
property :purchase_option_id, as: 'purchaseOptionId'
|
|
3531
3710
|
property :quantity, as: 'quantity'
|
|
3532
3711
|
property :rental_details, as: 'rentalDetails', class: Google::Apis::AndroidpublisherV3::RentalDetails, decorator: Google::Apis::AndroidpublisherV3::RentalDetails::Representation
|
|
@@ -3553,6 +3732,7 @@ module Google
|
|
|
3553
3732
|
property :points_details, as: 'pointsDetails', class: Google::Apis::AndroidpublisherV3::PointsDetails, decorator: Google::Apis::AndroidpublisherV3::PointsDetails::Representation
|
|
3554
3733
|
|
|
3555
3734
|
property :purchase_token, as: 'purchaseToken'
|
|
3735
|
+
property :sales_channel, as: 'salesChannel'
|
|
3556
3736
|
property :state, as: 'state'
|
|
3557
3737
|
property :tax, as: 'tax', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
|
|
3558
3738
|
|
|
@@ -3635,6 +3815,15 @@ module Google
|
|
|
3635
3815
|
end
|
|
3636
3816
|
end
|
|
3637
3817
|
|
|
3818
|
+
class OutOfAppPurchaseContext
|
|
3819
|
+
# @private
|
|
3820
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3821
|
+
property :expired_external_account_identifiers, as: 'expiredExternalAccountIdentifiers', class: Google::Apis::AndroidpublisherV3::ExternalAccountIdentifiers, decorator: Google::Apis::AndroidpublisherV3::ExternalAccountIdentifiers::Representation
|
|
3822
|
+
|
|
3823
|
+
property :expired_purchase_token, as: 'expiredPurchaseToken'
|
|
3824
|
+
end
|
|
3825
|
+
end
|
|
3826
|
+
|
|
3638
3827
|
class PageInfo
|
|
3639
3828
|
# @private
|
|
3640
3829
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3694,6 +3883,19 @@ module Google
|
|
|
3694
3883
|
end
|
|
3695
3884
|
end
|
|
3696
3885
|
|
|
3886
|
+
class PreorderDetails
|
|
3887
|
+
# @private
|
|
3888
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3889
|
+
end
|
|
3890
|
+
end
|
|
3891
|
+
|
|
3892
|
+
class PreorderOfferDetails
|
|
3893
|
+
# @private
|
|
3894
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3895
|
+
property :preorder_release_time, as: 'preorderReleaseTime'
|
|
3896
|
+
end
|
|
3897
|
+
end
|
|
3898
|
+
|
|
3697
3899
|
class PrepaidBasePlanType
|
|
3698
3900
|
# @private
|
|
3699
3901
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3717,6 +3919,16 @@ module Google
|
|
|
3717
3919
|
end
|
|
3718
3920
|
end
|
|
3719
3921
|
|
|
3922
|
+
class PriceStepUpConsentDetails
|
|
3923
|
+
# @private
|
|
3924
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3925
|
+
property :consent_deadline_time, as: 'consentDeadlineTime'
|
|
3926
|
+
property :new_price, as: 'newPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
|
|
3927
|
+
|
|
3928
|
+
property :state, as: 'state'
|
|
3929
|
+
end
|
|
3930
|
+
end
|
|
3931
|
+
|
|
3720
3932
|
class ProcessedEvent
|
|
3721
3933
|
# @private
|
|
3722
3934
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3740,6 +3952,8 @@ module Google
|
|
|
3740
3952
|
property :offer_id, as: 'offerId'
|
|
3741
3953
|
collection :offer_tags, as: 'offerTags'
|
|
3742
3954
|
property :offer_token, as: 'offerToken'
|
|
3955
|
+
property :preorder_offer_details, as: 'preorderOfferDetails', class: Google::Apis::AndroidpublisherV3::PreorderOfferDetails, decorator: Google::Apis::AndroidpublisherV3::PreorderOfferDetails::Representation
|
|
3956
|
+
|
|
3743
3957
|
property :purchase_option_id, as: 'purchaseOptionId'
|
|
3744
3958
|
property :quantity, as: 'quantity'
|
|
3745
3959
|
property :refundable_quantity, as: 'refundableQuantity'
|
|
@@ -3795,6 +4009,14 @@ module Google
|
|
|
3795
4009
|
end
|
|
3796
4010
|
end
|
|
3797
4011
|
|
|
4012
|
+
class ProrationPeriodDetails
|
|
4013
|
+
# @private
|
|
4014
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4015
|
+
property :linked_order_id, as: 'linkedOrderId'
|
|
4016
|
+
property :original_offer_phase, as: 'originalOfferPhase'
|
|
4017
|
+
end
|
|
4018
|
+
end
|
|
4019
|
+
|
|
3798
4020
|
class PurchaseOptionTaxAndComplianceSettings
|
|
3799
4021
|
# @private
|
|
3800
4022
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4207,6 +4429,8 @@ module Google
|
|
|
4207
4429
|
property :base_plan_id, as: 'basePlanId'
|
|
4208
4430
|
property :offer_id, as: 'offerId'
|
|
4209
4431
|
property :offer_phase, as: 'offerPhase'
|
|
4432
|
+
property :offer_phase_details, as: 'offerPhaseDetails', class: Google::Apis::AndroidpublisherV3::OfferPhaseDetails, decorator: Google::Apis::AndroidpublisherV3::OfferPhaseDetails::Representation
|
|
4433
|
+
|
|
4210
4434
|
property :service_period_end_time, as: 'servicePeriodEndTime'
|
|
4211
4435
|
property :service_period_start_time, as: 'servicePeriodStartTime'
|
|
4212
4436
|
end
|
|
@@ -4333,6 +4557,8 @@ module Google
|
|
|
4333
4557
|
property :deferred_item_replacement, as: 'deferredItemReplacement', class: Google::Apis::AndroidpublisherV3::DeferredItemReplacement, decorator: Google::Apis::AndroidpublisherV3::DeferredItemReplacement::Representation
|
|
4334
4558
|
|
|
4335
4559
|
property :expiry_time, as: 'expiryTime'
|
|
4560
|
+
property :item_replacement, as: 'itemReplacement', class: Google::Apis::AndroidpublisherV3::ItemReplacement, decorator: Google::Apis::AndroidpublisherV3::ItemReplacement::Representation
|
|
4561
|
+
|
|
4336
4562
|
property :latest_successful_order_id, as: 'latestSuccessfulOrderId'
|
|
4337
4563
|
property :offer_details, as: 'offerDetails', class: Google::Apis::AndroidpublisherV3::OfferDetails, decorator: Google::Apis::AndroidpublisherV3::OfferDetails::Representation
|
|
4338
4564
|
|
|
@@ -4357,6 +4583,8 @@ module Google
|
|
|
4357
4583
|
collection :line_items, as: 'lineItems', class: Google::Apis::AndroidpublisherV3::SubscriptionPurchaseLineItem, decorator: Google::Apis::AndroidpublisherV3::SubscriptionPurchaseLineItem::Representation
|
|
4358
4584
|
|
|
4359
4585
|
property :linked_purchase_token, as: 'linkedPurchaseToken'
|
|
4586
|
+
property :out_of_app_purchase_context, as: 'outOfAppPurchaseContext', class: Google::Apis::AndroidpublisherV3::OutOfAppPurchaseContext, decorator: Google::Apis::AndroidpublisherV3::OutOfAppPurchaseContext::Representation
|
|
4587
|
+
|
|
4360
4588
|
property :paused_state_context, as: 'pausedStateContext', class: Google::Apis::AndroidpublisherV3::PausedStateContext, decorator: Google::Apis::AndroidpublisherV3::PausedStateContext::Representation
|
|
4361
4589
|
|
|
4362
4590
|
property :region_code, as: 'regionCode'
|
|
@@ -4373,6 +4601,8 @@ module Google
|
|
|
4373
4601
|
# @private
|
|
4374
4602
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4375
4603
|
property :developer_payload, as: 'developerPayload'
|
|
4604
|
+
property :external_account_ids, as: 'externalAccountIds', class: Google::Apis::AndroidpublisherV3::ExternalAccountIds, decorator: Google::Apis::AndroidpublisherV3::ExternalAccountIds::Representation
|
|
4605
|
+
|
|
4376
4606
|
end
|
|
4377
4607
|
end
|
|
4378
4608
|
|
|
@@ -4396,6 +4626,7 @@ module Google
|
|
|
4396
4626
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4397
4627
|
property :eea_withdrawal_right_type, as: 'eeaWithdrawalRightType'
|
|
4398
4628
|
property :is_tokenized_digital_asset, as: 'isTokenizedDigitalAsset'
|
|
4629
|
+
property :product_tax_category_code, as: 'productTaxCategoryCode'
|
|
4399
4630
|
hash :tax_rate_info_by_region_code, as: 'taxRateInfoByRegionCode', class: Google::Apis::AndroidpublisherV3::RegionalTaxRateInfo, decorator: Google::Apis::AndroidpublisherV3::RegionalTaxRateInfo::Representation
|
|
4400
4631
|
|
|
4401
4632
|
end
|
|
@@ -4823,6 +4823,44 @@ module Google
|
|
|
4823
4823
|
execute_or_queue_command(command, &block)
|
|
4824
4824
|
end
|
|
4825
4825
|
|
|
4826
|
+
# Cancel a subscription purchase for the user.
|
|
4827
|
+
# @param [String] package_name
|
|
4828
|
+
# Required. The package of the application for which this subscription was
|
|
4829
|
+
# purchased (for example, 'com.some.thing').
|
|
4830
|
+
# @param [String] token
|
|
4831
|
+
# Required. The token provided to the user's device when the subscription was
|
|
4832
|
+
# purchased.
|
|
4833
|
+
# @param [Google::Apis::AndroidpublisherV3::CancelSubscriptionPurchaseRequest] cancel_subscription_purchase_request_object
|
|
4834
|
+
# @param [String] fields
|
|
4835
|
+
# Selector specifying which fields to include in a partial response.
|
|
4836
|
+
# @param [String] quota_user
|
|
4837
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4838
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4839
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4840
|
+
# Request-specific options
|
|
4841
|
+
#
|
|
4842
|
+
# @yield [result, err] Result & error if block supplied
|
|
4843
|
+
# @yieldparam result [Google::Apis::AndroidpublisherV3::CancelSubscriptionPurchaseResponse] parsed result object
|
|
4844
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4845
|
+
#
|
|
4846
|
+
# @return [Google::Apis::AndroidpublisherV3::CancelSubscriptionPurchaseResponse]
|
|
4847
|
+
#
|
|
4848
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4849
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4850
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4851
|
+
def cancel_subscriptionsv2_subscription_purchase(package_name, token, cancel_subscription_purchase_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4852
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:cancel', options)
|
|
4853
|
+
command.request_representation = Google::Apis::AndroidpublisherV3::CancelSubscriptionPurchaseRequest::Representation
|
|
4854
|
+
command.request_object = cancel_subscription_purchase_request_object
|
|
4855
|
+
command.response_representation = Google::Apis::AndroidpublisherV3::CancelSubscriptionPurchaseResponse::Representation
|
|
4856
|
+
command.response_class = Google::Apis::AndroidpublisherV3::CancelSubscriptionPurchaseResponse
|
|
4857
|
+
command.params['packageName'] = package_name unless package_name.nil?
|
|
4858
|
+
command.params['token'] = token unless token.nil?
|
|
4859
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4860
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4861
|
+
execute_or_queue_command(command, &block)
|
|
4862
|
+
end
|
|
4863
|
+
|
|
4826
4864
|
# Get metadata about a subscription
|
|
4827
4865
|
# @param [String] package_name
|
|
4828
4866
|
# The package of the application for which this subscription was purchased (for
|
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.92.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.92.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:
|