From 94673387a96dbcfff4d3270e2a955de43b7e1025 Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Mon, 2 Oct 2023 15:49:29 -0700 Subject: [PATCH] Updating error codes added in App Store Server API v1.9 https://developer.apple.com/documentation/appstoreserverapi/send_consumption_information?changes=latest_minor --- .../com/apple/itunes/storekit/client/APIError.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/main/java/com/apple/itunes/storekit/client/APIError.java b/src/main/java/com/apple/itunes/storekit/client/APIError.java index 46ccf5fa..8d284306 100644 --- a/src/main/java/com/apple/itunes/storekit/client/APIError.java +++ b/src/main/java/com/apple/itunes/storekit/client/APIError.java @@ -37,6 +37,18 @@ public enum APIError { INVALID_STOREFRONT_COUNTRY_CODE(4000028L), INVALID_REVOKED(4000030L), INVALID_STATUS(4000031L), + INVALID_ACCOUNT_TENURE(4000032L), + INVALID_APP_ACCOUNT_TOKEN(4000033L), + INVALID_CONSUMPTION_STATUS(4000034L), + INVALID_CUSTOMER_CONSENTED(4000035L), + INVALID_DELIVERY_STATUS(4000036L), + INVALID_LIFETIME_DOLLARS_PURCHASED(4000037L), + INVALID_LIFETIME_DOLLARS_REFUNDED(4000038L), + INVALID_PLATFORM(4000039L), + INVALID_PLAY_TIME(4000040L), + INVALID_SAMPLE_CONTENT_PROVIDED(4000041L), + INVALID_USER_STATUS(4000042L), + INVALID_TRANSACTION_NOT_CONSUMABLE(4000043L), SUBSCRIPTION_EXTENSION_INELIGIBLE(4030004L), SUBSCRIPTION_MAX_EXTENSION(4030005L), FAMILY_SHARED_SUBSCRIPTION_EXTENSION_INELIGIBLE(4030007L),