Class ByProjectKeyProductDiscountsKeyByKeyPostString

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<ByProjectKeyProductDiscountsKeyByKeyPostString,ProductDiscount>
com.commercetools.api.client.ByProjectKeyProductDiscountsKeyByKeyPostString
All Implemented Interfaces:
ConflictingTrait<ByProjectKeyProductDiscountsKeyByKeyPostString>, Deprecatable200Trait<ByProjectKeyProductDiscountsKeyByKeyPostString>, ErrorableTrait<ByProjectKeyProductDiscountsKeyByKeyPostString>, ExpandableTrait<ByProjectKeyProductDiscountsKeyByKeyPostString>, io.vrap.rmf.base.client.ClientRequestCommand<ProductDiscount>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.RequestCommand<ProductDiscount>



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.product_discount.ProductDiscount>> result = apiRoot
            .withProjectKey("{projectKey}")
            .productDiscounts()
            .withKey("{key}")
            .post("")
            .execute()