Skip to content

Commit

Permalink
feat(androidpublisher): update the api
Browse files Browse the repository at this point in the history
#### androidpublisher:v3

The following keys were added:
- schemas.AutoRenewingBasePlanType.properties.legacyCompatibleSubscriptionOfferId.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Sep 27, 2022
1 parent 7700e75 commit 6c1c884
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
Expand Up @@ -125,6 +125,7 @@ <h3>Method Details</h3>
&quot;billingPeriodDuration&quot;: &quot;A String&quot;, # Required. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center.
&quot;gracePeriodDuration&quot;: &quot;A String&quot;, # Grace period of the subscription, specified in ISO 8601 format. Acceptable values are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and P30D (30 days). If not specified, a default value will be used based on the recurring period duration.
&quot;legacyCompatible&quot;: True or False, # Whether the renewing base plan is backward compatible. The backward compatible base plan is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one renewing base plan can be marked as legacy compatible for a given subscription.
&quot;legacyCompatibleSubscriptionOfferId&quot;: &quot;A String&quot;, # Subscription offer id which is legacy compatible. The backward compatible subscription offer is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one subscription offer can be marked as legacy compatible for a given renewing base plan. To have no Subscription offer as legacy compatible set this field as empty string.
&quot;prorationMode&quot;: &quot;A String&quot;, # The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE.
&quot;resubscribeState&quot;: &quot;A String&quot;, # Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified.
},
Expand Down Expand Up @@ -224,6 +225,7 @@ <h3>Method Details</h3>
&quot;billingPeriodDuration&quot;: &quot;A String&quot;, # Required. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center.
&quot;gracePeriodDuration&quot;: &quot;A String&quot;, # Grace period of the subscription, specified in ISO 8601 format. Acceptable values are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and P30D (30 days). If not specified, a default value will be used based on the recurring period duration.
&quot;legacyCompatible&quot;: True or False, # Whether the renewing base plan is backward compatible. The backward compatible base plan is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one renewing base plan can be marked as legacy compatible for a given subscription.
&quot;legacyCompatibleSubscriptionOfferId&quot;: &quot;A String&quot;, # Subscription offer id which is legacy compatible. The backward compatible subscription offer is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one subscription offer can be marked as legacy compatible for a given renewing base plan. To have no Subscription offer as legacy compatible set this field as empty string.
&quot;prorationMode&quot;: &quot;A String&quot;, # The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE.
&quot;resubscribeState&quot;: &quot;A String&quot;, # Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified.
},
Expand Down
7 changes: 7 additions & 0 deletions docs/dyn/androidpublisher_v3.monetization.subscriptions.html
Expand Up @@ -133,6 +133,7 @@ <h3>Method Details</h3>
&quot;billingPeriodDuration&quot;: &quot;A String&quot;, # Required. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center.
&quot;gracePeriodDuration&quot;: &quot;A String&quot;, # Grace period of the subscription, specified in ISO 8601 format. Acceptable values are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and P30D (30 days). If not specified, a default value will be used based on the recurring period duration.
&quot;legacyCompatible&quot;: True or False, # Whether the renewing base plan is backward compatible. The backward compatible base plan is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one renewing base plan can be marked as legacy compatible for a given subscription.
&quot;legacyCompatibleSubscriptionOfferId&quot;: &quot;A String&quot;, # Subscription offer id which is legacy compatible. The backward compatible subscription offer is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one subscription offer can be marked as legacy compatible for a given renewing base plan. To have no Subscription offer as legacy compatible set this field as empty string.
&quot;prorationMode&quot;: &quot;A String&quot;, # The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE.
&quot;resubscribeState&quot;: &quot;A String&quot;, # Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified.
},
Expand Down Expand Up @@ -219,6 +220,7 @@ <h3>Method Details</h3>
&quot;billingPeriodDuration&quot;: &quot;A String&quot;, # Required. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center.
&quot;gracePeriodDuration&quot;: &quot;A String&quot;, # Grace period of the subscription, specified in ISO 8601 format. Acceptable values are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and P30D (30 days). If not specified, a default value will be used based on the recurring period duration.
&quot;legacyCompatible&quot;: True or False, # Whether the renewing base plan is backward compatible. The backward compatible base plan is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one renewing base plan can be marked as legacy compatible for a given subscription.
&quot;legacyCompatibleSubscriptionOfferId&quot;: &quot;A String&quot;, # Subscription offer id which is legacy compatible. The backward compatible subscription offer is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one subscription offer can be marked as legacy compatible for a given renewing base plan. To have no Subscription offer as legacy compatible set this field as empty string.
&quot;prorationMode&quot;: &quot;A String&quot;, # The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE.
&quot;resubscribeState&quot;: &quot;A String&quot;, # Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified.
},
Expand Down Expand Up @@ -300,6 +302,7 @@ <h3>Method Details</h3>
&quot;billingPeriodDuration&quot;: &quot;A String&quot;, # Required. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center.
&quot;gracePeriodDuration&quot;: &quot;A String&quot;, # Grace period of the subscription, specified in ISO 8601 format. Acceptable values are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and P30D (30 days). If not specified, a default value will be used based on the recurring period duration.
&quot;legacyCompatible&quot;: True or False, # Whether the renewing base plan is backward compatible. The backward compatible base plan is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one renewing base plan can be marked as legacy compatible for a given subscription.
&quot;legacyCompatibleSubscriptionOfferId&quot;: &quot;A String&quot;, # Subscription offer id which is legacy compatible. The backward compatible subscription offer is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one subscription offer can be marked as legacy compatible for a given renewing base plan. To have no Subscription offer as legacy compatible set this field as empty string.
&quot;prorationMode&quot;: &quot;A String&quot;, # The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE.
&quot;resubscribeState&quot;: &quot;A String&quot;, # Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified.
},
Expand Down Expand Up @@ -401,6 +404,7 @@ <h3>Method Details</h3>
&quot;billingPeriodDuration&quot;: &quot;A String&quot;, # Required. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center.
&quot;gracePeriodDuration&quot;: &quot;A String&quot;, # Grace period of the subscription, specified in ISO 8601 format. Acceptable values are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and P30D (30 days). If not specified, a default value will be used based on the recurring period duration.
&quot;legacyCompatible&quot;: True or False, # Whether the renewing base plan is backward compatible. The backward compatible base plan is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one renewing base plan can be marked as legacy compatible for a given subscription.
&quot;legacyCompatibleSubscriptionOfferId&quot;: &quot;A String&quot;, # Subscription offer id which is legacy compatible. The backward compatible subscription offer is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one subscription offer can be marked as legacy compatible for a given renewing base plan. To have no Subscription offer as legacy compatible set this field as empty string.
&quot;prorationMode&quot;: &quot;A String&quot;, # The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE.
&quot;resubscribeState&quot;: &quot;A String&quot;, # Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified.
},
Expand Down Expand Up @@ -493,6 +497,7 @@ <h3>Method Details</h3>
&quot;billingPeriodDuration&quot;: &quot;A String&quot;, # Required. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center.
&quot;gracePeriodDuration&quot;: &quot;A String&quot;, # Grace period of the subscription, specified in ISO 8601 format. Acceptable values are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and P30D (30 days). If not specified, a default value will be used based on the recurring period duration.
&quot;legacyCompatible&quot;: True or False, # Whether the renewing base plan is backward compatible. The backward compatible base plan is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one renewing base plan can be marked as legacy compatible for a given subscription.
&quot;legacyCompatibleSubscriptionOfferId&quot;: &quot;A String&quot;, # Subscription offer id which is legacy compatible. The backward compatible subscription offer is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one subscription offer can be marked as legacy compatible for a given renewing base plan. To have no Subscription offer as legacy compatible set this field as empty string.
&quot;prorationMode&quot;: &quot;A String&quot;, # The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE.
&quot;resubscribeState&quot;: &quot;A String&quot;, # Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified.
},
Expand Down Expand Up @@ -591,6 +596,7 @@ <h3>Method Details</h3>
&quot;billingPeriodDuration&quot;: &quot;A String&quot;, # Required. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center.
&quot;gracePeriodDuration&quot;: &quot;A String&quot;, # Grace period of the subscription, specified in ISO 8601 format. Acceptable values are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and P30D (30 days). If not specified, a default value will be used based on the recurring period duration.
&quot;legacyCompatible&quot;: True or False, # Whether the renewing base plan is backward compatible. The backward compatible base plan is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one renewing base plan can be marked as legacy compatible for a given subscription.
&quot;legacyCompatibleSubscriptionOfferId&quot;: &quot;A String&quot;, # Subscription offer id which is legacy compatible. The backward compatible subscription offer is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one subscription offer can be marked as legacy compatible for a given renewing base plan. To have no Subscription offer as legacy compatible set this field as empty string.
&quot;prorationMode&quot;: &quot;A String&quot;, # The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE.
&quot;resubscribeState&quot;: &quot;A String&quot;, # Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified.
},
Expand Down Expand Up @@ -672,6 +678,7 @@ <h3>Method Details</h3>
&quot;billingPeriodDuration&quot;: &quot;A String&quot;, # Required. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center.
&quot;gracePeriodDuration&quot;: &quot;A String&quot;, # Grace period of the subscription, specified in ISO 8601 format. Acceptable values are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and P30D (30 days). If not specified, a default value will be used based on the recurring period duration.
&quot;legacyCompatible&quot;: True or False, # Whether the renewing base plan is backward compatible. The backward compatible base plan is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one renewing base plan can be marked as legacy compatible for a given subscription.
&quot;legacyCompatibleSubscriptionOfferId&quot;: &quot;A String&quot;, # Subscription offer id which is legacy compatible. The backward compatible subscription offer is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one subscription offer can be marked as legacy compatible for a given renewing base plan. To have no Subscription offer as legacy compatible set this field as empty string.
&quot;prorationMode&quot;: &quot;A String&quot;, # The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE.
&quot;resubscribeState&quot;: &quot;A String&quot;, # Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified.
},
Expand Down
Expand Up @@ -132,7 +132,7 @@ <h3>Method Details</h3>
},
&quot;expiryTime&quot;: &quot;A String&quot;, # Time at which the subscription expired or will expire unless the access is extended (ex. renews).
&quot;prepaidPlan&quot;: { # Information related to a prepaid plan. # The item is prepaid.
&quot;allowExtendAfterTime&quot;: &quot;A String&quot;, # After this time, the subscription is allowed for a new top-up purchase. Not present if the subscription is already extended by a top-up purchase.
&quot;allowExtendAfterTime&quot;: &quot;A String&quot;, # If present, this is the time after which top up purchases are allowed for the prepaid plan. Will not be present for expired prepaid plans.
},
&quot;productId&quot;: &quot;A String&quot;, # The purchased product ID (for example, &#x27;monthly001&#x27;).
},
Expand Down
Expand Up @@ -3920,7 +3920,7 @@
}
}
},
"revision": "20220915",
"revision": "20220926",
"rootUrl": "https://androidpublisher.googleapis.com/",
"schemas": {
"AcquisitionTargetingRule": {
Expand Down Expand Up @@ -4079,6 +4079,10 @@
"description": "Whether the renewing base plan is backward compatible. The backward compatible base plan is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one renewing base plan can be marked as legacy compatible for a given subscription.",
"type": "boolean"
},
"legacyCompatibleSubscriptionOfferId": {
"description": "Subscription offer id which is legacy compatible. The backward compatible subscription offer is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one subscription offer can be marked as legacy compatible for a given renewing base plan. To have no Subscription offer as legacy compatible set this field as empty string.",
"type": "string"
},
"prorationMode": {
"description": "The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE.",
"enum": [
Expand Down Expand Up @@ -5543,7 +5547,7 @@
"id": "PrepaidPlan",
"properties": {
"allowExtendAfterTime": {
"description": "After this time, the subscription is allowed for a new top-up purchase. Not present if the subscription is already extended by a top-up purchase.",
"description": "If present, this is the time after which top up purchases are allowed for the prepaid plan. Will not be present for expired prepaid plans.",
"format": "google-datetime",
"type": "string"
}
Expand Down

0 comments on commit 6c1c884

Please sign in to comment.