package com.hyperwallet.clientsdk.model;

public enum DocumentVerificationReason {
    NONE("EKYCDocumentRejectReason.NONE"),
    DOCUMENT_EXPIRED("EKYCDocumentRejectReason.DOCUMENT_EXPIRED"),
    DOCUMENT_NOT_SUPPORTED("EKYCDocumentRejectReason.DOCUMENT_NOT_SUPPORTED"),
    TIMEOUT_OR_DOCUMENT_NOT_SUPPORTED("EKYCDocumentRejectReason.TIMEOUT_OR_DOCUMENT_NOT_SUPPORTED"),
    DOCUMENT_NOT_RELATED_TO_USER("EKYCDocumentRejectReason.DOCUMENT_NOT_RELATED_TO_USER"),
    DOCUMENT_NOT_READABLE("EKYCDocumentRejectReason.DOCUMENT_NOT_READABLE"),
    DOCUMENT_NOT_DECISIVE("EKYCDocumentRejectReason.DOCUMENT_NOT_DECISIVE"),
    DOCUMENT_SUSPICIOUS("EKYCDocumentRejectReason.DOCUMENT_SUSPICIOUS"),
    DOCUMENT_VENDOR_UPLOAD_FAILED("EKYCDocumentRejectReason.DOCUMENT_VENDOR_UPLOAD_FAILED"),
    DOCUMENT_NOT_COMPLETE("EKYCDocumentRejectReason.DOCUMENT_NOT_COMPLETE"),
    DOCUMENT_CORRECTION_REQUIRED("EKYCDocumentRejectReason.DOCUMENT_CORRECTION_REQUIRED"),
    DOCUMENT_NOT_VALID_WITH_NOTES("EKYCDocumentRejectReason.DOCUMENT_NOT_VALID_WITH_NOTES"),
    DOCUMENT_TYPE_NOT_VALID("EKYCDocumentRejectReason.DOCUMENT_TYPE_NOT_VALID"),
    OTHER("EKYCDocumentRejectReason.OTHER");

    private String contentKeyName;

    DocumentVerificationReason(String contentKeyName) {
        this.contentKeyName = contentKeyName;
    }

    public String getContentKeyName() {
        return contentKeyName;
    }
}

@@ -80,51 +80,8 @@
 n %7B%0A
-    NONE(%22EKYCDocumentRejectReason.NONE%22),%0A
     
@@ -94,36 +94,32 @@
 NT_EXPIRED(%22
-EKYC
 Document
 RejectReason
@@ -110,308 +110,103 @@
 ment
-RejectReason.DOCUMENT_EXPIRED%22),%0A    DOCUMENT_NOT_SUPPORTED(%22EKYCDocumentRejectReason.DOCUMENT_NOT_SUPPORTED%22),%0A    TIMEOUT_OR_DOCUMENT_NOT_SUPPORTED(%22EKYCDocumentRejectReason.TIMEOUT_OR_DOCUMENT_NOT_SUPPORTED%22),%0A    DOCUMENT_NOT_RELATED_TO_USER(%22EKYCDocumentRejectReason.DOCUMENT_NOT_RELATED_TO_USER
+ in expired%22),%0A    DOCUMENT_NOT_RELATED_TO_PROFILE(%22Document does not match account information
 %22),%0A
@@ -232,28 +232,24 @@
 ADABLE(%22
-EKYC
 Document
 RejectRe
@@ -244,285 +244,127 @@
 ment
-RejectReason.DOCUMENT_NOT_READABLE%22),%0A    DOCUMENT_NOT_DECISIVE(%22EKYCDocumentRejectReason.DOCUMENT_NOT_DECISIVE%22),%0A    DOCUMENT_SUSPICIOUS(%22EKYCDocumentRejectReason.DOCUMENT_SUSPICIOUS%22),%0A    DOCUMENT_VENDOR_UPLOAD_FAILED(%22EKYCDocumentRejectReason.DOCUMENT_VENDOR_UPLOAD_FAILED
+ is not readable%22),%0A    DOCUMENT_NOT_DECISIVE(%22Decision cannot be made based on document. Alternative document required
 %22),%0A
@@ -390,28 +390,24 @@
 MPLETE(%22
-EKYC
 Document
 RejectRe
@@ -402,42 +402,22 @@
 ment
-RejectReason.DOCUMENT_NOT_COMPLETE
+ is incomplete
 %22),%0A
@@ -450,28 +450,24 @@
 QUIRED(%22
-EKYC
 Document
 RejectRe
@@ -462,49 +462,28 @@
 ment
-RejectReason.DOCUMENT_CORRECTION_REQUIRED
+ requires correction
 %22),%0A
@@ -517,28 +517,24 @@
 _NOTES(%22
-EKYC
 Document
 RejectRe
@@ -529,50 +529,66 @@
 ment
-RejectReason.DOCUMENT_NOT_VALID_WITH_NOTES
+ is invalid and rejection details are noted on the account
 %22),%0A
@@ -616,28 +616,24 @@
 _VALID(%22
-EKYC
 Document
 RejectRe
@@ -628,94 +628,37 @@
 ment
-RejectReason.DOCUMENT_TYPE_NOT_VALID%22),%0A    OTHER(%22EKYCDocumentRejectReason.OTHER
+ type is not acceptable
 %22);%0A%0A
+%0A
     
@@ -665,37 +665,40 @@
 private 
+final 
 String 
-contentKeyName
+description
 ;%0A%0A    D
@@ -730,30 +730,27 @@
 (String 
-contentKeyName
+description
 ) %7B%0A    
@@ -762,39 +762,33 @@
 his.
-contentKeyName = contentKeyName
+description = description
 ;%0A  
@@ -817,22 +817,19 @@
  get
-ContentKeyName
+Description
 () %7B
@@ -848,22 +848,19 @@
 urn 
-contentKeyName
+description
 ;%0A  

Update DocumentVerificationReason. DTONBWTWO-132