FINERACT-1926: Fineract Asset Externalization - Cancel

- [x] Cancel API
- [x] Event raised on cancel
- [x] Integration test for cancel
This commit is contained in:
Janos Haber
2023-06-23 14:09:29 +02:00
committed by Adam Saghy
parent 90c10a5ade
commit 0079780e30
11 changed files with 676 additions and 5 deletions
@@ -3638,4 +3638,12 @@ public class CommandWrapperBuilder {
this.href = "/external-asset-owners/transfers/loans/" + loanId;
return this;
}
public CommandWrapperBuilder cancelTransactionByIdToExternalAssetOwner(final Long id) {
this.actionName = "CANCEL";
this.entityName = "ASSET_OWNER_TRANSACTION";
this.entityId = id;
this.href = "/external-asset-owners/transfers/" + id;
return this;
}
}