Interface RemoteTransactionCallback
-
public interface RemoteTransactionCallback
TheRemoteTransactionCallback
interface defines the specific elements required for the integrator to interact during the Remote Transaction Validation flow.This flow is initiated by the server; it is started by a call to
Orchestrator.execute(String)
with the command provided by the server.A
RemoteTransactionCallback
object should be provided to theOrchestrator
object (SeeOrchestrator.setRemoteTranCallback(RemoteTransactionCallback)
) in order to receive feedback during the remote transaction validation process.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
RemoteTransactionCallback.DisplayDataCaller
TheRemoteTransactionCallback.DisplayDataCaller
object is to be informed of data approval/rejection.static class
RemoteTransactionCallback.SessionOutdatedReason
TheRemoteTransactionCallback.SessionOutdatedReason
lists possible reasons for a session to be outdated.static class
RemoteTransactionCallback.SuccessTransactionState
TheRemoteTransactionCallback.SuccessTransactionState
lists possible transaction states after a Remote transaction success.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onRemoteTransactionAborted()
Called upon remote transaction validation abortionvoid
onRemoteTransactionDisplayData(java.lang.String dataToDisplay, RemoteTransactionCallback.DisplayDataCaller caller)
Called when the Orchestration SDK needs theRemoteTransactionCallback
object to display data to the user for approval.void
onRemoteTransactionPasswordError(PasswordError passwordError)
Called upon password error when performing remote transaction.void
onRemoteTransactionSessionOutdated(RemoteTransactionCallback.SessionOutdatedReason reason)
Called upon remote authentication session outdatedvoid
onRemoteTransactionStepComplete(java.lang.String command)
Called when a step of the remote transaction validation process is complete.void
onRemoteTransactionSuccess(RemoteTransactionCallback.SuccessTransactionState state)
Called upon remote transaction validation success
-
-
-
Method Detail
-
onRemoteTransactionDisplayData
void onRemoteTransactionDisplayData(java.lang.String dataToDisplay, RemoteTransactionCallback.DisplayDataCaller caller)
Called when the Orchestration SDK needs theRemoteTransactionCallback
object to display data to the user for approval.- Parameters:
dataToDisplay
- the data to displaycaller
- aRemoteTransactionCallback.DisplayDataCaller
object to use upon user's response
-
onRemoteTransactionStepComplete
void onRemoteTransactionStepComplete(java.lang.String command)
Called when a step of the remote transaction validation process is complete. The provided orchestration command is to be sent to the server.- Parameters:
command
- an orchestration command that must be sent to the server
-
onRemoteTransactionSuccess
void onRemoteTransactionSuccess(RemoteTransactionCallback.SuccessTransactionState state)
Called upon remote transaction validation success
-
onRemoteTransactionSessionOutdated
void onRemoteTransactionSessionOutdated(RemoteTransactionCallback.SessionOutdatedReason reason)
Called upon remote authentication session outdated
-
onRemoteTransactionAborted
void onRemoteTransactionAborted()
Called upon remote transaction validation abortion
-
onRemoteTransactionPasswordError
void onRemoteTransactionPasswordError(PasswordError passwordError)
Called upon password error when performing remote transaction.- Parameters:
passwordError
- the type of password error
-
-