Class ByProjectKeyPaymentsByIDDelete

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyPaymentsByIDDelete,Payment>
com.commercetools.api.client.ByProjectKeyPaymentsByIDDelete
All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyPaymentsByIDDelete,Payment>, ConflictingTrait<ByProjectKeyPaymentsByIDDelete>, DataerasureTrait<ByProjectKeyPaymentsByIDDelete>, Deprecatable200Trait<ByProjectKeyPaymentsByIDDelete>, ErrorableTrait<ByProjectKeyPaymentsByIDDelete>, ExpandableTrait<ByProjectKeyPaymentsByIDDelete>, VersionedTrait<ByProjectKeyPaymentsByIDDelete>, io.vrap.rmf.base.client.ClientRequestCommand<Payment>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.RequestCommand<Payment>



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.payment.Payment>> result = apiRoot
            .withProjectKey("{projectKey}")
            .payments()
            .withId("{ID}")
            .delete()
            .withVersion(version)
            .execute()