Class ByProjectKeyCartDiscountsByIDPost

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyCartDiscountsByIDPost,CartDiscount,CartDiscountUpdate>
com.commercetools.api.client.ByProjectKeyCartDiscountsByIDPost
All Implemented Interfaces:
ConflictingTrait<ByProjectKeyCartDiscountsByIDPost>, Deprecatable200Trait<ByProjectKeyCartDiscountsByIDPost>, ErrorableTrait<ByProjectKeyCartDiscountsByIDPost>, ExpandableTrait<ByProjectKeyCartDiscountsByIDPost>, io.vrap.rmf.base.client.ClientRequestCommand<CartDiscount>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.RequestCommand<CartDiscount>



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