Skip to main content

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
accountBIDLinkedAccount: Object of BIDLinkedAccount
successboolean: Update Status for that particular account.
errorErrorResponse: Object of error response, if any, for that particular account.

Method Summary​

Parameter
BIDLinkedAccountgetAccount()Returns BIDLinkedAccount.
booleanisSuccess()Returns true/false based on success and failure, respectively.
ErrorResponsegetError()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.