chore: regens API reference docs (#889)
diff --git a/docs/dyn/androidpublisher_v3.purchases.subscriptions.html b/docs/dyn/androidpublisher_v3.purchases.subscriptions.html
index 4c2b2d8..0ed3c19 100644
--- a/docs/dyn/androidpublisher_v3.purchases.subscriptions.html
+++ b/docs/dyn/androidpublisher_v3.purchases.subscriptions.html
@@ -75,13 +75,13 @@
<h1><a href="androidpublisher_v3.html">Google Play Developer API</a> . <a href="androidpublisher_v3.purchases.html">purchases</a> . <a href="androidpublisher_v3.purchases.subscriptions.html">subscriptions</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
- <code><a href="#acknowledge">acknowledge(packageName, subscriptionId, token, body)</a></code></p>
+ <code><a href="#acknowledge">acknowledge(packageName, subscriptionId, token, body=None)</a></code></p>
<p class="firstline">Acknowledges a subscription purchase.</p>
<p class="toc_element">
<code><a href="#cancel">cancel(packageName, subscriptionId, token)</a></code></p>
<p class="firstline">Cancels a user's subscription purchase. The subscription remains valid until its expiration time.</p>
<p class="toc_element">
- <code><a href="#defer">defer(packageName, subscriptionId, token, body)</a></code></p>
+ <code><a href="#defer">defer(packageName, subscriptionId, token, body=None)</a></code></p>
<p class="firstline">Defers a user's subscription purchase until a specified future expiration time.</p>
<p class="toc_element">
<code><a href="#get">get(packageName, subscriptionId, token)</a></code></p>
@@ -94,14 +94,14 @@
<p class="firstline">Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring.</p>
<h3>Method Details</h3>
<div class="method">
- <code class="details" id="acknowledge">acknowledge(packageName, subscriptionId, token, body)</code>
+ <code class="details" id="acknowledge">acknowledge(packageName, subscriptionId, token, body=None)</code>
<pre>Acknowledges a subscription purchase.
Args:
packageName: string, The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). (required)
subscriptionId: string, The purchased subscription ID (for example, 'monthly001'). (required)
token: string, The token provided to the user's device when the subscription was purchased. (required)
- body: object, The request body. (required)
+ body: object, The request body.
The object takes the form of:
{
@@ -123,14 +123,14 @@
</div>
<div class="method">
- <code class="details" id="defer">defer(packageName, subscriptionId, token, body)</code>
+ <code class="details" id="defer">defer(packageName, subscriptionId, token, body=None)</code>
<pre>Defers a user's subscription purchase until a specified future expiration time.
Args:
packageName: string, The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). (required)
subscriptionId: string, The purchased subscription ID (for example, 'monthly001'). (required)
token: string, The token provided to the user's device when the subscription was purchased. (required)
- body: object, The request body. (required)
+ body: object, The request body.
The object takes the form of:
{
@@ -162,6 +162,7 @@
An object of the form:
{ # A SubscriptionPurchase resource indicates the status of a user's subscription purchase.
+ "externalAccountId": "A String", # User account identifier in the third-party service. Only present if account linking happened as part of the subscription purchase flow.
"countryCode": "A String", # ISO 3166-1 alpha-2 billing country/region code of the user at the time the subscription was granted.
"cancelReason": 42, # The reason why a subscription was canceled or is not auto-renewing. Possible values are:
# - User canceled the subscription
@@ -183,21 +184,34 @@
},
"purchaseType": 42, # The type of purchase of the subscription. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are:
# - Test (i.e. purchased from a license testing account)
+ # - Promo (i.e. purchased using a promo code)
"priceCurrencyCode": "A String", # ISO 4217 currency code for the subscription price. For example, if the price is specified in British pounds sterling, price_currency_code is "GBP".
"linkedPurchaseToken": "A String", # The purchase token of the originating purchase if this subscription is one of the following:
# - Re-signup of a canceled but non-lapsed subscription
# - Upgrade/downgrade from a previous subscription For example, suppose a user originally signs up and you receive purchase token X, then the user cancels and goes through the resignup flow (before their subscription lapses) and you receive purchase token Y, and finally the user upgrades their subscription and you receive purchase token Z. If you call this API with purchase token Z, this field will be set to Y. If you call this API with purchase token Y, this field will be set to X. If you call this API with purchase token X, this field will not be set.
+ "promotionCode": "A String", # The promotion code applied on this purchase. This field is only set if a vanity code promotion is applied when the subscription was purchased.
"orderId": "A String", # The order id of the latest recurring order associated with the purchase of the subscription.
"developerPayload": "A String", # A developer-specified string that contains supplemental information about an order.
"familyName": "A String", # The family name of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'.
"autoRenewing": True or False, # Whether the subscription will automatically be renewed when it reaches its current expiry time.
"emailAddress": "A String", # The email address of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'.
+ "promotionType": 42, # The type of promotion applied on this purchase. This field is only set if a promotion is applied when the subscription was purchased. Possible values are:
+ # - One time code
+ # - Vanity code
"profileName": "A String", # The profile name of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'.
"acknowledgementState": 42, # The acknowledgement state of the subscription product. Possible values are:
# - Yet to be acknowledged
# - Acknowledged
"priceAmountMicros": "A String", # Price of the subscription, not including tax. Price is expressed in micro-units, where 1,000,000 micro-units represents one unit of the currency. For example, if the subscription price is €1.99, price_amount_micros is 1990000.
"kind": "androidpublisher#subscriptionPurchase", # This kind represents a subscriptionPurchase object in the androidpublisher service.
+ "introductoryPriceInfo": { # Contains the introductory price information for a subscription. # Introductory price information of the subscription. This is only present when the subscription was purchased with an introductory price.
+ #
+ # This field does not indicate the subscription is currently in introductory price period.
+ "introductoryPricePeriod": "A String", # Introductory price period, specified in ISO 8601 format. Common values are (but not limited to) "P1W" (one week), "P1M" (one month), "P3M" (three months), "P6M" (six months), and "P1Y" (one year).
+ "introductoryPriceCurrencyCode": "A String", # ISO 4217 currency code for the introductory subscription price. For example, if the price is specified in British pounds sterling, price_currency_code is "GBP".
+ "introductoryPriceAmountMicros": "A String", # Introductory price of the subscription, not including tax. The currency is the same as price_currency_code. Price is expressed in micro-units, where 1,000,000 micro-units represents one unit of the currency. For example, if the subscription price is €1.99, price_amount_micros is 1990000.
+ "introductoryPriceCycles": 42, # The number of billing period to offer introductory pricing.
+ },
"paymentState": 42, # The payment state of the subscription. Possible values are:
# - Payment pending
# - Payment received