Debian Codegraph @

docs/dyn/androidpublisher_v3.inappproducts.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="androidpublisher_v3.html">Google Play Android Developer API</a> . <a href="androidpublisher_v3.inappproducts.html">inappproducts</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#batchDelete">batchDelete(packageName, body=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Deletes in-app products (managed products or subscriptions). Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. This method should not be used to delete subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.</p>
80 <p class="toc_element">
81 <code><a href="#batchGet">batchGet(packageName, sku=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Reads multiple in-app products, which can be managed products or subscriptions. This method should not be used to retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.</p>
83 <p class="toc_element">
84 <code><a href="#batchUpdate">batchUpdate(packageName, body=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Updates or inserts one or more in-app products (managed products or subscriptions). Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. This method should no longer be used to update subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.</p>
86 <p class="toc_element">
87 <code><a href="#close">close()</a></code></p>
88 <p class="firstline">Close httplib2 connections.</p>
89 <p class="toc_element">
90 <code><a href="#delete">delete(packageName, sku, latencyTolerance=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Deletes an in-app product (a managed product or a subscription). This method should no longer be used to delete subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.</p>
92 <p class="toc_element">
93 <code><a href="#get">get(packageName, sku, x__xgafv=None)</a></code></p>
94 <p class="firstline">Gets an in-app product, which can be a managed product or a subscription. This method should no longer be used to retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.</p>
95 <p class="toc_element">
96 <code><a href="#insert">insert(packageName, autoConvertMissingPrices=None, body=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Creates an in-app product (a managed product or a subscription). This method should no longer be used to create subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.</p>
98 <p class="toc_element">
99 <code><a href="#list">list(packageName, maxResults=None, startIndex=None, token=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Lists all in-app products - both managed products and subscriptions. If an app has a large number of in-app products, the response may be paginated. In this case the response field `tokenPagination.nextPageToken` will be set and the caller should provide its value as a `token` request parameter to retrieve the next page. This method should no longer be used to retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.</p>
101 <p class="toc_element">
102 <code><a href="#patch">patch(packageName, sku, autoConvertMissingPrices=None, body=None, latencyTolerance=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Patches an in-app product (a managed product or a subscription). This method should no longer be used to update subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.</p>
104 <p class="toc_element">
105 <code><a href="#update">update(packageName, sku, allowMissing=None, autoConvertMissingPrices=None, body=None, latencyTolerance=None, x__xgafv=None)</a></code></p>
106 <p class="firstline">Updates an in-app product (a managed product or a subscription). This method should no longer be used to update subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.</p>
107 <h3>Method Details</h3>
108 <div class="method">
109 <code class="details" id="batchDelete">batchDelete(packageName, body=None, x__xgafv=None)</code>
110 <pre>Deletes in-app products (managed products or subscriptions). Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. This method should not be used to delete subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
111
112 Args:
113 packageName: string, Package name of the app. (required)
114 body: object, The request body.
115 The object takes the form of:
116
117 { # Request to delete multiple in-app products.
118 &quot;requests&quot;: [ # Individual delete requests. At least one request is required. Can contain up to 100 requests. All requests must correspond to different in-app products.
119 { # Request to delete an in-app product.
120 &quot;latencyTolerance&quot;: &quot;A String&quot;, # Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.
121 &quot;packageName&quot;: &quot;A String&quot;, # Package name of the app.
122 &quot;sku&quot;: &quot;A String&quot;, # Unique identifier for the in-app product.
123 },
124 ],
125 }
126
127 x__xgafv: string, V1 error format.
128 Allowed values
129 1 - v1 error format
130 2 - v2 error format
131 </pre>
132 </div>
133
134 <div class="method">
135 <code class="details" id="batchGet">batchGet(packageName, sku=None, x__xgafv=None)</code>
136 <pre>Reads multiple in-app products, which can be managed products or subscriptions. This method should not be used to retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
137
138 Args:
139 packageName: string, Package name of the app. (required)
140 sku: string, Unique identifier for the in-app products. (repeated)
141 x__xgafv: string, V1 error format.
142 Allowed values
143 1 - v1 error format
144 2 - v2 error format
145
146 Returns:
147 An object of the form:
148
149 { # Response message for BatchGetSubscriptions endpoint.
150 &quot;inappproduct&quot;: [ # The list of requested in-app products, in the same order as the request.
151 { # An in-app product. The resource for InappproductsService.
152 &quot;defaultLanguage&quot;: &quot;A String&quot;, # Default language of the localized data, as defined by BCP-47. e.g. &quot;en-US&quot;.
153 &quot;defaultPrice&quot;: { # Definition of a price, i.e. currency and units. # Default price. Cannot be zero, as in-app products are never free. Always in the developer&#x27;s Checkout merchant currency.
154 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
155 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
156 },
157 &quot;gracePeriod&quot;: &quot;A String&quot;, # Grace period of the subscription, specified in ISO 8601 format. Allows developers to give their subscribers a grace period when the payment for the new recurrence period is declined. Acceptable values are P0D (zero days), P3D (three days), P7D (seven days), P14D (14 days), and P30D (30 days).
158 &quot;listings&quot;: { # List of localized title and description data. Map key is the language of the localized data, as defined by BCP-47, e.g. &quot;en-US&quot;.
159 &quot;a_key&quot;: { # Store listing of a single in-app product.
160 &quot;benefits&quot;: [ # Localized entitlement benefits for a subscription.
161 &quot;A String&quot;,
162 ],
163 &quot;description&quot;: &quot;A String&quot;, # Description for the store listing.
164 &quot;title&quot;: &quot;A String&quot;, # Title for the store listing.
165 },
166 },
167 &quot;managedProductTaxesAndComplianceSettings&quot;: { # Details about taxation and legal compliance for managed products. # Details about taxes and legal compliance. Only applicable to managed products.
168 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
169 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this in-app product is declared as a product representing a tokenized digital asset.
170 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the in-app product. Product tax category determines the transaction tax rates applied to the product. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
171 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
172 { # Details about the age rating for a specific geographic region.
173 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
174 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
175 },
176 ],
177 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
178 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
179 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
180 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
181 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
182 },
183 },
184 },
185 &quot;packageName&quot;: &quot;A String&quot;, # Package name of the parent app.
186 &quot;prices&quot;: { # Prices per buyer region. None of these can be zero, as in-app products are never free. Map key is region code, as defined by ISO 3166-2.
187 &quot;a_key&quot;: { # Definition of a price, i.e. currency and units.
188 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
189 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
190 },
191 },
192 &quot;purchaseType&quot;: &quot;A String&quot;, # The type of the product, e.g. a recurring subscription.
193 &quot;sku&quot;: &quot;A String&quot;, # Stock-keeping-unit (SKU) of the product, unique within an app.
194 &quot;status&quot;: &quot;A String&quot;, # The status of the product, e.g. whether it&#x27;s active.
195 &quot;subscriptionPeriod&quot;: &quot;A String&quot;, # Subscription period, specified in ISO 8601 format. Acceptable values are P1W (one week), P1M (one month), P3M (three months), P6M (six months), and P1Y (one year).
196 &quot;subscriptionTaxesAndComplianceSettings&quot;: { # Details about taxation, Google Play policy, and legal compliance for subscription products. # Details about taxes and legal compliance. Only applicable to subscription products.
197 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
198 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this subscription is declared as a product representing a tokenized digital asset.
199 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the subscription. Product tax category determines the transaction tax rates applied to the subscription. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
200 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
201 { # Details about the age rating for a specific geographic region.
202 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
203 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
204 },
205 ],
206 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
207 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
208 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
209 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
210 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
211 },
212 },
213 },
214 &quot;trialPeriod&quot;: &quot;A String&quot;, # Trial period, specified in ISO 8601 format. Acceptable values are anything between P7D (seven days) and P999D (999 days).
215 },
216 ],
217 }</pre>
218 </div>
219
220 <div class="method">
221 <code class="details" id="batchUpdate">batchUpdate(packageName, body=None, x__xgafv=None)</code>
222 <pre>Updates or inserts one or more in-app products (managed products or subscriptions). Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. This method should no longer be used to update subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
223
224 Args:
225 packageName: string, Package name of the app. (required)
226 body: object, The request body.
227 The object takes the form of:
228
229 { # Request to update or insert one or more in-app products.
230 &quot;requests&quot;: [ # Required. Individual update requests. At least one request is required. Can contain up to 100 requests. All requests must correspond to different in-app products.
231 { # Request to update an in-app product.
232 &quot;allowMissing&quot;: True or False, # If set to true, and the in-app product with the given package_name and sku doesn&#x27;t exist, the in-app product will be created.
233 &quot;autoConvertMissingPrices&quot;: True or False, # If true the prices for all regions targeted by the parent app that don&#x27;t have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.
234 &quot;inappproduct&quot;: { # An in-app product. The resource for InappproductsService. # The new in-app product.
235 &quot;defaultLanguage&quot;: &quot;A String&quot;, # Default language of the localized data, as defined by BCP-47. e.g. &quot;en-US&quot;.
236 &quot;defaultPrice&quot;: { # Definition of a price, i.e. currency and units. # Default price. Cannot be zero, as in-app products are never free. Always in the developer&#x27;s Checkout merchant currency.
237 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
238 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
239 },
240 &quot;gracePeriod&quot;: &quot;A String&quot;, # Grace period of the subscription, specified in ISO 8601 format. Allows developers to give their subscribers a grace period when the payment for the new recurrence period is declined. Acceptable values are P0D (zero days), P3D (three days), P7D (seven days), P14D (14 days), and P30D (30 days).
241 &quot;listings&quot;: { # List of localized title and description data. Map key is the language of the localized data, as defined by BCP-47, e.g. &quot;en-US&quot;.
242 &quot;a_key&quot;: { # Store listing of a single in-app product.
243 &quot;benefits&quot;: [ # Localized entitlement benefits for a subscription.
244 &quot;A String&quot;,
245 ],
246 &quot;description&quot;: &quot;A String&quot;, # Description for the store listing.
247 &quot;title&quot;: &quot;A String&quot;, # Title for the store listing.
248 },
249 },
250 &quot;managedProductTaxesAndComplianceSettings&quot;: { # Details about taxation and legal compliance for managed products. # Details about taxes and legal compliance. Only applicable to managed products.
251 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
252 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this in-app product is declared as a product representing a tokenized digital asset.
253 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the in-app product. Product tax category determines the transaction tax rates applied to the product. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
254 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
255 { # Details about the age rating for a specific geographic region.
256 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
257 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
258 },
259 ],
260 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
261 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
262 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
263 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
264 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
265 },
266 },
267 },
268 &quot;packageName&quot;: &quot;A String&quot;, # Package name of the parent app.
269 &quot;prices&quot;: { # Prices per buyer region. None of these can be zero, as in-app products are never free. Map key is region code, as defined by ISO 3166-2.
270 &quot;a_key&quot;: { # Definition of a price, i.e. currency and units.
271 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
272 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
273 },
274 },
275 &quot;purchaseType&quot;: &quot;A String&quot;, # The type of the product, e.g. a recurring subscription.
276 &quot;sku&quot;: &quot;A String&quot;, # Stock-keeping-unit (SKU) of the product, unique within an app.
277 &quot;status&quot;: &quot;A String&quot;, # The status of the product, e.g. whether it&#x27;s active.
278 &quot;subscriptionPeriod&quot;: &quot;A String&quot;, # Subscription period, specified in ISO 8601 format. Acceptable values are P1W (one week), P1M (one month), P3M (three months), P6M (six months), and P1Y (one year).
279 &quot;subscriptionTaxesAndComplianceSettings&quot;: { # Details about taxation, Google Play policy, and legal compliance for subscription products. # Details about taxes and legal compliance. Only applicable to subscription products.
280 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
281 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this subscription is declared as a product representing a tokenized digital asset.
282 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the subscription. Product tax category determines the transaction tax rates applied to the subscription. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
283 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
284 { # Details about the age rating for a specific geographic region.
285 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
286 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
287 },
288 ],
289 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
290 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
291 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
292 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
293 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
294 },
295 },
296 },
297 &quot;trialPeriod&quot;: &quot;A String&quot;, # Trial period, specified in ISO 8601 format. Acceptable values are anything between P7D (seven days) and P999D (999 days).
298 },
299 &quot;latencyTolerance&quot;: &quot;A String&quot;, # Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.
300 &quot;packageName&quot;: &quot;A String&quot;, # Package name of the app.
301 &quot;sku&quot;: &quot;A String&quot;, # Unique identifier for the in-app product.
302 },
303 ],
304 }
305
306 x__xgafv: string, V1 error format.
307 Allowed values
308 1 - v1 error format
309 2 - v2 error format
310
311 Returns:
312 An object of the form:
313
314 { # Response for a batch in-app product update.
315 &quot;inappproducts&quot;: [ # The updated or inserted in-app products.
316 { # An in-app product. The resource for InappproductsService.
317 &quot;defaultLanguage&quot;: &quot;A String&quot;, # Default language of the localized data, as defined by BCP-47. e.g. &quot;en-US&quot;.
318 &quot;defaultPrice&quot;: { # Definition of a price, i.e. currency and units. # Default price. Cannot be zero, as in-app products are never free. Always in the developer&#x27;s Checkout merchant currency.
319 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
320 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
321 },
322 &quot;gracePeriod&quot;: &quot;A String&quot;, # Grace period of the subscription, specified in ISO 8601 format. Allows developers to give their subscribers a grace period when the payment for the new recurrence period is declined. Acceptable values are P0D (zero days), P3D (three days), P7D (seven days), P14D (14 days), and P30D (30 days).
323 &quot;listings&quot;: { # List of localized title and description data. Map key is the language of the localized data, as defined by BCP-47, e.g. &quot;en-US&quot;.
324 &quot;a_key&quot;: { # Store listing of a single in-app product.
325 &quot;benefits&quot;: [ # Localized entitlement benefits for a subscription.
326 &quot;A String&quot;,
327 ],
328 &quot;description&quot;: &quot;A String&quot;, # Description for the store listing.
329 &quot;title&quot;: &quot;A String&quot;, # Title for the store listing.
330 },
331 },
332 &quot;managedProductTaxesAndComplianceSettings&quot;: { # Details about taxation and legal compliance for managed products. # Details about taxes and legal compliance. Only applicable to managed products.
333 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
334 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this in-app product is declared as a product representing a tokenized digital asset.
335 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the in-app product. Product tax category determines the transaction tax rates applied to the product. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
336 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
337 { # Details about the age rating for a specific geographic region.
338 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
339 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
340 },
341 ],
342 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
343 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
344 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
345 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
346 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
347 },
348 },
349 },
350 &quot;packageName&quot;: &quot;A String&quot;, # Package name of the parent app.
351 &quot;prices&quot;: { # Prices per buyer region. None of these can be zero, as in-app products are never free. Map key is region code, as defined by ISO 3166-2.
352 &quot;a_key&quot;: { # Definition of a price, i.e. currency and units.
353 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
354 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
355 },
356 },
357 &quot;purchaseType&quot;: &quot;A String&quot;, # The type of the product, e.g. a recurring subscription.
358 &quot;sku&quot;: &quot;A String&quot;, # Stock-keeping-unit (SKU) of the product, unique within an app.
359 &quot;status&quot;: &quot;A String&quot;, # The status of the product, e.g. whether it&#x27;s active.
360 &quot;subscriptionPeriod&quot;: &quot;A String&quot;, # Subscription period, specified in ISO 8601 format. Acceptable values are P1W (one week), P1M (one month), P3M (three months), P6M (six months), and P1Y (one year).
361 &quot;subscriptionTaxesAndComplianceSettings&quot;: { # Details about taxation, Google Play policy, and legal compliance for subscription products. # Details about taxes and legal compliance. Only applicable to subscription products.
362 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
363 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this subscription is declared as a product representing a tokenized digital asset.
364 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the subscription. Product tax category determines the transaction tax rates applied to the subscription. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
365 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
366 { # Details about the age rating for a specific geographic region.
367 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
368 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
369 },
370 ],
371 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
372 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
373 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
374 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
375 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
376 },
377 },
378 },
379 &quot;trialPeriod&quot;: &quot;A String&quot;, # Trial period, specified in ISO 8601 format. Acceptable values are anything between P7D (seven days) and P999D (999 days).
380 },
381 ],
382 }</pre>
383 </div>
384
385 <div class="method">
386 <code class="details" id="close">close()</code>
387 <pre>Close httplib2 connections.</pre>
388 </div>
389
390 <div class="method">
391 <code class="details" id="delete">delete(packageName, sku, latencyTolerance=None, x__xgafv=None)</code>
392 <pre>Deletes an in-app product (a managed product or a subscription). This method should no longer be used to delete subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
393
394 Args:
395 packageName: string, Package name of the app. (required)
396 sku: string, Unique identifier for the in-app product. (required)
397 latencyTolerance: string, Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.
398 Allowed values
399 PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED - Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.
400 PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE - The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.
401 PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT - The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods.
402 x__xgafv: string, V1 error format.
403 Allowed values
404 1 - v1 error format
405 2 - v2 error format
406 </pre>
407 </div>
408
409 <div class="method">
410 <code class="details" id="get">get(packageName, sku, x__xgafv=None)</code>
411 <pre>Gets an in-app product, which can be a managed product or a subscription. This method should no longer be used to retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
412
413 Args:
414 packageName: string, Package name of the app. (required)
415 sku: string, Unique identifier for the in-app product. (required)
416 x__xgafv: string, V1 error format.
417 Allowed values
418 1 - v1 error format
419 2 - v2 error format
420
421 Returns:
422 An object of the form:
423
424 { # An in-app product. The resource for InappproductsService.
425 &quot;defaultLanguage&quot;: &quot;A String&quot;, # Default language of the localized data, as defined by BCP-47. e.g. &quot;en-US&quot;.
426 &quot;defaultPrice&quot;: { # Definition of a price, i.e. currency and units. # Default price. Cannot be zero, as in-app products are never free. Always in the developer&#x27;s Checkout merchant currency.
427 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
428 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
429 },
430 &quot;gracePeriod&quot;: &quot;A String&quot;, # Grace period of the subscription, specified in ISO 8601 format. Allows developers to give their subscribers a grace period when the payment for the new recurrence period is declined. Acceptable values are P0D (zero days), P3D (three days), P7D (seven days), P14D (14 days), and P30D (30 days).
431 &quot;listings&quot;: { # List of localized title and description data. Map key is the language of the localized data, as defined by BCP-47, e.g. &quot;en-US&quot;.
432 &quot;a_key&quot;: { # Store listing of a single in-app product.
433 &quot;benefits&quot;: [ # Localized entitlement benefits for a subscription.
434 &quot;A String&quot;,
435 ],
436 &quot;description&quot;: &quot;A String&quot;, # Description for the store listing.
437 &quot;title&quot;: &quot;A String&quot;, # Title for the store listing.
438 },
439 },
440 &quot;managedProductTaxesAndComplianceSettings&quot;: { # Details about taxation and legal compliance for managed products. # Details about taxes and legal compliance. Only applicable to managed products.
441 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
442 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this in-app product is declared as a product representing a tokenized digital asset.
443 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the in-app product. Product tax category determines the transaction tax rates applied to the product. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
444 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
445 { # Details about the age rating for a specific geographic region.
446 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
447 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
448 },
449 ],
450 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
451 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
452 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
453 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
454 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
455 },
456 },
457 },
458 &quot;packageName&quot;: &quot;A String&quot;, # Package name of the parent app.
459 &quot;prices&quot;: { # Prices per buyer region. None of these can be zero, as in-app products are never free. Map key is region code, as defined by ISO 3166-2.
460 &quot;a_key&quot;: { # Definition of a price, i.e. currency and units.
461 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
462 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
463 },
464 },
465 &quot;purchaseType&quot;: &quot;A String&quot;, # The type of the product, e.g. a recurring subscription.
466 &quot;sku&quot;: &quot;A String&quot;, # Stock-keeping-unit (SKU) of the product, unique within an app.
467 &quot;status&quot;: &quot;A String&quot;, # The status of the product, e.g. whether it&#x27;s active.
468 &quot;subscriptionPeriod&quot;: &quot;A String&quot;, # Subscription period, specified in ISO 8601 format. Acceptable values are P1W (one week), P1M (one month), P3M (three months), P6M (six months), and P1Y (one year).
469 &quot;subscriptionTaxesAndComplianceSettings&quot;: { # Details about taxation, Google Play policy, and legal compliance for subscription products. # Details about taxes and legal compliance. Only applicable to subscription products.
470 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
471 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this subscription is declared as a product representing a tokenized digital asset.
472 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the subscription. Product tax category determines the transaction tax rates applied to the subscription. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
473 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
474 { # Details about the age rating for a specific geographic region.
475 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
476 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
477 },
478 ],
479 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
480 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
481 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
482 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
483 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
484 },
485 },
486 },
487 &quot;trialPeriod&quot;: &quot;A String&quot;, # Trial period, specified in ISO 8601 format. Acceptable values are anything between P7D (seven days) and P999D (999 days).
488 }</pre>
489 </div>
490
491 <div class="method">
492 <code class="details" id="insert">insert(packageName, autoConvertMissingPrices=None, body=None, x__xgafv=None)</code>
493 <pre>Creates an in-app product (a managed product or a subscription). This method should no longer be used to create subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
494
495 Args:
496 packageName: string, Package name of the app. (required)
497 body: object, The request body.
498 The object takes the form of:
499
500 { # An in-app product. The resource for InappproductsService.
501 &quot;defaultLanguage&quot;: &quot;A String&quot;, # Default language of the localized data, as defined by BCP-47. e.g. &quot;en-US&quot;.
502 &quot;defaultPrice&quot;: { # Definition of a price, i.e. currency and units. # Default price. Cannot be zero, as in-app products are never free. Always in the developer&#x27;s Checkout merchant currency.
503 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
504 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
505 },
506 &quot;gracePeriod&quot;: &quot;A String&quot;, # Grace period of the subscription, specified in ISO 8601 format. Allows developers to give their subscribers a grace period when the payment for the new recurrence period is declined. Acceptable values are P0D (zero days), P3D (three days), P7D (seven days), P14D (14 days), and P30D (30 days).
507 &quot;listings&quot;: { # List of localized title and description data. Map key is the language of the localized data, as defined by BCP-47, e.g. &quot;en-US&quot;.
508 &quot;a_key&quot;: { # Store listing of a single in-app product.
509 &quot;benefits&quot;: [ # Localized entitlement benefits for a subscription.
510 &quot;A String&quot;,
511 ],
512 &quot;description&quot;: &quot;A String&quot;, # Description for the store listing.
513 &quot;title&quot;: &quot;A String&quot;, # Title for the store listing.
514 },
515 },
516 &quot;managedProductTaxesAndComplianceSettings&quot;: { # Details about taxation and legal compliance for managed products. # Details about taxes and legal compliance. Only applicable to managed products.
517 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
518 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this in-app product is declared as a product representing a tokenized digital asset.
519 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the in-app product. Product tax category determines the transaction tax rates applied to the product. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
520 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
521 { # Details about the age rating for a specific geographic region.
522 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
523 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
524 },
525 ],
526 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
527 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
528 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
529 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
530 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
531 },
532 },
533 },
534 &quot;packageName&quot;: &quot;A String&quot;, # Package name of the parent app.
535 &quot;prices&quot;: { # Prices per buyer region. None of these can be zero, as in-app products are never free. Map key is region code, as defined by ISO 3166-2.
536 &quot;a_key&quot;: { # Definition of a price, i.e. currency and units.
537 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
538 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
539 },
540 },
541 &quot;purchaseType&quot;: &quot;A String&quot;, # The type of the product, e.g. a recurring subscription.
542 &quot;sku&quot;: &quot;A String&quot;, # Stock-keeping-unit (SKU) of the product, unique within an app.
543 &quot;status&quot;: &quot;A String&quot;, # The status of the product, e.g. whether it&#x27;s active.
544 &quot;subscriptionPeriod&quot;: &quot;A String&quot;, # Subscription period, specified in ISO 8601 format. Acceptable values are P1W (one week), P1M (one month), P3M (three months), P6M (six months), and P1Y (one year).
545 &quot;subscriptionTaxesAndComplianceSettings&quot;: { # Details about taxation, Google Play policy, and legal compliance for subscription products. # Details about taxes and legal compliance. Only applicable to subscription products.
546 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
547 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this subscription is declared as a product representing a tokenized digital asset.
548 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the subscription. Product tax category determines the transaction tax rates applied to the subscription. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
549 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
550 { # Details about the age rating for a specific geographic region.
551 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
552 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
553 },
554 ],
555 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
556 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
557 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
558 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
559 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
560 },
561 },
562 },
563 &quot;trialPeriod&quot;: &quot;A String&quot;, # Trial period, specified in ISO 8601 format. Acceptable values are anything between P7D (seven days) and P999D (999 days).
564 }
565
566 autoConvertMissingPrices: boolean, If true the prices for all regions targeted by the parent app that don&#x27;t have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.
567 x__xgafv: string, V1 error format.
568 Allowed values
569 1 - v1 error format
570 2 - v2 error format
571
572 Returns:
573 An object of the form:
574
575 { # An in-app product. The resource for InappproductsService.
576 &quot;defaultLanguage&quot;: &quot;A String&quot;, # Default language of the localized data, as defined by BCP-47. e.g. &quot;en-US&quot;.
577 &quot;defaultPrice&quot;: { # Definition of a price, i.e. currency and units. # Default price. Cannot be zero, as in-app products are never free. Always in the developer&#x27;s Checkout merchant currency.
578 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
579 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
580 },
581 &quot;gracePeriod&quot;: &quot;A String&quot;, # Grace period of the subscription, specified in ISO 8601 format. Allows developers to give their subscribers a grace period when the payment for the new recurrence period is declined. Acceptable values are P0D (zero days), P3D (three days), P7D (seven days), P14D (14 days), and P30D (30 days).
582 &quot;listings&quot;: { # List of localized title and description data. Map key is the language of the localized data, as defined by BCP-47, e.g. &quot;en-US&quot;.
583 &quot;a_key&quot;: { # Store listing of a single in-app product.
584 &quot;benefits&quot;: [ # Localized entitlement benefits for a subscription.
585 &quot;A String&quot;,
586 ],
587 &quot;description&quot;: &quot;A String&quot;, # Description for the store listing.
588 &quot;title&quot;: &quot;A String&quot;, # Title for the store listing.
589 },
590 },
591 &quot;managedProductTaxesAndComplianceSettings&quot;: { # Details about taxation and legal compliance for managed products. # Details about taxes and legal compliance. Only applicable to managed products.
592 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
593 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this in-app product is declared as a product representing a tokenized digital asset.
594 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the in-app product. Product tax category determines the transaction tax rates applied to the product. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
595 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
596 { # Details about the age rating for a specific geographic region.
597 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
598 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
599 },
600 ],
601 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
602 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
603 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
604 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
605 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
606 },
607 },
608 },
609 &quot;packageName&quot;: &quot;A String&quot;, # Package name of the parent app.
610 &quot;prices&quot;: { # Prices per buyer region. None of these can be zero, as in-app products are never free. Map key is region code, as defined by ISO 3166-2.
611 &quot;a_key&quot;: { # Definition of a price, i.e. currency and units.
612 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
613 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
614 },
615 },
616 &quot;purchaseType&quot;: &quot;A String&quot;, # The type of the product, e.g. a recurring subscription.
617 &quot;sku&quot;: &quot;A String&quot;, # Stock-keeping-unit (SKU) of the product, unique within an app.
618 &quot;status&quot;: &quot;A String&quot;, # The status of the product, e.g. whether it&#x27;s active.
619 &quot;subscriptionPeriod&quot;: &quot;A String&quot;, # Subscription period, specified in ISO 8601 format. Acceptable values are P1W (one week), P1M (one month), P3M (three months), P6M (six months), and P1Y (one year).
620 &quot;subscriptionTaxesAndComplianceSettings&quot;: { # Details about taxation, Google Play policy, and legal compliance for subscription products. # Details about taxes and legal compliance. Only applicable to subscription products.
621 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
622 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this subscription is declared as a product representing a tokenized digital asset.
623 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the subscription. Product tax category determines the transaction tax rates applied to the subscription. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
624 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
625 { # Details about the age rating for a specific geographic region.
626 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
627 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
628 },
629 ],
630 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
631 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
632 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
633 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
634 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
635 },
636 },
637 },
638 &quot;trialPeriod&quot;: &quot;A String&quot;, # Trial period, specified in ISO 8601 format. Acceptable values are anything between P7D (seven days) and P999D (999 days).
639 }</pre>
640 </div>
641
642 <div class="method">
643 <code class="details" id="list">list(packageName, maxResults=None, startIndex=None, token=None, x__xgafv=None)</code>
644 <pre>Lists all in-app products - both managed products and subscriptions. If an app has a large number of in-app products, the response may be paginated. In this case the response field `tokenPagination.nextPageToken` will be set and the caller should provide its value as a `token` request parameter to retrieve the next page. This method should no longer be used to retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
645
646 Args:
647 packageName: string, Package name of the app. (required)
648 maxResults: integer, Deprecated and ignored. The page size is determined by the server.
649 startIndex: integer, Deprecated and ignored. Set the `token` parameter to retrieve the next page.
650 token: string, Pagination token. If empty, list starts at the first product.
651 x__xgafv: string, V1 error format.
652 Allowed values
653 1 - v1 error format
654 2 - v2 error format
655
656 Returns:
657 An object of the form:
658
659 { # Response listing all in-app products.
660 &quot;inappproduct&quot;: [ # All in-app products.
661 { # An in-app product. The resource for InappproductsService.
662 &quot;defaultLanguage&quot;: &quot;A String&quot;, # Default language of the localized data, as defined by BCP-47. e.g. &quot;en-US&quot;.
663 &quot;defaultPrice&quot;: { # Definition of a price, i.e. currency and units. # Default price. Cannot be zero, as in-app products are never free. Always in the developer&#x27;s Checkout merchant currency.
664 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
665 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
666 },
667 &quot;gracePeriod&quot;: &quot;A String&quot;, # Grace period of the subscription, specified in ISO 8601 format. Allows developers to give their subscribers a grace period when the payment for the new recurrence period is declined. Acceptable values are P0D (zero days), P3D (three days), P7D (seven days), P14D (14 days), and P30D (30 days).
668 &quot;listings&quot;: { # List of localized title and description data. Map key is the language of the localized data, as defined by BCP-47, e.g. &quot;en-US&quot;.
669 &quot;a_key&quot;: { # Store listing of a single in-app product.
670 &quot;benefits&quot;: [ # Localized entitlement benefits for a subscription.
671 &quot;A String&quot;,
672 ],
673 &quot;description&quot;: &quot;A String&quot;, # Description for the store listing.
674 &quot;title&quot;: &quot;A String&quot;, # Title for the store listing.
675 },
676 },
677 &quot;managedProductTaxesAndComplianceSettings&quot;: { # Details about taxation and legal compliance for managed products. # Details about taxes and legal compliance. Only applicable to managed products.
678 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
679 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this in-app product is declared as a product representing a tokenized digital asset.
680 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the in-app product. Product tax category determines the transaction tax rates applied to the product. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
681 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
682 { # Details about the age rating for a specific geographic region.
683 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
684 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
685 },
686 ],
687 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
688 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
689 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
690 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
691 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
692 },
693 },
694 },
695 &quot;packageName&quot;: &quot;A String&quot;, # Package name of the parent app.
696 &quot;prices&quot;: { # Prices per buyer region. None of these can be zero, as in-app products are never free. Map key is region code, as defined by ISO 3166-2.
697 &quot;a_key&quot;: { # Definition of a price, i.e. currency and units.
698 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
699 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
700 },
701 },
702 &quot;purchaseType&quot;: &quot;A String&quot;, # The type of the product, e.g. a recurring subscription.
703 &quot;sku&quot;: &quot;A String&quot;, # Stock-keeping-unit (SKU) of the product, unique within an app.
704 &quot;status&quot;: &quot;A String&quot;, # The status of the product, e.g. whether it&#x27;s active.
705 &quot;subscriptionPeriod&quot;: &quot;A String&quot;, # Subscription period, specified in ISO 8601 format. Acceptable values are P1W (one week), P1M (one month), P3M (three months), P6M (six months), and P1Y (one year).
706 &quot;subscriptionTaxesAndComplianceSettings&quot;: { # Details about taxation, Google Play policy, and legal compliance for subscription products. # Details about taxes and legal compliance. Only applicable to subscription products.
707 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
708 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this subscription is declared as a product representing a tokenized digital asset.
709 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the subscription. Product tax category determines the transaction tax rates applied to the subscription. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
710 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
711 { # Details about the age rating for a specific geographic region.
712 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
713 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
714 },
715 ],
716 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
717 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
718 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
719 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
720 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
721 },
722 },
723 },
724 &quot;trialPeriod&quot;: &quot;A String&quot;, # Trial period, specified in ISO 8601 format. Acceptable values are anything between P7D (seven days) and P999D (999 days).
725 },
726 ],
727 &quot;kind&quot;: &quot;A String&quot;, # The kind of this response (&quot;androidpublisher#inappproductsListResponse&quot;).
728 &quot;pageInfo&quot;: { # Information about the current page. List operations that supports paging return only one &quot;page&quot; of results. This protocol buffer message describes the page that has been returned. # Deprecated and unset.
729 &quot;resultPerPage&quot;: 42, # Maximum number of results returned in one page. ! The number of results included in the API response.
730 &quot;startIndex&quot;: 42, # Index of the first result returned in the current page.
731 &quot;totalResults&quot;: 42, # Total number of results available on the backend ! The total number of results in the result set.
732 },
733 &quot;tokenPagination&quot;: { # Pagination information returned by a List operation when token pagination is enabled. List operations that supports paging return only one &quot;page&quot; of results. This protocol buffer message describes the page that has been returned. When using token pagination, clients should use the next/previous token to get another page of the result. The presence or absence of next/previous token indicates whether a next/previous page is available and provides a mean of accessing this page. ListRequest.page_token should be set to either next_page_token or previous_page_token to access another page. # Pagination token, to handle a number of products that is over one page.
734 &quot;nextPageToken&quot;: &quot;A String&quot;, # Tokens to pass to the standard list field &#x27;page_token&#x27;. Whenever available, tokens are preferred over manipulating start_index.
735 &quot;previousPageToken&quot;: &quot;A String&quot;,
736 },
737 }</pre>
738 </div>
739
740 <div class="method">
741 <code class="details" id="patch">patch(packageName, sku, autoConvertMissingPrices=None, body=None, latencyTolerance=None, x__xgafv=None)</code>
742 <pre>Patches an in-app product (a managed product or a subscription). This method should no longer be used to update subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
743
744 Args:
745 packageName: string, Package name of the app. (required)
746 sku: string, Unique identifier for the in-app product. (required)
747 body: object, The request body.
748 The object takes the form of:
749
750 { # An in-app product. The resource for InappproductsService.
751 &quot;defaultLanguage&quot;: &quot;A String&quot;, # Default language of the localized data, as defined by BCP-47. e.g. &quot;en-US&quot;.
752 &quot;defaultPrice&quot;: { # Definition of a price, i.e. currency and units. # Default price. Cannot be zero, as in-app products are never free. Always in the developer&#x27;s Checkout merchant currency.
753 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
754 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
755 },
756 &quot;gracePeriod&quot;: &quot;A String&quot;, # Grace period of the subscription, specified in ISO 8601 format. Allows developers to give their subscribers a grace period when the payment for the new recurrence period is declined. Acceptable values are P0D (zero days), P3D (three days), P7D (seven days), P14D (14 days), and P30D (30 days).
757 &quot;listings&quot;: { # List of localized title and description data. Map key is the language of the localized data, as defined by BCP-47, e.g. &quot;en-US&quot;.
758 &quot;a_key&quot;: { # Store listing of a single in-app product.
759 &quot;benefits&quot;: [ # Localized entitlement benefits for a subscription.
760 &quot;A String&quot;,
761 ],
762 &quot;description&quot;: &quot;A String&quot;, # Description for the store listing.
763 &quot;title&quot;: &quot;A String&quot;, # Title for the store listing.
764 },
765 },
766 &quot;managedProductTaxesAndComplianceSettings&quot;: { # Details about taxation and legal compliance for managed products. # Details about taxes and legal compliance. Only applicable to managed products.
767 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
768 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this in-app product is declared as a product representing a tokenized digital asset.
769 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the in-app product. Product tax category determines the transaction tax rates applied to the product. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
770 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
771 { # Details about the age rating for a specific geographic region.
772 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
773 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
774 },
775 ],
776 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
777 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
778 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
779 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
780 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
781 },
782 },
783 },
784 &quot;packageName&quot;: &quot;A String&quot;, # Package name of the parent app.
785 &quot;prices&quot;: { # Prices per buyer region. None of these can be zero, as in-app products are never free. Map key is region code, as defined by ISO 3166-2.
786 &quot;a_key&quot;: { # Definition of a price, i.e. currency and units.
787 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
788 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
789 },
790 },
791 &quot;purchaseType&quot;: &quot;A String&quot;, # The type of the product, e.g. a recurring subscription.
792 &quot;sku&quot;: &quot;A String&quot;, # Stock-keeping-unit (SKU) of the product, unique within an app.
793 &quot;status&quot;: &quot;A String&quot;, # The status of the product, e.g. whether it&#x27;s active.
794 &quot;subscriptionPeriod&quot;: &quot;A String&quot;, # Subscription period, specified in ISO 8601 format. Acceptable values are P1W (one week), P1M (one month), P3M (three months), P6M (six months), and P1Y (one year).
795 &quot;subscriptionTaxesAndComplianceSettings&quot;: { # Details about taxation, Google Play policy, and legal compliance for subscription products. # Details about taxes and legal compliance. Only applicable to subscription products.
796 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
797 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this subscription is declared as a product representing a tokenized digital asset.
798 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the subscription. Product tax category determines the transaction tax rates applied to the subscription. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
799 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
800 { # Details about the age rating for a specific geographic region.
801 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
802 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
803 },
804 ],
805 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
806 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
807 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
808 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
809 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
810 },
811 },
812 },
813 &quot;trialPeriod&quot;: &quot;A String&quot;, # Trial period, specified in ISO 8601 format. Acceptable values are anything between P7D (seven days) and P999D (999 days).
814 }
815
816 autoConvertMissingPrices: boolean, If true the prices for all regions targeted by the parent app that don&#x27;t have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.
817 latencyTolerance: string, Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.
818 Allowed values
819 PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED - Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.
820 PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE - The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.
821 PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT - The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods.
822 x__xgafv: string, V1 error format.
823 Allowed values
824 1 - v1 error format
825 2 - v2 error format
826
827 Returns:
828 An object of the form:
829
830 { # An in-app product. The resource for InappproductsService.
831 &quot;defaultLanguage&quot;: &quot;A String&quot;, # Default language of the localized data, as defined by BCP-47. e.g. &quot;en-US&quot;.
832 &quot;defaultPrice&quot;: { # Definition of a price, i.e. currency and units. # Default price. Cannot be zero, as in-app products are never free. Always in the developer&#x27;s Checkout merchant currency.
833 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
834 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
835 },
836 &quot;gracePeriod&quot;: &quot;A String&quot;, # Grace period of the subscription, specified in ISO 8601 format. Allows developers to give their subscribers a grace period when the payment for the new recurrence period is declined. Acceptable values are P0D (zero days), P3D (three days), P7D (seven days), P14D (14 days), and P30D (30 days).
837 &quot;listings&quot;: { # List of localized title and description data. Map key is the language of the localized data, as defined by BCP-47, e.g. &quot;en-US&quot;.
838 &quot;a_key&quot;: { # Store listing of a single in-app product.
839 &quot;benefits&quot;: [ # Localized entitlement benefits for a subscription.
840 &quot;A String&quot;,
841 ],
842 &quot;description&quot;: &quot;A String&quot;, # Description for the store listing.
843 &quot;title&quot;: &quot;A String&quot;, # Title for the store listing.
844 },
845 },
846 &quot;managedProductTaxesAndComplianceSettings&quot;: { # Details about taxation and legal compliance for managed products. # Details about taxes and legal compliance. Only applicable to managed products.
847 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
848 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this in-app product is declared as a product representing a tokenized digital asset.
849 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the in-app product. Product tax category determines the transaction tax rates applied to the product. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
850 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
851 { # Details about the age rating for a specific geographic region.
852 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
853 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
854 },
855 ],
856 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
857 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
858 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
859 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
860 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
861 },
862 },
863 },
864 &quot;packageName&quot;: &quot;A String&quot;, # Package name of the parent app.
865 &quot;prices&quot;: { # Prices per buyer region. None of these can be zero, as in-app products are never free. Map key is region code, as defined by ISO 3166-2.
866 &quot;a_key&quot;: { # Definition of a price, i.e. currency and units.
867 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
868 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
869 },
870 },
871 &quot;purchaseType&quot;: &quot;A String&quot;, # The type of the product, e.g. a recurring subscription.
872 &quot;sku&quot;: &quot;A String&quot;, # Stock-keeping-unit (SKU) of the product, unique within an app.
873 &quot;status&quot;: &quot;A String&quot;, # The status of the product, e.g. whether it&#x27;s active.
874 &quot;subscriptionPeriod&quot;: &quot;A String&quot;, # Subscription period, specified in ISO 8601 format. Acceptable values are P1W (one week), P1M (one month), P3M (three months), P6M (six months), and P1Y (one year).
875 &quot;subscriptionTaxesAndComplianceSettings&quot;: { # Details about taxation, Google Play policy, and legal compliance for subscription products. # Details about taxes and legal compliance. Only applicable to subscription products.
876 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
877 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this subscription is declared as a product representing a tokenized digital asset.
878 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the subscription. Product tax category determines the transaction tax rates applied to the subscription. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
879 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
880 { # Details about the age rating for a specific geographic region.
881 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
882 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
883 },
884 ],
885 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
886 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
887 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
888 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
889 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
890 },
891 },
892 },
893 &quot;trialPeriod&quot;: &quot;A String&quot;, # Trial period, specified in ISO 8601 format. Acceptable values are anything between P7D (seven days) and P999D (999 days).
894 }</pre>
895 </div>
896
897 <div class="method">
898 <code class="details" id="update">update(packageName, sku, allowMissing=None, autoConvertMissingPrices=None, body=None, latencyTolerance=None, x__xgafv=None)</code>
899 <pre>Updates an in-app product (a managed product or a subscription). This method should no longer be used to update subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
900
901 Args:
902 packageName: string, Package name of the app. (required)
903 sku: string, Unique identifier for the in-app product. (required)
904 body: object, The request body.
905 The object takes the form of:
906
907 { # An in-app product. The resource for InappproductsService.
908 &quot;defaultLanguage&quot;: &quot;A String&quot;, # Default language of the localized data, as defined by BCP-47. e.g. &quot;en-US&quot;.
909 &quot;defaultPrice&quot;: { # Definition of a price, i.e. currency and units. # Default price. Cannot be zero, as in-app products are never free. Always in the developer&#x27;s Checkout merchant currency.
910 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
911 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
912 },
913 &quot;gracePeriod&quot;: &quot;A String&quot;, # Grace period of the subscription, specified in ISO 8601 format. Allows developers to give their subscribers a grace period when the payment for the new recurrence period is declined. Acceptable values are P0D (zero days), P3D (three days), P7D (seven days), P14D (14 days), and P30D (30 days).
914 &quot;listings&quot;: { # List of localized title and description data. Map key is the language of the localized data, as defined by BCP-47, e.g. &quot;en-US&quot;.
915 &quot;a_key&quot;: { # Store listing of a single in-app product.
916 &quot;benefits&quot;: [ # Localized entitlement benefits for a subscription.
917 &quot;A String&quot;,
918 ],
919 &quot;description&quot;: &quot;A String&quot;, # Description for the store listing.
920 &quot;title&quot;: &quot;A String&quot;, # Title for the store listing.
921 },
922 },
923 &quot;managedProductTaxesAndComplianceSettings&quot;: { # Details about taxation and legal compliance for managed products. # Details about taxes and legal compliance. Only applicable to managed products.
924 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
925 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this in-app product is declared as a product representing a tokenized digital asset.
926 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the in-app product. Product tax category determines the transaction tax rates applied to the product. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
927 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
928 { # Details about the age rating for a specific geographic region.
929 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
930 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
931 },
932 ],
933 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
934 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
935 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
936 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
937 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
938 },
939 },
940 },
941 &quot;packageName&quot;: &quot;A String&quot;, # Package name of the parent app.
942 &quot;prices&quot;: { # Prices per buyer region. None of these can be zero, as in-app products are never free. Map key is region code, as defined by ISO 3166-2.
943 &quot;a_key&quot;: { # Definition of a price, i.e. currency and units.
944 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
945 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
946 },
947 },
948 &quot;purchaseType&quot;: &quot;A String&quot;, # The type of the product, e.g. a recurring subscription.
949 &quot;sku&quot;: &quot;A String&quot;, # Stock-keeping-unit (SKU) of the product, unique within an app.
950 &quot;status&quot;: &quot;A String&quot;, # The status of the product, e.g. whether it&#x27;s active.
951 &quot;subscriptionPeriod&quot;: &quot;A String&quot;, # Subscription period, specified in ISO 8601 format. Acceptable values are P1W (one week), P1M (one month), P3M (three months), P6M (six months), and P1Y (one year).
952 &quot;subscriptionTaxesAndComplianceSettings&quot;: { # Details about taxation, Google Play policy, and legal compliance for subscription products. # Details about taxes and legal compliance. Only applicable to subscription products.
953 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
954 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this subscription is declared as a product representing a tokenized digital asset.
955 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the subscription. Product tax category determines the transaction tax rates applied to the subscription. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
956 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
957 { # Details about the age rating for a specific geographic region.
958 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
959 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
960 },
961 ],
962 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
963 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
964 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
965 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
966 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
967 },
968 },
969 },
970 &quot;trialPeriod&quot;: &quot;A String&quot;, # Trial period, specified in ISO 8601 format. Acceptable values are anything between P7D (seven days) and P999D (999 days).
971 }
972
973 allowMissing: boolean, If set to true, and the in-app product with the given package_name and sku doesn&#x27;t exist, the in-app product will be created.
974 autoConvertMissingPrices: boolean, If true the prices for all regions targeted by the parent app that don&#x27;t have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.
975 latencyTolerance: string, Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.
976 Allowed values
977 PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED - Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.
978 PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE - The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.
979 PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT - The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods.
980 x__xgafv: string, V1 error format.
981 Allowed values
982 1 - v1 error format
983 2 - v2 error format
984
985 Returns:
986 An object of the form:
987
988 { # An in-app product. The resource for InappproductsService.
989 &quot;defaultLanguage&quot;: &quot;A String&quot;, # Default language of the localized data, as defined by BCP-47. e.g. &quot;en-US&quot;.
990 &quot;defaultPrice&quot;: { # Definition of a price, i.e. currency and units. # Default price. Cannot be zero, as in-app products are never free. Always in the developer&#x27;s Checkout merchant currency.
991 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
992 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
993 },
994 &quot;gracePeriod&quot;: &quot;A String&quot;, # Grace period of the subscription, specified in ISO 8601 format. Allows developers to give their subscribers a grace period when the payment for the new recurrence period is declined. Acceptable values are P0D (zero days), P3D (three days), P7D (seven days), P14D (14 days), and P30D (30 days).
995 &quot;listings&quot;: { # List of localized title and description data. Map key is the language of the localized data, as defined by BCP-47, e.g. &quot;en-US&quot;.
996 &quot;a_key&quot;: { # Store listing of a single in-app product.
997 &quot;benefits&quot;: [ # Localized entitlement benefits for a subscription.
998 &quot;A String&quot;,
999 ],
1000 &quot;description&quot;: &quot;A String&quot;, # Description for the store listing.
1001 &quot;title&quot;: &quot;A String&quot;, # Title for the store listing.
1002 },
1003 },
1004 &quot;managedProductTaxesAndComplianceSettings&quot;: { # Details about taxation and legal compliance for managed products. # Details about taxes and legal compliance. Only applicable to managed products.
1005 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
1006 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this in-app product is declared as a product representing a tokenized digital asset.
1007 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the in-app product. Product tax category determines the transaction tax rates applied to the product. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
1008 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
1009 { # Details about the age rating for a specific geographic region.
1010 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
1011 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
1012 },
1013 ],
1014 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
1015 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
1016 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
1017 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
1018 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
1019 },
1020 },
1021 },
1022 &quot;packageName&quot;: &quot;A String&quot;, # Package name of the parent app.
1023 &quot;prices&quot;: { # Prices per buyer region. None of these can be zero, as in-app products are never free. Map key is region code, as defined by ISO 3166-2.
1024 &quot;a_key&quot;: { # Definition of a price, i.e. currency and units.
1025 &quot;currency&quot;: &quot;A String&quot;, # 3 letter Currency code, as defined by ISO 4217. See java/com/google/common/money/CurrencyCode.java
1026 &quot;priceMicros&quot;: &quot;A String&quot;, # Price in 1/million of the currency base unit, represented as a string.
1027 },
1028 },
1029 &quot;purchaseType&quot;: &quot;A String&quot;, # The type of the product, e.g. a recurring subscription.
1030 &quot;sku&quot;: &quot;A String&quot;, # Stock-keeping-unit (SKU) of the product, unique within an app.
1031 &quot;status&quot;: &quot;A String&quot;, # The status of the product, e.g. whether it&#x27;s active.
1032 &quot;subscriptionPeriod&quot;: &quot;A String&quot;, # Subscription period, specified in ISO 8601 format. Acceptable values are P1W (one week), P1M (one month), P3M (three months), P6M (six months), and P1Y (one year).
1033 &quot;subscriptionTaxesAndComplianceSettings&quot;: { # Details about taxation, Google Play policy, and legal compliance for subscription products. # Details about taxes and legal compliance. Only applicable to subscription products.
1034 &quot;eeaWithdrawalRightType&quot;: &quot;A String&quot;, # Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.
1035 &quot;isTokenizedDigitalAsset&quot;: True or False, # Whether this subscription is declared as a product representing a tokenized digital asset.
1036 &quot;productTaxCategoryCode&quot;: &quot;A String&quot;, # Product tax category code to assign to the subscription. Product tax category determines the transaction tax rates applied to the subscription. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information.
1037 &quot;regionalProductAgeRatingInfos&quot;: [ # Regional age rating information. Currently this field is only supported for region code `US`.
1038 { # Details about the age rating for a specific geographic region.
1039 &quot;productAgeRatingTier&quot;: &quot;A String&quot;, # The age rating tier of a product for the given region.
1040 &quot;regionCode&quot;: &quot;A String&quot;, # Region code this configuration applies to, as defined by ISO 3166-2, e.g. &quot;US&quot;.
1041 },
1042 ],
1043 &quot;taxRateInfoByRegionCode&quot;: { # A mapping from region code to tax rate details. The keys are region codes as defined by Unicode&#x27;s &quot;CLDR&quot;.
1044 &quot;a_key&quot;: { # Specified details about taxation in a given geographical region.
1045 &quot;eligibleForStreamingServiceTaxRate&quot;: True or False, # You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
1046 &quot;streamingTaxType&quot;: &quot;A String&quot;, # To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
1047 &quot;taxTier&quot;: &quot;A String&quot;, # Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).
1048 },
1049 },
1050 },
1051 &quot;trialPeriod&quot;: &quot;A String&quot;, # Trial period, specified in ISO 8601 format. Acceptable values are anything between P7D (seven days) and P999D (999 days).
1052 }</pre>
1053 </div>
1054
1055 </body></html>