src/test/java/com/squareup/connect/api/V1TransactionsApiTest.java
@Test
    public void listPaymentsTest() throws ApiException {
        String locationId = null;
        String order = null;
        String beginTime = null;
        String endTime = null;
        Integer limit = null;
        String batchToken = null;
        List<V1Payment> response = api.listPayments(locationId, order, beginTime, endTime, limit, batchToken, true);

        // TODO: test validations
    }
/**
     * Provides summary information for all payments taken by a merchant or any of the merchant&#39;s mobile staff during a date range. Date ranges cannot exceed one year in length. See Date ranges for details of inclusive and exclusive dates.
     *
     * Provides summary information for all payments taken by a merchant or any of the merchant&#39;s mobile staff during a date range. Date ranges cannot exceed one year in length. See Date ranges for details of inclusive and exclusive dates.
     *
     * @throws ApiException
     *          if the Api call fails
     */
Provides summary information for all payments taken by a merchant or any of the merchant's mobile staff during a date range. Date ranges cannot exceed one year in length. See Date ranges for details of inclusive and exclusive dates.
Provides summary information for all payments taken by a merchant or any of the merchant's mobile staff during a date range. Date ranges cannot exceed one year in length. See Date ranges for details of inclusive and exclusive dates.

@throws ApiException
if the Api call fails
Provides summary information for all payments taken by a merchant or any of the merchant ' s mobile staff during a date range . Date ranges cannot exceed one year in length . See Date ranges for details of inclusive and exclusive dates . Provides summary information for all payments taken by a merchant or any of the merchant ' s mobile staff during a date range . Date ranges cannot exceed one year in length . See Date ranges for details of inclusive and exclusive dates . @throws ApiException if the Api call fails
@Test
    public void listPaymentsTest() throws ApiException {
        String locationId = null;
        String order = null;
        String beginTime = null;
        String endTime = null;
        Integer limit = null;
        String batchToken = null;
        List<V1Payment> response = api.listPayments(locationId, order, beginTime, endTime, limit, batchToken, true);
    }
@ Test public void listPaymentsTest ( ) throws ApiException { String locationId = null ; String order = null ; String beginTime = null ; String endTime = null ; Integer limit = null ; String batchToken = null ; List < V1Payment > response = api . listPayments ( locationId , order , beginTime , endTime , limit , batchToken , true ) ; }
Provides summary information for all payments taken by a merchant or any of the merchant&#39;s mobile staff during a date range.
Provides summary information for all payments taken by a merchant or any of the merchant&#39 ; s mobile staff during a date range .
// TODO: test validations