diff --git a/yoti-sdk-api/src/main/java/com/yoti/api/client/AmlException.java b/yoti-sdk-api/src/main/java/com/yoti/api/client/AmlException.java index e71e542f..327c916c 100644 --- a/yoti-sdk-api/src/main/java/com/yoti/api/client/AmlException.java +++ b/yoti-sdk-api/src/main/java/com/yoti/api/client/AmlException.java @@ -2,7 +2,11 @@ /** * Signals that a problem occurred while performing an AML check + * + * @deprecated The AML check service has been discontinued and this class is no longer used. + * This API will be removed in the next major release. */ +@Deprecated public class AmlException extends Exception { private static final long serialVersionUID = 3210133542178934016L; diff --git a/yoti-sdk-api/src/main/java/com/yoti/api/client/YotiClient.java b/yoti-sdk-api/src/main/java/com/yoti/api/client/YotiClient.java index 7d627caa..252e25b0 100644 --- a/yoti-sdk-api/src/main/java/com/yoti/api/client/YotiClient.java +++ b/yoti-sdk-api/src/main/java/com/yoti/api/client/YotiClient.java @@ -93,7 +93,11 @@ public ActivityDetails getActivityDetails(String encryptedYotiToken) throws Prof * * @throws AmlException * aggregate exception signalling issues during the call + * + * @deprecated The AML check service has been discontinued and this call will no longer succeed. + * This API will be removed in the next major release. */ + @Deprecated public AmlResult performAmlCheck(AmlProfile amlProfile) throws AmlException { LOG.debug("Performing aml check..."); return remoteAmlService.performCheck(amlProfile); diff --git a/yoti-sdk-api/src/main/java/com/yoti/api/client/aml/AmlAddress.java b/yoti-sdk-api/src/main/java/com/yoti/api/client/aml/AmlAddress.java index 1e1ed6d0..9e4481d3 100644 --- a/yoti-sdk-api/src/main/java/com/yoti/api/client/aml/AmlAddress.java +++ b/yoti-sdk-api/src/main/java/com/yoti/api/client/aml/AmlAddress.java @@ -2,6 +2,11 @@ import com.fasterxml.jackson.annotation.JsonProperty; +/** + * @deprecated The AML check service has been discontinued and this class is no longer used. + * This API will be removed in the next major release. + */ +@Deprecated public class AmlAddress { @JsonProperty("post_code") diff --git a/yoti-sdk-api/src/main/java/com/yoti/api/client/aml/AmlProfile.java b/yoti-sdk-api/src/main/java/com/yoti/api/client/aml/AmlProfile.java index 9cb4a0aa..7ec74c41 100644 --- a/yoti-sdk-api/src/main/java/com/yoti/api/client/aml/AmlProfile.java +++ b/yoti-sdk-api/src/main/java/com/yoti/api/client/aml/AmlProfile.java @@ -2,6 +2,11 @@ import com.fasterxml.jackson.annotation.JsonProperty; +/** + * @deprecated The AML check service has been discontinued and this class is no longer used. + * This API will be removed in the next major release. + */ +@Deprecated public class AmlProfile { @JsonProperty("given_names") diff --git a/yoti-sdk-api/src/main/java/com/yoti/api/client/aml/AmlResult.java b/yoti-sdk-api/src/main/java/com/yoti/api/client/aml/AmlResult.java index 1f82adbf..882174a2 100644 --- a/yoti-sdk-api/src/main/java/com/yoti/api/client/aml/AmlResult.java +++ b/yoti-sdk-api/src/main/java/com/yoti/api/client/aml/AmlResult.java @@ -4,7 +4,11 @@ /** * The results of the aml check. + * + * @deprecated The AML check service has been discontinued and this class is no longer used. + * This API will be removed in the next major release. */ +@Deprecated public class AmlResult { @JsonProperty("on_fraud_list")