-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
70 additions
and
4 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
src/main/java/com/hyperwallet/clientsdk/model/DocumentVerificationReason.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.hyperwallet.clientsdk.model; | ||
|
||
public enum DocumentVerificationReason { | ||
DOCUMENT_EXPIRED("Document in expired"), | ||
DOCUMENT_NOT_RELATED_TO_PROFILE("Document does not match account information"), | ||
DOCUMENT_NOT_READABLE("Document is not readable"), | ||
DOCUMENT_NOT_DECISIVE("Decision cannot be made based on document. Alternative document required"), | ||
DOCUMENT_NOT_COMPLETE("Document is incomplete"), | ||
DOCUMENT_CORRECTION_REQUIRED("Document requires correction"), | ||
DOCUMENT_NOT_VALID_WITH_NOTES("Document is invalid and rejection details are noted on the account"), | ||
DOCUMENT_TYPE_NOT_VALID("Document type is not acceptable"); | ||
|
||
|
||
private final String description; | ||
|
||
DocumentVerificationReason(String description) { | ||
this.description = description; | ||
} | ||
|
||
public String getDescription() { | ||
return description; | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
src/main/java/com/hyperwallet/clientsdk/model/HyperwalletDocumentRejectReason.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package com.hyperwallet.clientsdk.model; | ||
|
||
import javax.xml.bind.annotation.XmlAccessType; | ||
import javax.xml.bind.annotation.XmlAccessorType; | ||
import javax.xml.bind.annotation.XmlRootElement; | ||
|
||
@XmlRootElement | ||
@XmlAccessorType(XmlAccessType.FIELD) | ||
public class HyperwalletDocumentRejectReason { | ||
|
||
private DocumentVerificationReason name; | ||
private String description; | ||
|
||
public DocumentVerificationReason getName() { | ||
return name; | ||
} | ||
|
||
public void setName(DocumentVerificationReason name) { | ||
this.name = name; | ||
} | ||
|
||
public String getDescription() { | ||
return description; | ||
} | ||
|
||
public void setDescription(String description) { | ||
this.description = description; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters