Files
cbsnexora-backend/fineract-avro-schemas/src/main/avro/loan/v1/LoanTransactionDataV1.avsc
T

289 lines
6.7 KiB
JSON

{
"name": "LoanTransactionDataV1",
"namespace": "org.apache.fineract.avro.loan.v1",
"type": "record",
"fields": [
{
"default": null,
"name": "id",
"type": [
"null",
"long"
]
},
{
"default": null,
"name": "loanId",
"type": [
"null",
"long"
]
},
{
"default": null,
"name": "externalLoanId",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "officeId",
"type": [
"null",
"long"
]
},
{
"default": null,
"name": "officeName",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "type",
"type": [
"null",
"org.apache.fineract.avro.loan.v1.LoanTransactionEnumDataV1"
]
},
{
"default": null,
"name": "date",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "currency",
"type": [
"null",
"org.apache.fineract.avro.generic.v1.CurrencyDataV1"
]
},
{
"default": null,
"name": "paymentDetailData",
"type": [
"null",
"org.apache.fineract.avro.payment.v1.PaymentDetailDataV1"
]
},
{
"default": null,
"name": "amount",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "netDisbursalAmount",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "principalPortion",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "interestPortion",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "feeChargesPortion",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "penaltyChargesPortion",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "overpaymentPortion",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "unrecognizedIncomePortion",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "externalId",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "externalOwnerId",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "transfer",
"type": [
"null",
"org.apache.fineract.avro.savings.v1.AccountTransferDataV1"
]
},
{
"default": null,
"name": "fixedEmiAmount",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "outstandingLoanBalance",
"type": [
"null",
"bigdecimal"
]
},
{
"default": null,
"name": "submittedOnDate",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "manuallyReversed",
"type": [
"null",
"boolean"
]
},
{
"default": null,
"name": "possibleNextRepaymentDate",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "loanChargePaidByList",
"type": [
"null",
{
"type": "array",
"items": "org.apache.fineract.avro.loan.v1.LoanChargePaidByDataV1"
}
]
},
{
"default": null,
"name": "transactionRelations",
"type": [
"null",
{
"type": "array",
"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"
}
]
},
{
"default": null,
"name": "reversedOnDate",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "customData",
"type": [
"null",
{
"values": "bytes",
"type": "map"
}
]
},
{
"default": null,
"name": "reversed",
"type": [
"null",
"boolean"
]
},
{
"default": null,
"name": "classification",
"type": [
"null",
"org.apache.fineract.avro.generic.v1.CodeValueDataV1"
]
},
{
"default": null,
"name": "originators",
"doc": "List of originators attached to the parent loan for revenue sharing",
"type": [
"null",
{
"type": "array",
"items": "org.apache.fineract.avro.loan.v1.OriginatorDetailsV1"
}
]
}
]
}