in service/src/main/java/org/apache/fineract/cn/teller/service/internal/processor/TellerTransactionProcessor.java [49:75]
public void process(final String tellerCode, final TellerTransaction tellerTransaction, final Boolean chargesIncluded) {
switch (tellerTransaction.getTransactionType()) {
case ServiceConstants.TX_OPEN_ACCOUNT:
this.depositTransactionHandler.processDepositAccountOpening(tellerCode, tellerTransaction, chargesIncluded);
break;
case ServiceConstants.TX_CLOSE_ACCOUNT:
this.depositTransactionHandler.processDepositAccountClosing(tellerCode, tellerTransaction, chargesIncluded);
break;
case ServiceConstants.TX_ACCOUNT_TRANSFER:
this.depositTransactionHandler.processTransfer(tellerCode, tellerTransaction, chargesIncluded);
break;
case ServiceConstants.TX_CASH_DEPOSIT:
this.depositTransactionHandler.processCashDeposit(tellerCode, tellerTransaction, chargesIncluded);
break;
case ServiceConstants.TX_CASH_WITHDRAWAL:
this.depositTransactionHandler.processCashWithdrawal(tellerCode, tellerTransaction, chargesIncluded);
break;
case ServiceConstants.TX_REPAYMENT:
this.portfolioTransactionHandler.processRepayment(tellerCode, tellerTransaction);
break;
case ServiceConstants.TX_CHEQUE:
this.chequeTransactionHandler.processCheque(tellerCode, tellerTransaction);
break;
default:
throw new IllegalArgumentException("Unsupported TX type " + tellerTransaction.getTransactionType());
}
}