src/test/java/com/squareup/connect/api/TransactionsApiTest.java
@Test
    public void listTransactionsTest() throws ApiException {
        String beginTime = null;
        String endTime = null;
        String sortOrder = null;
        String cursor = null;
        ListTransactionsResponse response = api.listTransactions(locationId, beginTime, endTime, sortOrder, cursor);
        assertTrue(response.getErrors().isEmpty());
        assertFalse(response.getTransactions().isEmpty());
    }
/**
     * ListTransactions
     *
     * Lists transactions for a particular location.  Max results per [page](#paginatingresults): 50
     *
     * @throws ApiException
     *          if the Api call fails
     */
ListTransactions
Lists transactions for a particular location.  Max results per [page](#paginatingresults): 50

@throws ApiException
if the Api call fails
ListTransactions Lists transactions for a particular location . Max results per [ page ] ( #paginatingresults ) : 50 @throws ApiException if the Api call fails
@Test
    public void listTransactionsTest() throws ApiException {
        String beginTime = null;
        String endTime = null;
        String sortOrder = null;
        String cursor = null;
        ListTransactionsResponse response = api.listTransactions(locationId, beginTime, endTime, sortOrder, cursor);
        assertTrue(response.getErrors().isEmpty());
        assertFalse(response.getTransactions().isEmpty());
    }
@ Test public void listTransactionsTest ( ) throws ApiException { String beginTime = null ; String endTime = null ; String sortOrder = null ; String cursor = null ; ListTransactionsResponse response = api . listTransactions ( locationId , beginTime , endTime , sortOrder , cursor ) ; assertTrue ( response . getErrors ( ) . isEmpty ( ) ) ; assertFalse ( response . getTransactions ( ) . isEmpty ( ) ) ; }
ListTransactions
 Lists transactions for a particular location.
ListTransactions Lists transactions for a particular location .