public class TransactionTerminalService extends Object
| Constructor and Description |
|---|
TransactionTerminalService(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
List<RenderedTerminalReceipt> |
fetchReceipts(Long spaceId,
TerminalReceiptFetchRequest request)
Fetch Receipts
Returns all receipts for the requested terminal transaction.
|
List<RenderedTerminalReceipt> |
fetchReceipts(Long spaceId,
TerminalReceiptFetchRequest request,
Map<String,Object> params)
Fetch Receipts
Returns all receipts for the requested terminal transaction.
|
com.google.api.client.http.HttpResponse |
fetchReceiptsForHttpResponse(Long spaceId,
InputStream request,
String mediaType) |
com.google.api.client.http.HttpResponse |
fetchReceiptsForHttpResponse(Long spaceId,
TerminalReceiptFetchRequest request) |
com.google.api.client.http.HttpResponse |
fetchReceiptsForHttpResponse(Long spaceId,
TerminalReceiptFetchRequest request,
Map<String,Object> params) |
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
String |
tillConnectionCredentials(Long spaceId,
Long transactionId,
Long terminalId,
Map<String,Object> params)
Create Till Connection Credentials
This operation creates a set of credentials to use within the WebSocket.
|
String |
tillConnectionCredentials(Long spaceId,
Long transactionId,
Long terminalId,
String language)
Create Till Connection Credentials
This operation creates a set of credentials to use within the WebSocket.
|
com.google.api.client.http.HttpResponse |
tillConnectionCredentialsForHttpResponse(Long spaceId,
Long transactionId,
Long terminalId,
Map<String,Object> params) |
com.google.api.client.http.HttpResponse |
tillConnectionCredentialsForHttpResponse(Long spaceId,
Long transactionId,
Long terminalId,
String language) |
public TransactionTerminalService(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<RenderedTerminalReceipt> fetchReceipts(Long spaceId, TerminalReceiptFetchRequest request) 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 - request - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public List<RenderedTerminalReceipt> fetchReceipts(Long spaceId, TerminalReceiptFetchRequest request, 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 - request - 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 fetchReceiptsForHttpResponse(Long spaceId, TerminalReceiptFetchRequest request) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse fetchReceiptsForHttpResponse(Long spaceId, InputStream request, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse fetchReceiptsForHttpResponse(Long spaceId, TerminalReceiptFetchRequest request, Map<String,Object> params) throws IOException
IOExceptionpublic String tillConnectionCredentials(Long spaceId, Long transactionId, Long terminalId, String language) 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 - transactionId - The ID of the transaction which is used to process with the terminal.terminalId - The ID of the terminal which should be used to process the transaction.language - The language in which the messages should be rendered in.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public String tillConnectionCredentials(Long spaceId, Long transactionId, Long terminalId, 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 - transactionId - The ID of the transaction which is used to process with the terminal.terminalId - The ID of the terminal which should be used to process the transaction.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 tillConnectionCredentialsForHttpResponse(Long spaceId, Long transactionId, Long terminalId, String language) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse tillConnectionCredentialsForHttpResponse(Long spaceId, Long transactionId, Long terminalId, Map<String,Object> params) throws IOException
IOExceptionCopyright © 2022. All rights reserved.