Class ByProjectKeyCartDiscountsKeyByKeyPostString

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



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