Class ByProjectKeyMePaymentsKeyByKeyDelete

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

This endpoint can only delete a Payment when it has no Transactions.



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