Class ByProjectKeyProductDiscountsKeyByKeyDelete

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



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