src/test/java/com/squareup/connect/api/V1ItemsApiTest.java
@Test
    public void createDiscountTest() throws ApiException {
        String locationId = null;
        V1Discount body = null;
        V1Discount response = api.createDiscount(locationId, body);

        // TODO: test validations
    }
/**
     * Creates a discount.
     *
     * Creates a discount.
     *
     * @throws ApiException
     *          if the Api call fails
     */
Creates a discount.
Creates a discount.

@throws ApiException
if the Api call fails
Creates a discount . Creates a discount . @throws ApiException if the Api call fails
@Test
    public void createDiscountTest() throws ApiException {
        String locationId = null;
        V1Discount body = null;
        V1Discount response = api.createDiscount(locationId, body);
    }
@ Test public void createDiscountTest ( ) throws ApiException { String locationId = null ; V1Discount body = null ; V1Discount response = api . createDiscount ( locationId , body ) ; }
Creates a discount.
Creates a discount .
// TODO: test validations