Class ByProjectKeyProductDiscountsByIDDelete

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyProductDiscountsByIDDelete,ProductDiscount>
com.commercetools.api.client.ByProjectKeyProductDiscountsByIDDelete
All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyProductDiscountsByIDDelete,ProductDiscount>, ConflictingTrait<ByProjectKeyProductDiscountsByIDDelete>, Deprecatable200Trait<ByProjectKeyProductDiscountsByIDDelete>, ErrorableTrait<ByProjectKeyProductDiscountsByIDDelete>, ExpandableTrait<ByProjectKeyProductDiscountsByIDDelete>, VersionedTrait<ByProjectKeyProductDiscountsByIDDelete>, io.vrap.rmf.base.client.ClientRequestCommand<ProductDiscount>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.RequestCommand<ProductDiscount>



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