public interface IPoyntLoyaltyServiceListener
extends android.os.IInterface
| Modifier and Type | Interface and Description |
|---|---|
static class |
IPoyntLoyaltyServiceListener.Stub
Local-side IPC implementation stub class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
loyaltyApplied(Payment payment,
java.lang.String requestId)
Call this callback function when loyalty has been applied to the order
|
void |
noLoyaltyApplied(java.lang.String requestId)
Call this listener when a discount 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 loyaltyApplied(Payment payment, java.lang.String requestId) throws android.os.RemoteException
payment - updated co.poynt.api.model.PaymentrequestId - Request id of the caller.android.os.RemoteExceptionvoid noLoyaltyApplied(java.lang.String requestId)
throws android.os.RemoteException
requestId - Request id of the caller.PoyntError - error object to generate exception across process.android.os.RemoteExceptionvoid 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.customer - customer object to be processed.android.os.RemoteException