-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97 from uphold/feature/user-verifications
Add Verifications to user model
- Loading branch information
Showing
7 changed files
with
340 additions
and
34 deletions.
There are no files selected for viewing
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
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
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
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
46 changes: 46 additions & 0 deletions
46
src/app/src/main/java/com/uphold/uphold_android_sdk/model/user/VerificationParameter.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,46 @@ | ||
package com.uphold.uphold_android_sdk.model.user; | ||
|
||
import java.io.Serializable; | ||
|
||
/** | ||
* VerificationParameter model. | ||
*/ | ||
|
||
public class VerificationParameter implements Serializable { | ||
|
||
private String reason; | ||
private String status; | ||
|
||
/** | ||
* Constructor. | ||
* | ||
* @param reason The verification reason. | ||
* @param status The verification status. | ||
*/ | ||
|
||
public VerificationParameter(String reason, String status) { | ||
this.reason = reason; | ||
this.status = status; | ||
} | ||
|
||
/** | ||
* Gets the verification reason. | ||
* | ||
* @return the verification reason. | ||
*/ | ||
|
||
public String getReason() { | ||
return reason; | ||
} | ||
|
||
/** | ||
* Gets the verification status. | ||
* | ||
* @return the verification status. | ||
*/ | ||
|
||
public String getStatus() { | ||
return status; | ||
} | ||
|
||
} |
Oops, something went wrong.