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
- IPoyntBusinessReadListener
android.os.RemoteException
void 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
- IPoyntBusinessCustomersListListener
android.os.RemoteException
void 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
- IPoyntBusinessCustomersListListener
android.os.RemoteException
void getBusinessUser(long businessUserId, IPoyntBusinessCustomerListener callback) throws android.os.RemoteException
BusinessUser
for the given businessUserId.businessUserId
- ID of the business user to fetch.callback
- IPoyntBusinessCustomerListener
android.os.RemoteException
void activateTerminal(co.poynt.api.model.ActivateStoreDeviceRequest activateStoreDeviceRequest, IPoyntBusinessActivationListener callback) throws android.os.RemoteException
activateStoreDeviceRequest
- ActivateStoreDeviceRequest
callback
- IPoyntBusinessActivationListener
android.os.RemoteException
void discoverServices(IPoyntDiscoveryListener callback) throws android.os.RemoteException
callback
- IPoyntDiscoveryListener
android.os.RemoteException
void discoverTerminal(IPoyntTerminalDiscoveryListener callback) throws android.os.RemoteException
callback
- IPoyntTerminalDiscoveryListener
android.os.RemoteException
void getActivationState(IPoyntBusinessActivationListener callback) throws android.os.RemoteException
callback
- IPoyntBusinessActivationListener
android.os.RemoteException
void createBusinessUser(co.poynt.api.model.BusinessUser businessUser, IPoyntBusinessCustomerListener callback) throws android.os.RemoteException
businessUser
- BusinessUser
callback
- IPoyntBusinessCustomerListener
android.os.RemoteException
void updateBusinessUserCredential(long businessUserId, co.poynt.api.model.UserCredentialRequest credential, IPoyntBusinessCustomerListener callback) throws android.os.RemoteException
businessUserId
- ID of the business user to updatecallback
- IPoyntBusinessCustomerListener
android.os.RemoteException
void recordBusinessAgreement(co.poynt.api.model.BusinessAgreement businessAgreement, IPoyntBusinessAgreementListener callback) throws android.os.RemoteException
businessAgreement
- BusinessAgreement
callback
- IPoyntBusinessAgreementListener
android.os.RemoteException
void 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
- IPoyntBusinessReadListener
android.os.RemoteException
void 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
- IPoyntBusinessReadListener
android.os.RemoteException
void 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
- IPoyntBusinessProcessorDataListener
android.os.RemoteException