src/test/java/com/squareup/connect/api/V1ItemsApiTest.java
@Test
    public void listDiscountsTest() throws ApiException {
        String locationId = null;
        List<V1Discount> response = api.listDiscounts(locationId);

        // TODO: test validations
    }
/**
     * Lists all of a location&#39;s discounts.
     *
     * Lists all of a location&#39;s discounts.
     *
     * @throws ApiException
     *          if the Api call fails
     */
Lists all of a location's discounts.
Lists all of a location's discounts.

@throws ApiException
if the Api call fails
Lists all of a location ' s discounts . Lists all of a location ' s discounts . @throws ApiException if the Api call fails
@Test
    public void listDiscountsTest() throws ApiException {
        String locationId = null;
        List<V1Discount> response = api.listDiscounts(locationId);
    }
@ Test public void listDiscountsTest ( ) throws ApiException { String locationId = null ; List < V1Discount > response = api . listDiscounts ( locationId ) ; }
Lists all of a location&#39;s discounts.
Lists all of a location&#39 ; s discounts .
// TODO: test validations