diff --git a/docs/dyn/androidpublisher_v3.purchases.products.html b/docs/dyn/androidpublisher_v3.purchases.products.html index 53cac8dea0..1d800f7c42 100644 --- a/docs/dyn/androidpublisher_v3.purchases.products.html +++ b/docs/dyn/androidpublisher_v3.purchases.products.html @@ -159,6 +159,7 @@

Method Details

"purchaseToken": "A String", # The purchase token generated to identify this purchase. May not be present. "purchaseType": 42, # The type of purchase of the inapp product. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: 0. Test (i.e. purchased from a license testing account) 1. Promo (i.e. purchased using a promo code) 2. Rewarded (i.e. from watching a video ad instead of paying) "quantity": 42, # The quantity associated with the purchase of the inapp product. If not present, the quantity is 1. + "refundableQuantity": 42, # The quantity eligible for refund, i.e. quantity that hasn't been refunded. The value reflects quantity-based partial refunds and full refunds. "regionCode": "A String", # ISO 3166-1 alpha-2 billing region code of the user at the time the product was granted. } diff --git a/docs/dyn/androidpublisher_v3.purchases.voidedpurchases.html b/docs/dyn/androidpublisher_v3.purchases.voidedpurchases.html index 014a772e54..37bca9d584 100644 --- a/docs/dyn/androidpublisher_v3.purchases.voidedpurchases.html +++ b/docs/dyn/androidpublisher_v3.purchases.voidedpurchases.html @@ -78,7 +78,7 @@

Instance Methods

close()

Close httplib2 connections.

- list(packageName, endTime=None, maxResults=None, startIndex=None, startTime=None, token=None, type=None, x__xgafv=None)

+ list(packageName, endTime=None, includeQuantityBasedPartialRefund=None, maxResults=None, startIndex=None, startTime=None, token=None, type=None, x__xgafv=None)

Lists the purchases that were canceled, refunded or charged-back.

Method Details

@@ -87,12 +87,13 @@

Method Details

- list(packageName, endTime=None, maxResults=None, startIndex=None, startTime=None, token=None, type=None, x__xgafv=None) + list(packageName, endTime=None, includeQuantityBasedPartialRefund=None, maxResults=None, startIndex=None, startTime=None, token=None, type=None, x__xgafv=None)
Lists the purchases that were canceled, refunded or charged-back.
 
 Args:
   packageName: string, The package name of the application for which voided purchases need to be returned (for example, 'com.some.thing'). (required)
   endTime: string, The time, in milliseconds since the Epoch, of the newest voided purchase that you want to see in the response. The value of this parameter cannot be greater than the current time and is ignored if a pagination token is set. Default value is current time. Note: This filter is applied on the time at which the record is seen as voided by our systems and not the actual voided time returned in the response.
+  includeQuantityBasedPartialRefund: boolean, Optional. Whether to include voided purchases of quantity-based partial refunds, which are applicable only to multi-quantity purchases. If true, additional voided purchases may be returned with voidedQuantity that indicates the refund quantity of a quantity-based partial refund. The default value is false.
   maxResults: integer, Defines how many results the list operation should return. The default number depends on the resource collection.
   startIndex: integer, Defines the index of the first element to return. This can only be used if indexed paging is enabled.
   startTime: string, The time, in milliseconds since the Epoch, of the oldest voided purchase that you want to see in the response. The value of this parameter cannot be older than 30 days and is ignored if a pagination token is set. Default value is current time minus 30 days. Note: This filter is applied on the time at which the record is seen as voided by our systems and not the actual voided time returned in the response.
@@ -122,6 +123,7 @@ 

Method Details

"orderId": "A String", # The order id which uniquely identifies a one-time purchase, subscription purchase, or subscription renewal. "purchaseTimeMillis": "A String", # The time at which the purchase was made, in milliseconds since the epoch (Jan 1, 1970). "purchaseToken": "A String", # The token which uniquely identifies a one-time purchase or subscription. To uniquely identify subscription renewals use order_id (available starting from version 3 of the API). + "voidedQuantity": 42, # The voided quantity as the result of a quantity-based partial refund. Voided purchases of quantity-based partial refunds may only be returned when includeQuantityBasedPartialRefund is set to true. "voidedReason": 42, # The reason why the purchase was voided, possible values are: 0. Other 1. Remorse 2. Not_received 3. Defective 4. Accidental_purchase 5. Fraud 6. Friendly_fraud 7. Chargeback "voidedSource": 42, # The initiator of voided purchase, possible values are: 0. User 1. Developer 2. Google "voidedTimeMillis": "A String", # The time at which the purchase was canceled/refunded/charged-back, in milliseconds since the epoch (Jan 1, 1970). diff --git a/googleapiclient/discovery_cache/documents/androidpublisher.v3.json b/googleapiclient/discovery_cache/documents/androidpublisher.v3.json index d8f22fc248..41a6487477 100644 --- a/googleapiclient/discovery_cache/documents/androidpublisher.v3.json +++ b/googleapiclient/discovery_cache/documents/androidpublisher.v3.json @@ -4279,6 +4279,11 @@ "location": "query", "type": "string" }, +"includeQuantityBasedPartialRefund": { +"description": "Optional. Whether to include voided purchases of quantity-based partial refunds, which are applicable only to multi-quantity purchases. If true, additional voided purchases may be returned with voidedQuantity that indicates the refund quantity of a quantity-based partial refund. The default value is false.", +"location": "query", +"type": "boolean" +}, "maxResults": { "description": "Defines how many results the list operation should return. The default number depends on the resource collection.", "format": "uint32", @@ -4726,7 +4731,7 @@ } } }, -"revision": "20240318", +"revision": "20240325", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "Abi": { @@ -7706,6 +7711,11 @@ false "format": "int32", "type": "integer" }, +"refundableQuantity": { +"description": "The quantity eligible for refund, i.e. quantity that hasn't been refunded. The value reflects quantity-based partial refunds and full refunds.", +"format": "int32", +"type": "integer" +}, "regionCode": { "description": "ISO 3166-1 alpha-2 billing region code of the user at the time the product was granted.", "type": "string" @@ -9744,6 +9754,11 @@ false "description": "The token which uniquely identifies a one-time purchase or subscription. To uniquely identify subscription renewals use order_id (available starting from version 3 of the API).", "type": "string" }, +"voidedQuantity": { +"description": "The voided quantity as the result of a quantity-based partial refund. Voided purchases of quantity-based partial refunds may only be returned when includeQuantityBasedPartialRefund is set to true.", +"format": "int32", +"type": "integer" +}, "voidedReason": { "description": "The reason why the purchase was voided, possible values are: 0. Other 1. Remorse 2. Not_received 3. Defective 4. Accidental_purchase 5. Fraud 6. Friendly_fraud 7. Chargeback", "format": "int32",