Class ByProjectKeyProductDiscountsByIDDelete

All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyProductDiscountsByIDDelete,ProductDiscount>, ConflictingTrait<ByProjectKeyProductDiscountsByIDDelete>, Deprecatable200Trait<ByProjectKeyProductDiscountsByIDDelete>, ErrorableTrait<ByProjectKeyProductDiscountsByIDDelete>, ExpandableTrait<ByProjectKeyProductDiscountsByIDDelete>, VersionedTrait<ByProjectKeyProductDiscountsByIDDelete>, ClientRequestCommand<ProductDiscount>, CreateHttpRequestCommand, HttpRequestCommand<ProductDiscount>, RequestCommand<ProductDiscount>



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.product_discount.ProductDiscount>> result = apiRoot
            .withProjectKey("{projectKey}")
            .productDiscounts()
            .withId("{ID}")
            .delete()
            .withVersion(version)
            .execute()