OTPSeedUpdatedAccountResult
public class OTPSeedUpdatedAccountResult
↳ package com.onekosmos.blockid.sdk.datamodel.OTPSeedUpdatedAccountResult
Model class to manage OTP Seed Updated Account Result.
Constructor
public OTPSeedUpdatedAccountResult(BIDLinkedAccount account, boolean success, ErrorResponse error)
Creates an object of OTPSeedUpdatedAccountResult class
| Parameters | |
|---|---|
| account | BIDLinkedAccount: Object of BIDLinkedAccount |
| success | boolean: Update Status for that particular account. |
| error | ErrorResponse: Object of error response, if any, for that particular account. |
Method Summary
| Parameter | ||
|---|---|---|
| BIDLinkedAccount | getAccount() | Returns BIDLinkedAccount. |
| boolean | isSuccess() | Returns true/false based on success and failure, respectively. |
| ErrorResponse | getError() | Returns error object |
Method Details
getAccount
public int getAccount()
Returns the Account ID.
isSuccess
public String isSuccess()
Returns a string indicating whether the operation was successful.
getError
public String getError()
Returns the error message, if any.