public class PaymentTerminalService extends Object
| Constructor and Description |
|---|
PaymentTerminalService(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
Long |
count(EntityQueryFilter filter,
Long spaceId,
Map<String,Object> params)
Count
Counts the number of items in the database as restricted by the given filter.
|
Long |
count(Long spaceId,
EntityQueryFilter filter)
Count
Counts the number of items in the database as restricted by the given filter.
|
com.google.api.client.http.HttpResponse |
countForHttpResponse(EntityQueryFilter filter,
Long spaceId,
Map<String,Object> params) |
com.google.api.client.http.HttpResponse |
countForHttpResponse(Long spaceId,
EntityQueryFilter filter) |
com.google.api.client.http.HttpResponse |
countForHttpResponse(Long spaceId,
InputStream filter,
String mediaType) |
ApiClient |
getApiClient() |
void |
link(Long spaceId,
Long terminalId,
String serialNumber)
Link Device With Terminal
Links the device with given serial number with terminal.
|
void |
link(Long spaceId,
Long terminalId,
String serialNumber,
Map<String,Object> params)
Link Device With Terminal
Links the device with given serial number with terminal.
|
com.google.api.client.http.HttpResponse |
linkForHttpResponse(Long spaceId,
Long terminalId,
String serialNumber) |
com.google.api.client.http.HttpResponse |
linkForHttpResponse(Long spaceId,
Long terminalId,
String serialNumber,
Map<String,Object> params) |
PaymentTerminal |
read(Long spaceId,
Long id)
Read
Reads the entity with the given 'id' and returns it.
|
PaymentTerminal |
read(Long spaceId,
Long id,
Map<String,Object> params)
Read
Reads the entity with the given 'id' and returns it.
|
com.google.api.client.http.HttpResponse |
readForHttpResponse(Long spaceId,
Long id) |
com.google.api.client.http.HttpResponse |
readForHttpResponse(Long spaceId,
Long id,
Map<String,Object> params) |
List<PaymentTerminal> |
search(Long spaceId,
EntityQuery query)
Search
Searches for the entities as specified by the given query.
|
List<PaymentTerminal> |
search(Long spaceId,
EntityQuery query,
Map<String,Object> params)
Search
Searches for the entities as specified by the given query.
|
com.google.api.client.http.HttpResponse |
searchForHttpResponse(Long spaceId,
EntityQuery query) |
com.google.api.client.http.HttpResponse |
searchForHttpResponse(Long spaceId,
EntityQuery query,
Map<String,Object> params) |
com.google.api.client.http.HttpResponse |
searchForHttpResponse(Long spaceId,
InputStream query,
String mediaType) |
void |
setApiClient(ApiClient apiClient) |
void |
triggerFinalBalance(Long spaceId,
Long terminalId)
Remotely Trigger Final Balance
Remotely triggers the final balance receipt on the terminal.
|
void |
triggerFinalBalance(Long spaceId,
Long terminalId,
Map<String,Object> params)
Remotely Trigger Final Balance
Remotely triggers the final balance receipt on the terminal.
|
void |
triggerFinalBalanceByIdentifier(Long spaceId,
String terminalIdentifier)
Remotely Trigger Final Balance By Identifier
Remotely triggers the final balance receipt on the terminal by terminal identifier.
|
void |
triggerFinalBalanceByIdentifier(Long spaceId,
String terminalIdentifier,
Map<String,Object> params)
Remotely Trigger Final Balance By Identifier
Remotely triggers the final balance receipt on the terminal by terminal identifier.
|
com.google.api.client.http.HttpResponse |
triggerFinalBalanceByIdentifierForHttpResponse(Long spaceId,
String terminalIdentifier) |
com.google.api.client.http.HttpResponse |
triggerFinalBalanceByIdentifierForHttpResponse(Long spaceId,
String terminalIdentifier,
Map<String,Object> params) |
com.google.api.client.http.HttpResponse |
triggerFinalBalanceForHttpResponse(Long spaceId,
Long terminalId) |
com.google.api.client.http.HttpResponse |
triggerFinalBalanceForHttpResponse(Long spaceId,
Long terminalId,
Map<String,Object> params) |
void |
unlink(Long spaceId,
Long terminalId)
Unlink Device With Terminal
Unlinks the device from terminal.
|
void |
unlink(Long spaceId,
Long terminalId,
Map<String,Object> params)
Unlink Device With Terminal
Unlinks the device from terminal.
|
com.google.api.client.http.HttpResponse |
unlinkForHttpResponse(Long spaceId,
Long terminalId) |
com.google.api.client.http.HttpResponse |
unlinkForHttpResponse(Long spaceId,
Long terminalId,
Map<String,Object> params) |
public PaymentTerminalService(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public Long count(Long spaceId, EntityQueryFilter filter) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - filter - The filter which restricts the entities which are used to calculate the count.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public Long count(EntityQueryFilter filter, Long spaceId, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse countForHttpResponse(Long spaceId, EntityQueryFilter filter) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse countForHttpResponse(Long spaceId, InputStream filter, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse countForHttpResponse(EntityQueryFilter filter, Long spaceId, Map<String,Object> params) throws IOException
IOExceptionpublic void link(Long spaceId, Long terminalId, String serialNumber) throws IOException
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - terminalId - serialNumber - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public void link(Long spaceId, Long terminalId, String serialNumber, Map<String,Object> params) throws IOException
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - terminalId - serialNumber - params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse linkForHttpResponse(Long spaceId, Long terminalId, String serialNumber) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse linkForHttpResponse(Long spaceId, Long terminalId, String serialNumber, Map<String,Object> params) throws IOException
IOExceptionpublic PaymentTerminal read(Long spaceId, Long id) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - The id of the payment terminal which should be returned.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public PaymentTerminal read(Long spaceId, Long id, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - The id of the payment terminal which should be returned.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse readForHttpResponse(Long spaceId, Long id) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse readForHttpResponse(Long spaceId, Long id, Map<String,Object> params) throws IOException
IOExceptionpublic List<PaymentTerminal> search(Long spaceId, EntityQuery query) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - query - The query restricts the payment terminals which are returned by the search.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public List<PaymentTerminal> search(Long spaceId, EntityQuery query, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - query - The query restricts the payment terminals which are returned by the search.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse searchForHttpResponse(Long spaceId, EntityQuery query) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse searchForHttpResponse(Long spaceId, InputStream query, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse searchForHttpResponse(Long spaceId, EntityQuery query, Map<String,Object> params) throws IOException
IOExceptionpublic void triggerFinalBalance(Long spaceId, Long terminalId) throws IOException
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - terminalId - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public void triggerFinalBalance(Long spaceId, Long terminalId, Map<String,Object> params) throws IOException
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - terminalId - params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse triggerFinalBalanceForHttpResponse(Long spaceId, Long terminalId) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse triggerFinalBalanceForHttpResponse(Long spaceId, Long terminalId, Map<String,Object> params) throws IOException
IOExceptionpublic void triggerFinalBalanceByIdentifier(Long spaceId, String terminalIdentifier) throws IOException
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - terminalIdentifier - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public void triggerFinalBalanceByIdentifier(Long spaceId, String terminalIdentifier, Map<String,Object> params) throws IOException
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - terminalIdentifier - params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse triggerFinalBalanceByIdentifierForHttpResponse(Long spaceId, String terminalIdentifier) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse triggerFinalBalanceByIdentifierForHttpResponse(Long spaceId, String terminalIdentifier, Map<String,Object> params) throws IOException
IOExceptionpublic void unlink(Long spaceId, Long terminalId) throws IOException
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - terminalId - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public void unlink(Long spaceId, Long terminalId, Map<String,Object> params) throws IOException
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - terminalId - params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse unlinkForHttpResponse(Long spaceId, Long terminalId) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse unlinkForHttpResponse(Long spaceId, Long terminalId, Map<String,Object> params) throws IOException
IOExceptionCopyright © 2022. All rights reserved.