Skip to content

Commit 3db7726

Browse files
feat(androidpublisher): update the api
#### androidpublisher:v3 The following keys were added: - schemas.OneTimePurchaseDetails.properties.preorderDetails.$ref (Total Keys: 1) - schemas.PreorderDetails (Total Keys: 2) - schemas.PreorderOfferDetails (Total Keys: 4) - schemas.ProductOfferDetails.properties.preorderOfferDetails.$ref (Total Keys: 1)
1 parent 9ba4beb commit 3db7726

File tree

3 files changed

+38
-3
lines changed

3 files changed

+38
-3
lines changed

docs/dyn/androidpublisher_v3.orders.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ <h3>Method Details</h3>
126126
},
127127
&quot;oneTimePurchaseDetails&quot;: { # Details of a one-time purchase. # Details of a one-time purchase.
128128
&quot;offerId&quot;: &quot;A String&quot;, # The offer ID of the one-time purchase offer.
129+
&quot;preorderDetails&quot;: { # Details of a pre-order purchase. # The details of a pre-order purchase. Only set if it is a pre-order purchase. Note that this field will be set even after pre-order is fulfilled.
130+
},
129131
&quot;purchaseOptionId&quot;: &quot;A String&quot;, # ID of the purchase option. This field is set for both purchase options and variant offers. For purchase options, this ID identifies the purchase option itself. For variant offers, this ID refers to the associated purchase option, and in conjunction with offer_id it identifies the variant offer.
130132
&quot;quantity&quot;: 42, # The number of items purchased (for multi-quantity item purchases).
131133
&quot;rentalDetails&quot;: { # Details of a rental purchase. # The details of a rent purchase. Only set if it is a rent purchase.
@@ -270,6 +272,8 @@ <h3>Method Details</h3>
270272
},
271273
&quot;oneTimePurchaseDetails&quot;: { # Details of a one-time purchase. # Details of a one-time purchase.
272274
&quot;offerId&quot;: &quot;A String&quot;, # The offer ID of the one-time purchase offer.
275+
&quot;preorderDetails&quot;: { # Details of a pre-order purchase. # The details of a pre-order purchase. Only set if it is a pre-order purchase. Note that this field will be set even after pre-order is fulfilled.
276+
},
273277
&quot;purchaseOptionId&quot;: &quot;A String&quot;, # ID of the purchase option. This field is set for both purchase options and variant offers. For purchase options, this ID identifies the purchase option itself. For variant offers, this ID refers to the associated purchase option, and in conjunction with offer_id it identifies the variant offer.
274278
&quot;quantity&quot;: 42, # The number of items purchased (for multi-quantity item purchases).
275279
&quot;rentalDetails&quot;: { # Details of a rental purchase. # The details of a rent purchase. Only set if it is a rent purchase.

docs/dyn/androidpublisher_v3.purchases.productsv2.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ <h3>Method Details</h3>
117117
&quot;A String&quot;,
118118
],
119119
&quot;offerToken&quot;: &quot;A String&quot;, # The per-transaction offer token used to make this purchase line item.
120+
&quot;preorderOfferDetails&quot;: { # Offer details information related to a preorder line item. # Offer details for a preorder offer. This will only be set for preorders.
121+
&quot;preorderReleaseTime&quot;: &quot;A String&quot;, # The time when a preordered item is released for a preorder purchase.
122+
},
120123
&quot;purchaseOptionId&quot;: &quot;A String&quot;, # The purchase option ID.
121124
&quot;quantity&quot;: 42, # The quantity associated with the purchase of the inapp product.
122125
&quot;refundableQuantity&quot;: 42, # The quantity eligible for refund, i.e. quantity that hasn&#x27;t been refunded. The value reflects quantity-based partial refunds and full refunds.

googleapiclient/discovery_cache/documents/androidpublisher.v3.json

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5555,7 +5555,7 @@
55555555
}
55565556
}
55575557
},
5558-
"revision": "20250904",
5558+
"revision": "20251028",
55595559
"rootUrl": "https://androidpublisher.googleapis.com/",
55605560
"schemas": {
55615561
"Abi": {
@@ -9456,13 +9456,15 @@ false
94569456
"AVAILABILITY_UNSPECIFIED",
94579457
"AVAILABLE",
94589458
"NO_LONGER_AVAILABLE",
9459-
"AVAILABLE_IF_RELEASED"
9459+
"AVAILABLE_IF_RELEASED",
9460+
"AVAILABLE_FOR_OFFERS_ONLY"
94609461
],
94619462
"enumDescriptions": [
94629463
"Unspecified availability. Must not be used.",
94639464
"The purchase option is available to users.",
94649465
"The purchase option is no longer available to users. This value can only be used if the availability was previously set as AVAILABLE.",
9465-
"The purchase option is initially unavailable, but made available via a released pre-order offer."
9466+
"The purchase option is initially unavailable, but made available via a released pre-order offer.",
9467+
"The purchase option is unavailable but offers linked to it (i.e. Play Points offer) are available."
94669468
],
94679469
"type": "string"
94689470
},
@@ -9518,6 +9520,10 @@ false
95189520
"description": "The offer ID of the one-time purchase offer.",
95199521
"type": "string"
95209522
},
9523+
"preorderDetails": {
9524+
"$ref": "PreorderDetails",
9525+
"description": "The details of a pre-order purchase. Only set if it is a pre-order purchase. Note that this field will be set even after pre-order is fulfilled."
9526+
},
95219527
"purchaseOptionId": {
95229528
"description": "ID of the purchase option. This field is set for both purchase options and variant offers. For purchase options, this ID identifies the purchase option itself. For variant offers, this ID refers to the associated purchase option, and in conjunction with offer_id it identifies the variant offer.",
95239529
"type": "string"
@@ -9855,6 +9861,24 @@ false
98559861
},
98569862
"type": "object"
98579863
},
9864+
"PreorderDetails": {
9865+
"description": "Details of a pre-order purchase.",
9866+
"id": "PreorderDetails",
9867+
"properties": {},
9868+
"type": "object"
9869+
},
9870+
"PreorderOfferDetails": {
9871+
"description": "Offer details information related to a preorder line item.",
9872+
"id": "PreorderOfferDetails",
9873+
"properties": {
9874+
"preorderReleaseTime": {
9875+
"description": "The time when a preordered item is released for a preorder purchase.",
9876+
"format": "google-datetime",
9877+
"type": "string"
9878+
}
9879+
},
9880+
"type": "object"
9881+
},
98589882
"PrepaidBasePlanType": {
98599883
"description": "Represents a base plan that does not automatically renew at the end of the base plan, and must be manually renewed by the user.",
98609884
"id": "PrepaidBasePlanType",
@@ -10001,6 +10025,10 @@ false
1000110025
"description": "The per-transaction offer token used to make this purchase line item.",
1000210026
"type": "string"
1000310027
},
10028+
"preorderOfferDetails": {
10029+
"$ref": "PreorderOfferDetails",
10030+
"description": "Offer details for a preorder offer. This will only be set for preorders."
10031+
},
1000410032
"purchaseOptionId": {
1000510033
"description": "The purchase option ID.",
1000610034
"type": "string"

0 commit comments

Comments
 (0)