src/test/java/com/squareup/connect/api/TransactionsApiTest.java
@Test
    public void listRefundsTest() throws ApiException {
        String beginTime = null;
        String endTime = null;
        String sortOrder = null;
        String cursor = null;

        ListRefundsResponse response = api.listRefunds(locationId, beginTime, endTime, sortOrder, cursor);
        assertTrue(response.getErrors().isEmpty());
        assertFalse(response.getRefunds().isEmpty());
    }
/**
     * ListRefunds
     *
     * Lists refunds for one of a business&#39;s locations.  Refunds with a &#x60;status&#x60; of &#x60;PENDING&#x60; are not currently included in this endpoint&#39;s response.  Max results per [page](#paginatingresults): 50
     *
     * @throws ApiException
     *          if the Api call fails
     */
ListRefunds
Lists refunds for one of a business's locations.  Refunds with a `status` of `PENDING` are not currently included in this endpoint's response.  Max results per [page](#paginatingresults): 50

@throws ApiException
if the Api call fails
ListRefunds Lists refunds for one of a business ' s locations . Refunds with a ` status ` of ` PENDING ` are not currently included in this endpoint ' s response . Max results per [ page ] ( #paginatingresults ) : 50 @throws ApiException if the Api call fails
@Test
    public void listRefundsTest() throws ApiException {
        String beginTime = null;
        String endTime = null;
        String sortOrder = null;
        String cursor = null;
        ListRefundsResponse response = api.listRefunds(locationId, beginTime, endTime, sortOrder, cursor);
        assertTrue(response.getErrors().isEmpty());
        assertFalse(response.getRefunds().isEmpty());
    }
@ Test public void listRefundsTest ( ) throws ApiException { String beginTime = null ; String endTime = null ; String sortOrder = null ; String cursor = null ; ListRefundsResponse response = api . listRefunds ( locationId , beginTime , endTime , sortOrder , cursor ) ; assertTrue ( response . getErrors ( ) . isEmpty ( ) ) ; assertFalse ( response . getRefunds ( ) . isEmpty ( ) ) ; }
ListRefunds
 Lists refunds for one of a business&#39;s locations.
ListRefunds Lists refunds for one of a business&#39 ; s locations .