public interface IPoyntCustomTransactionServiceListener
extends android.os.IInterface
Modifier and Type | Interface and Description |
---|---|
static class |
IPoyntCustomTransactionServiceListener.Stub
Local-side IPC implementation stub class.
|
Modifier and Type | Method and Description |
---|---|
void |
onError(java.lang.String requestId,
PoyntError poyntError)
Call this listener when a transaction call failed.
|
void |
onLaunchActivity(android.content.Intent intent,
java.lang.String requestId)
Call this listener when you want to launch a custom UI activity to get user input.
|
void |
onSuccess(java.lang.String requestId,
java.lang.String message,
co.poynt.api.model.Transaction updatedTransaction)
Call this callback function when a custom transaction call is successfull.
|
void onSuccess(java.lang.String requestId, java.lang.String message, co.poynt.api.model.Transaction updatedTransaction) throws android.os.RemoteException
requestId
- Request id of the caller.message
- If any to be discplayed.updateTransaction
- updated co.poynt.api.Transaction
containing the your information added to the original transaction object,
in case you have processed the transaction.android.os.RemoteException
void onError(java.lang.String requestId, PoyntError poyntError) throws android.os.RemoteException
requestId
- Request id of the caller.PoyntError
- error object to generate exception across process.android.os.RemoteException
void onLaunchActivity(android.content.Intent intent, java.lang.String requestId) throws android.os.RemoteException
requestId
- Request id of the caller.intent
- Intent to launch an activity.Transaction
- transaction object to be processed.android.os.RemoteException