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

        // TODO: test validations
    }
/**
     * Modifies the details of an existing discount.
     *
     * Modifies the details of an existing discount.
     *
     * @throws ApiException
     *          if the Api call fails
     */
Modifies the details of an existing discount.
Modifies the details of an existing discount.

@throws ApiException
if the Api call fails
Modifies the details of an existing discount . Modifies the details of an existing discount . @throws ApiException if the Api call fails
@Test
    public void updateDiscountTest() throws ApiException {
        String locationId = null;
        String discountId = null;
        V1Discount body = null;
        V1Discount response = api.updateDiscount(locationId, discountId, body);
    }
@ Test public void updateDiscountTest ( ) throws ApiException { String locationId = null ; String discountId = null ; V1Discount body = null ; V1Discount response = api . updateDiscount ( locationId , discountId , body ) ; }
Modifies the details of an existing discount.
Modifies the details of an existing discount .
// TODO: test validations