Class ByProjectKeyProductDiscountsKeyByKeyDelete

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyProductDiscountsKeyByKeyDelete,ProductDiscount>
com.commercetools.api.client.ByProjectKeyProductDiscountsKeyByKeyDelete
All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyProductDiscountsKeyByKeyDelete,ProductDiscount>, ConflictingTrait<ByProjectKeyProductDiscountsKeyByKeyDelete>, Deprecatable200Trait<ByProjectKeyProductDiscountsKeyByKeyDelete>, ErrorableTrait<ByProjectKeyProductDiscountsKeyByKeyDelete>, ExpandableTrait<ByProjectKeyProductDiscountsKeyByKeyDelete>, VersionedTrait<ByProjectKeyProductDiscountsKeyByKeyDelete>, 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}")
            .delete()
            .withVersion(version)
            .execute()