public interface IPoyntCustomLoyaltyServiceListener
extends android.os.IInterface
Modifier and Type | Interface and Description |
---|---|
static class |
IPoyntCustomLoyaltyServiceListener.Stub
Local-side IPC implementation stub class.
|
Modifier and Type | Method and Description |
---|---|
void |
onError(java.lang.String requestId,
PoyntError error)
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 |
onSuccess(java.lang.String requestId,
java.lang.String message,
co.poynt.api.model.LoyaltyCustomer customer)
Call this callback function when a account call is successfull.
|
void onSuccess(java.lang.String requestId, java.lang.String message, co.poynt.api.model.LoyaltyCustomer customer) throws android.os.RemoteException
requestId
- Request id of the caller.message
- If any to be discplayed.customer
- updated co.poynt.api.Customer
android.os.RemoteException
void onError(java.lang.String requestId, PoyntError error) 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.customer
- customer object to be processed.android.os.RemoteException