public interface TransactionsApi
@Deprecated ListTransactionsResponse listTransactions(String locationId, String beginTime, String endTime, String sortOrder, String cursor) throws ApiException, IOException
locationId - Required parameter: The ID of the location to list transactions for.beginTime - Optional parameter: The beginning of the requested reporting period, in
RFC 3339 format. See [Date
ranges](https://developer.squareup.com/docs/build-basics/working-with-dates) for
details on date inclusivity/exclusivity. Default value: The current time minus one
year.endTime - Optional parameter: The end of the requested reporting period, in RFC 3339
format. See [Date
ranges](https://developer.squareup.com/docs/build-basics/working-with-dates) for
details on date inclusivity/exclusivity. Default value: The current time.sortOrder - Optional parameter: The order in which results are listed in the response
(`ASC` for oldest first, `DESC` for newest first). Default value: `DESC`cursor - Optional parameter: A pagination cursor returned by a previous call to this
endpoint. Provide this to retrieve the next set of results for your original query.
See [Paginating
results](https://developer.squareup.com/docs/working-with-apis/pagination) for more
information.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.@Deprecated CompletableFuture<ListTransactionsResponse> listTransactionsAsync(String locationId, String beginTime, String endTime, String sortOrder, String cursor)
locationId - Required parameter: The ID of the location to list transactions for.beginTime - Optional parameter: The beginning of the requested reporting period, in
RFC 3339 format. See [Date
ranges](https://developer.squareup.com/docs/build-basics/working-with-dates) for
details on date inclusivity/exclusivity. Default value: The current time minus one
year.endTime - Optional parameter: The end of the requested reporting period, in RFC 3339
format. See [Date
ranges](https://developer.squareup.com/docs/build-basics/working-with-dates) for
details on date inclusivity/exclusivity. Default value: The current time.sortOrder - Optional parameter: The order in which results are listed in the response
(`ASC` for oldest first, `DESC` for newest first). Default value: `DESC`cursor - Optional parameter: A pagination cursor returned by a previous call to this
endpoint. Provide this to retrieve the next set of results for your original query.
See [Paginating
results](https://developer.squareup.com/docs/working-with-apis/pagination) for more
information.@Deprecated RetrieveTransactionResponse retrieveTransaction(String locationId, String transactionId) throws ApiException, IOException
locationId - Required parameter: The ID of the transaction's associated location.transactionId - Required parameter: The ID of the transaction to retrieve.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.@Deprecated CompletableFuture<RetrieveTransactionResponse> retrieveTransactionAsync(String locationId, String transactionId)
locationId - Required parameter: The ID of the transaction's associated location.transactionId - Required parameter: The ID of the transaction to retrieve.@Deprecated CaptureTransactionResponse captureTransaction(String locationId, String transactionId) throws ApiException, IOException
locationId - Required parameter: Example:transactionId - Required parameter: Example:ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.@Deprecated CompletableFuture<CaptureTransactionResponse> captureTransactionAsync(String locationId, String transactionId)
locationId - Required parameter: Example:transactionId - Required parameter: Example:@Deprecated VoidTransactionResponse voidTransaction(String locationId, String transactionId) throws ApiException, IOException
locationId - Required parameter: Example:transactionId - Required parameter: Example:ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.@Deprecated CompletableFuture<VoidTransactionResponse> voidTransactionAsync(String locationId, String transactionId)
locationId - Required parameter: Example:transactionId - Required parameter: Example:Copyright © 2022. All rights reserved.