KYC
public class KYC extends Object
↳ package com.onekosmos.blockid.sdk.BIDAPIs.APIManager.ErrorManager
Utility class to manage KYC errors.
Constructor
public KYC(int code, String message)
- Creates an object of KYC class.
| Parameters | Description |
|---|---|
| code | int: The error code. Refer to the error codes table below. |
| message | String: The message associated with the error code. Refer to the error codes table below. |
Method Summary
| Type | Method | Description |
|---|---|---|
| int | getCode() | Returns the error code. |
| String | getMessage() | Returns the error message. |
Method Details
getCode
public int getCode()
- Returns the error code.
getMessage
public String getMessage()
- Returns the error message.
Error Codes
The below table lists license error codes and messages.
| Key | Code | Message |
|---|---|---|
| KYC_NOT_COMPLETE | 600001 | KYC process not complete |