public interface IPoyntBusinessService
extends android.os.IInterface
| Modifier and Type | Interface and Description |
|---|---|
static class |
IPoyntBusinessService.Stub
Local-side IPC implementation stub class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activateTerminal(co.poynt.api.model.ActivateStoreDeviceRequest activateStoreDeviceRequest,
IPoyntBusinessActivationListener callback)
Activates the terminal using the business credentials (MID and TID) and also creates
the owner business user account with the given user name and passcode.
|
void |
createBusinessUser(co.poynt.api.model.BusinessUser businessUser,
IPoyntBusinessCustomerListener callback)
Adds a new business user to the business/store the terminal is associated with.
|
void |
discoverServices(IPoyntDiscoveryListener callback)
Discover various services available for this device
|
void |
discoverTerminal(IPoyntTerminalDiscoveryListener callback)
Discover various terminals available for activation.
|
void |
getActivationState(IPoyntBusinessActivationListener callback)
Get activation state of this device on initial boot.
|
void |
getAllBusinesses(IPoyntAllBusinessReadListener callback)
Retrieves all the
Business with which the current Poynt
Terminal is associated with. |
void |
getBusiness(IPoyntBusinessReadListener callback)
Retrieves the curent selected
Business with which the Poynt
Terminal is associated with. |
void |
getBusinessById(java.lang.String businessId,
IPoyntBusinessReadListener callback)
Retrieves a business
Business with which the Poynt
Terminal is associated with using the provided business id. |
void |
getBusinessProcessorData(IPoyntBusinessProcessorDataListener callback)
Retrieves the curent selected
Business
including Processor data, with which the Poynt Terminal is associated. |
void |
getBusinessUser(long businessUserId,
IPoyntBusinessCustomerListener callback)
Retrieves the
BusinessUser for the given businessUserId. |
void |
getBusinessUsers(IPoyntBusinessCustomersListListener callback)
Retrieves the
co.poynt.api.model.BusinessUsers of the Business with which
the current Poynt Terminal is associated with. |
void |
getBusinessUsersFromCloud(IPoyntBusinessCustomersListListener callback)
Retrieves the
co.poynt.api.model.BusinessUsers of the Business with which
the current Poynt Terminal is associated with, but skips the local data store
and retreives the data from the Poynt cloud. |
void |
recordBusinessAgreement(co.poynt.api.model.BusinessAgreement businessAgreement,
IPoyntBusinessAgreementListener callback)
Records the business agreement (Eg.
|
void |
updateBusinessUserCredential(long businessUserId,
co.poynt.api.model.UserCredentialRequest credential,
IPoyntBusinessCustomerListener callback)
Updates the login credential for the given business user.
|
void getBusiness(IPoyntBusinessReadListener callback) throws android.os.RemoteException
Business with which the Poynt
Terminal is associated with. If the business information is not available locally, it will
be fetched from the Poynt Cloud.callback - IPoyntBusinessReadListenerandroid.os.RemoteExceptionvoid getBusinessUsersFromCloud(IPoyntBusinessCustomersListListener callback) throws android.os.RemoteException
co.poynt.api.model.BusinessUsers of the Business with which
the current Poynt Terminal is associated with, but skips the local data store
and retreives the data from the Poynt cloud.callback - IPoyntBusinessCustomersListListenerandroid.os.RemoteExceptionvoid getBusinessUsers(IPoyntBusinessCustomersListListener callback) throws android.os.RemoteException
co.poynt.api.model.BusinessUsers of the Business with which
the current Poynt Terminal is associated with.callback - IPoyntBusinessCustomersListListenerandroid.os.RemoteExceptionvoid getBusinessUser(long businessUserId,
IPoyntBusinessCustomerListener callback)
throws android.os.RemoteException
BusinessUser for the given businessUserId.businessUserId - ID of the business user to fetch.callback - IPoyntBusinessCustomerListenerandroid.os.RemoteExceptionvoid activateTerminal(co.poynt.api.model.ActivateStoreDeviceRequest activateStoreDeviceRequest,
IPoyntBusinessActivationListener callback)
throws android.os.RemoteException
activateStoreDeviceRequest - ActivateStoreDeviceRequestcallback - IPoyntBusinessActivationListenerandroid.os.RemoteExceptionvoid discoverServices(IPoyntDiscoveryListener callback) throws android.os.RemoteException
callback - IPoyntDiscoveryListenerandroid.os.RemoteExceptionvoid discoverTerminal(IPoyntTerminalDiscoveryListener callback) throws android.os.RemoteException
callback - IPoyntTerminalDiscoveryListenerandroid.os.RemoteExceptionvoid getActivationState(IPoyntBusinessActivationListener callback) throws android.os.RemoteException
callback - IPoyntBusinessActivationListenerandroid.os.RemoteExceptionvoid createBusinessUser(co.poynt.api.model.BusinessUser businessUser,
IPoyntBusinessCustomerListener callback)
throws android.os.RemoteException
businessUser - BusinessUsercallback - IPoyntBusinessCustomerListenerandroid.os.RemoteExceptionvoid updateBusinessUserCredential(long businessUserId,
co.poynt.api.model.UserCredentialRequest credential,
IPoyntBusinessCustomerListener callback)
throws android.os.RemoteException
businessUserId - ID of the business user to updatecallback - IPoyntBusinessCustomerListenerandroid.os.RemoteExceptionvoid recordBusinessAgreement(co.poynt.api.model.BusinessAgreement businessAgreement,
IPoyntBusinessAgreementListener callback)
throws android.os.RemoteException
businessAgreement - BusinessAgreementcallback - IPoyntBusinessAgreementListenerandroid.os.RemoteExceptionvoid getBusinessById(java.lang.String businessId,
IPoyntBusinessReadListener callback)
throws android.os.RemoteException
Business with which the Poynt
Terminal is associated with using the provided business id. If the business information is
not available locally, it will be fetched from the Poynt Cloud. The specified businessId
must be an id that the Poynt Terminal is activated against.businessId - Id of the business to loadcallback - IPoyntBusinessReadListenerandroid.os.RemoteExceptionvoid getAllBusinesses(IPoyntAllBusinessReadListener callback) throws android.os.RemoteException
Business with which the current Poynt
Terminal is associated with. If the business information is not available locally, it will
be fetched from the Poynt Cloud.callback - IPoyntBusinessReadListenerandroid.os.RemoteExceptionvoid getBusinessProcessorData(IPoyntBusinessProcessorDataListener callback) throws android.os.RemoteException
Business
including Processor data, with which the Poynt Terminal is associated.
It will be fetched from the Poynt Cloud.callback - IPoyntBusinessProcessorDataListenerandroid.os.RemoteException