Class ByProjectKeyCartDiscountsKeyByKeyPostString

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



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