mariiaKraievska commented on code in PR #5584:
URL: https://github.com/apache/fineract/pull/5584#discussion_r2922744769
##########
fineract-avro-schemas/src/main/avro/workingcapitalloan/v1/WorkingCapitalLoanDataV1.avsc:
##########
@@ -0,0 +1,207 @@
+{
+ "name": "WorkingCapitalLoanDataV1",
+ "namespace": "org.apache.fineract.avro.workingcapitalloan.v1",
+ "type": "record",
+ "fields": [
+ {
+ "default": null,
+ "name": "id",
+ "type": [
+ "null",
+ "long"
+ ]
+ },
+ {
+ "default": null,
+ "name": "accountNo",
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ {
+ "default": null,
+ "name": "externalId",
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ {
+ "default": null,
+ "name": "client",
+ "type": [
+ "null",
+ "org.apache.fineract.avro.client.v1.ClientDataV1"
+ ]
+ },
+ {
+ "default": null,
+ "name": "officeId",
+ "type": [
+ "null",
+ "long"
+ ]
+ },
+ {
+ "default": null,
+ "name": "fundId",
+ "type": [
+ "null",
+ "long"
+ ]
+ },
+ {
+ "default": null,
+ "name": "fundName",
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ {
+ "default": null,
+ "name": "product",
+ "type": [
+ "null",
+
"org.apache.fineract.avro.workingcapitalloan.v1.WorkingCapitalLoanProductDataV1"
+ ]
+ },
+ {
+ "default": null,
+ "name": "status",
+ "type": [
+ "null",
+ "org.apache.fineract.avro.loan.v1.LoanStatusEnumDataV1"
+ ]
+ },
+ {
+ "default": null,
+ "name": "submittedOnDate",
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ {
+ "default": null,
+ "name": "expectedDisbursementDate",
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ {
+ "default": null,
+ "name": "approvedOnDate",
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ {
+ "default": null,
+ "name": "rejectedOnDate",
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ {
+ "default": null,
+ "name": "principal",
+ "type": [
+ "null",
+ "bigdecimal"
+ ]
+ },
+ {
+ "default": null,
+ "name": "proposedPrincipal",
+ "type": [
+ "null",
+ "bigdecimal"
+ ]
+ },
+ {
+ "default": null,
+ "name": "approvedPrincipal",
+ "type": [
+ "null",
+ "bigdecimal"
+ ]
+ },
+ {
+ "default": null,
+ "name": "totalPayment",
+ "type": [
+ "null",
+ "bigdecimal"
+ ]
+ },
+ {
+ "default": null,
+ "name": "currency",
+ "type": [
+ "null",
+ "org.apache.fineract.avro.generic.v1.CurrencyDataV1"
+ ]
+ },
+ {
+ "default": null,
+ "name": "periodPaymentRate",
+ "type": [
+ "null",
+ "bigdecimal"
+ ]
+ },
+ {
+ "default": null,
+ "name": "repaymentEvery",
+ "type": [
+ "null",
+ "int"
+ ]
+ },
+ {
+ "default": null,
+ "name": "repaymentFrequencyType",
+ "type": [
+ "null",
+ "org.apache.fineract.avro.generic.v1.StringEnumOptionDataV1"
+ ]
+ },
+ {
+ "default": null,
+ "name": "flatPercentageAmount",
Review Comment:
This field is the WCL product’s flatPercentageAmount and it is returned by
the WCL API. I included it here to keep the external event schema aligned with
the WCL API response
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]