public interface IPoyntCustomDiscountServiceListener
extends android.os.IInterface
Modifier and Type | Interface and Description |
---|---|
static class |
IPoyntCustomDiscountServiceListener.Stub
Local-side IPC implementation stub class.
|
Modifier and Type | Method and Description |
---|---|
void |
onLaunchActivity(android.content.Intent intent,
java.lang.String requestId)
Callback method when Discount provider needs to collect additional information from
merchant or consumer.
|
void |
onResponse(DiscountStatus status,
co.poynt.api.model.Transaction updatedTransaction,
co.poynt.api.model.Order updatedOrder,
java.lang.String requestId)
Callback function for applyDiscount(),
containing the status of the applyDiscount operation, updated order or transaction (if any)
with the required discount information.
|
void onResponse(DiscountStatus status, co.poynt.api.model.Transaction updatedTransaction, co.poynt.api.model.Order updatedOrder, java.lang.String requestId) throws android.os.RemoteException
status
- co.poynt.api.model.DiscountStatus
updatedTransaction
- updated co.poynt.api.Transaction
updatedOrder
- updated co.poynt.api.Order
requestId
- Request id of the callerandroid.os.RemoteException
void onLaunchActivity(android.content.Intent intent, java.lang.String requestId) throws android.os.RemoteException
bundle
- Bundle containing "intent" to launch an activity, which will collection additional information and
returns result containing the same fields as in onResponse().requestId
- Request id of the callerandroid.os.RemoteException