FINERACT-1806: Trigger event when charge-off happens

This commit is contained in:
Adam Saghy
2023-01-17 15:27:21 +01:00
committed by Arnold Gálovics
parent e4106bd11d
commit b24cdb4a65
15 changed files with 320 additions and 8 deletions
@@ -216,6 +216,18 @@
"items": "org.apache.fineract.avro.loan.v1.LoanTransactionRelationDataV1"
}
]
},
{
"default": null,
"name": "unpaidCharges",
"doc": "Only used for Charge-off transaction",
"type": [
"null",
{
"type": "array",
"items": "org.apache.fineract.avro.loan.v1.UnpaidChargeDataV1"
}
]
}
]
}
@@ -0,0 +1,19 @@
{
"name": "UnpaidChargeDataV1",
"namespace": "org.apache.fineract.avro.loan.v1",
"type": "record",
"fields": [
{
"name": "chargeId",
"type": "long"
},
{
"name": "chargeName",
"type": "string"
},
{
"name": "outstandingAmount",
"type": "bigdecimal"
}
]
}