Class ByProjectKeyCartDiscountsByIDDelete

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyCartDiscountsByIDDelete,CartDiscount>
com.commercetools.api.client.ByProjectKeyCartDiscountsByIDDelete
All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyCartDiscountsByIDDelete,CartDiscount>, ConflictingTrait<ByProjectKeyCartDiscountsByIDDelete>, Deprecatable200Trait<ByProjectKeyCartDiscountsByIDDelete>, ErrorableTrait<ByProjectKeyCartDiscountsByIDDelete>, ExpandableTrait<ByProjectKeyCartDiscountsByIDDelete>, VersionedTrait<ByProjectKeyCartDiscountsByIDDelete>, io.vrap.rmf.base.client.ClientRequestCommand<CartDiscount>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.HttpRequestCommand<CartDiscount>, io.vrap.rmf.base.client.RequestCommand<CartDiscount>



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