Class ByProjectKeyPaymentsKeyByKeyDelete

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



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