public interface IPoyntCustomerService
extends android.os.IInterface
| Modifier and Type | Interface and Description |
|---|---|
static class |
IPoyntCustomerService.Stub
Local-side IPC implementation stub class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createCustomer(co.poynt.api.model.Customer customer,
java.lang.String requestId,
IPoyntCustomerReadListener callback)
Create a
Customer. |
void |
getCustomer(long customerId,
IPoyntCustomerReadListener callback)
Retrieves the
Customer for the given customerId. |
void |
lookUpCustomer(co.poynt.api.model.Card card,
IPoyntCustomerListListener callback)
Look up
Customer based on the Card. |
void |
updateCustomer(long customerId,
co.poynt.api.model.Email email,
co.poynt.api.model.Phone phone,
IPoyntCustomerReadListener callback)
Update
Customer's email, and phone. |
void createCustomer(co.poynt.api.model.Customer customer,
java.lang.String requestId,
IPoyntCustomerReadListener callback)
throws android.os.RemoteException
Customer.customer - Customercallback - IPoyntCustomerListListenerandroid.os.RemoteExceptionvoid getCustomer(long customerId,
IPoyntCustomerReadListener callback)
throws android.os.RemoteException
Customer for the given customerId.customerId - ID of the customer to retrivecallback - IPoyntCustomerReadListenerandroid.os.RemoteExceptionvoid lookUpCustomer(co.poynt.api.model.Card card,
IPoyntCustomerListListener callback)
throws android.os.RemoteException
Customer based on the Card.card - Cardcallback - IPoyntCustomerListListenerandroid.os.RemoteExceptionvoid updateCustomer(long customerId,
co.poynt.api.model.Email email,
co.poynt.api.model.Phone phone,
IPoyntCustomerReadListener callback)
throws android.os.RemoteException
Customer's email, and phone.customerId - ID of the customer to updateemail - Emailphone - Phonecallback - IPoyntCustomerReadListenerandroid.os.RemoteException