public class PaymentTerminalTillService extends Object
| Constructor and Description |
|---|
PaymentTerminalTillService(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
Transaction |
performTransaction(Long spaceId,
Long transactionId,
Long terminalId,
Map<String,Object> params)
Perform Payment Terminal Transaction
Starts a payment terminal transaction and waits for its completion.
|
Transaction |
performTransaction(Long spaceId,
Long transactionId,
Long terminalId,
String language)
Perform Payment Terminal Transaction
Starts a payment terminal transaction and waits for its completion.
|
Transaction |
performTransactionByIdentifier(Long spaceId,
Long transactionId,
String terminalIdentifier,
Map<String,Object> params)
Perform Payment Terminal Transaction (using TID)
Starts a payment terminal transaction and waits for its completion.
|
Transaction |
performTransactionByIdentifier(Long spaceId,
Long transactionId,
String terminalIdentifier,
String language)
Perform Payment Terminal Transaction (using TID)
Starts a payment terminal transaction and waits for its completion.
|
com.google.api.client.http.HttpResponse |
performTransactionByIdentifierForHttpResponse(Long spaceId,
Long transactionId,
String terminalIdentifier,
Map<String,Object> params) |
com.google.api.client.http.HttpResponse |
performTransactionByIdentifierForHttpResponse(Long spaceId,
Long transactionId,
String terminalIdentifier,
String language) |
com.google.api.client.http.HttpResponse |
performTransactionForHttpResponse(Long spaceId,
Long transactionId,
Long terminalId,
Map<String,Object> params) |
com.google.api.client.http.HttpResponse |
performTransactionForHttpResponse(Long spaceId,
Long transactionId,
Long terminalId,
String language) |
void |
setApiClient(ApiClient apiClient) |
public PaymentTerminalTillService(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public Transaction performTransaction(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.
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.
543 - This status code indicates that the long polling request timed out.
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 Transaction performTransaction(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.
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.
543 - This status code indicates that the long polling request timed out.
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 performTransactionForHttpResponse(Long spaceId, Long transactionId, Long terminalId, String language) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse performTransactionForHttpResponse(Long spaceId, Long transactionId, Long terminalId, Map<String,Object> params) throws IOException
IOExceptionpublic Transaction performTransactionByIdentifier(Long spaceId, Long transactionId, String terminalIdentifier, String language) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
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.
543 - This status code indicates that the long polling request timed out.
spaceId - transactionId - The ID of the transaction which is used to process with the terminal.terminalIdentifier - The identifier (aka TID) 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 Transaction performTransactionByIdentifier(Long spaceId, Long transactionId, String terminalIdentifier, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
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.
543 - This status code indicates that the long polling request timed out.
spaceId - transactionId - The ID of the transaction which is used to process with the terminal.terminalIdentifier - The identifier (aka TID) 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 performTransactionByIdentifierForHttpResponse(Long spaceId, Long transactionId, String terminalIdentifier, String language) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse performTransactionByIdentifierForHttpResponse(Long spaceId, Long transactionId, String terminalIdentifier, Map<String,Object> params) throws IOException
IOExceptionCopyright © 2021. All rights reserved.