Class ByProjectKeyPaymentsByIDDelete

All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyPaymentsByIDDelete,Payment>, ConflictingTrait<ByProjectKeyPaymentsByIDDelete>, DataerasureTrait<ByProjectKeyPaymentsByIDDelete>, Deprecatable200Trait<ByProjectKeyPaymentsByIDDelete>, ErrorableTrait<ByProjectKeyPaymentsByIDDelete>, ExpandableTrait<ByProjectKeyPaymentsByIDDelete>, VersionedTrait<ByProjectKeyPaymentsByIDDelete>, ClientRequestCommand<Payment>, CreateHttpRequestCommand, HttpRequestCommand<Payment>, RequestCommand<Payment>



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