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
- Customer
callback
- IPoyntCustomerListListener
android.os.RemoteException
void getCustomer(long customerId, IPoyntCustomerReadListener callback) throws android.os.RemoteException
Customer
for the given customerId.customerId
- ID of the customer to retrivecallback
- IPoyntCustomerReadListener
android.os.RemoteException
void lookUpCustomer(co.poynt.api.model.Card card, IPoyntCustomerListListener callback) throws android.os.RemoteException
Customer
based on the Card
.card
- Card
callback
- IPoyntCustomerListListener
android.os.RemoteException
void 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
- Email
phone
- Phone
callback
- IPoyntCustomerReadListener
android.os.RemoteException