Onboarded Purulia Bank (DCCB Code: 13) to NEFT
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
@@ -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 {
|
||||||
|
@@ -14,5 +14,5 @@ bank {
|
|||||||
rootRoute = "IPKS_Queue_Generation"
|
rootRoute = "IPKS_Queue_Generation"
|
||||||
transactionRoute = "IpksApi"
|
transactionRoute = "IpksApi"
|
||||||
}
|
}
|
||||||
codes = ["0003", "0015"]
|
codes = ["0003", "0015", "0013"]
|
||||||
}
|
}
|
@@ -14,5 +14,5 @@ bank {
|
|||||||
rootRoute = "IPKS_Queue_Generation"
|
rootRoute = "IPKS_Queue_Generation"
|
||||||
transactionRoute = "IpksApi"
|
transactionRoute = "IpksApi"
|
||||||
}
|
}
|
||||||
codes = ["0003", "0015"]
|
codes = ["0003", "0015", "0013"]
|
||||||
}
|
}
|
Reference in New Issue
Block a user