Onboarded Purulia Bank (DCCB Code: 13) to NEFT

This commit is contained in:
2025-07-23 22:15:05 +05:30
parent 4c5ac7ac03
commit 80cb10e062
4 changed files with 10 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ import net.ipksindia.model.TransferTransaction
import java.time.format.DateTimeFormatter import java.time.format.DateTimeFormatter
class TransactionFactory(private val transactionRequest: TransactionRequest, private val teller: Teller) { class TransactionFactory(private val transactionRequest: TransactionRequest, private val teller: Teller) {
private val bankDccbToSftpMap = mutableMapOf("0015" to "0005", "0003" to "0021") private val bankDccbToSftpMap = mutableMapOf("0015" to "0005", "0003" to "0021", "0013" to "0016")
private val date = transactionRequest.date.format(DateTimeFormatter.ofPattern("dd-MM-yyyy")) private val date = transactionRequest.date.format(DateTimeFormatter.ofPattern("dd-MM-yyyy"))
private val rrn = transactionRequest.date.format(DateTimeFormatter.ofPattern("ddMM")) + transactionRequest.transactionNumber.takeLast(4) private val rrn = transactionRequest.date.format(DateTimeFormatter.ofPattern("ddMM")) + transactionRequest.transactionNumber.takeLast(4)

View File

@@ -44,6 +44,13 @@ class TellerDao {
"00022" to "1234", "00022" to "1234",
"00026" to "11126" "00026" to "11126"
), ),
"0016" to mapOf(
"00101" to "500",
"00102" to "502",
"00103" to "503",
"00106" to "506",
"00107" to "507"
)
) )
fun getTeller(dccbCode: String, branchCode: String): Teller { fun getTeller(dccbCode: String, branchCode: String): Teller {

View File

@@ -14,5 +14,5 @@ bank {
rootRoute = "IPKS_Queue_Generation" rootRoute = "IPKS_Queue_Generation"
transactionRoute = "IpksApi" transactionRoute = "IpksApi"
} }
codes = ["0003", "0015"] codes = ["0003", "0015", "0013"]
} }

View File

@@ -14,5 +14,5 @@ bank {
rootRoute = "IPKS_Queue_Generation" rootRoute = "IPKS_Queue_Generation"
transactionRoute = "IpksApi" transactionRoute = "IpksApi"
} }
codes = ["0003", "0015"] codes = ["0003", "0015", "0013"]
} }