src/test/java/com/squareup/connect/api/PaymentsApiTest.java
@Test
    public void listPaymentsTest() throws ApiException {
        String beginTime = null;
        String endTime = null;
        String sortOrder = null;
        String cursor = null;
        String locationId = null;
        Long total = null;
        String last4 = null;
        String cardBrand = null;
        ListPaymentsResponse response = api.listPayments(beginTime, endTime, sortOrder, cursor, locationId, total, last4, cardBrand);

        // TODO: test validations
    }
/**
     * ListPayments
     *
     * Retrieves a list of payments taken by the account making the request.  Max results per page: 100
     *
     * @throws ApiException
     *          if the Api call fails
     */
ListPayments
Retrieves a list of payments taken by the account making the request.  Max results per page: 100

@throws ApiException
if the Api call fails
ListPayments Retrieves a list of payments taken by the account making the request . Max results per page : 100 @throws ApiException if the Api call fails
@Test
    public void listPaymentsTest() throws ApiException {
        String beginTime = null;
        String endTime = null;
        String sortOrder = null;
        String cursor = null;
        String locationId = null;
        Long total = null;
        String last4 = null;
        String cardBrand = null;
        ListPaymentsResponse response = api.listPayments(beginTime, endTime, sortOrder, cursor, locationId, total, last4, cardBrand);
    }
@ Test public void listPaymentsTest ( ) throws ApiException { String beginTime = null ; String endTime = null ; String sortOrder = null ; String cursor = null ; String locationId = null ; Long total = null ; String last4 = null ; String cardBrand = null ; ListPaymentsResponse response = api . listPayments ( beginTime , endTime , sortOrder , cursor , locationId , total , last4 , cardBrand ) ; }
ListPayments
 Retrieves a list of payments taken by the account making the request.
ListPayments Retrieves a list of payments taken by the account making the request .
// TODO: test validations