Class ByProjectKeyCartDiscountsKeyByKeyPost

All Implemented Interfaces:
ConflictingTrait<ByProjectKeyCartDiscountsKeyByKeyPost>, Deprecatable200Trait<ByProjectKeyCartDiscountsKeyByKeyPost>, ErrorableTrait<ByProjectKeyCartDiscountsKeyByKeyPost>, ExpandableTrait<ByProjectKeyCartDiscountsKeyByKeyPost>, ClientRequestCommand<CartDiscount>, CreateHttpRequestCommand, HttpRequestCommand<CartDiscount>, RequestCommand<CartDiscount>



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