private void verifyAccounts()

in service/src/main/java/org/apache/fineract/cn/teller/service/rest/TellerOperationRestController.java [270:283]


  private void verifyAccounts(final TellerTransaction tellerTransaction) {
    this.verifyAccount(tellerTransaction.getCustomerAccountIdentifier());

    if (tellerTransaction.getTargetAccountIdentifier() != null) {
      this.verifyAccount(tellerTransaction.getTargetAccountIdentifier());
    }

    if (tellerTransaction.getTransactionType().equals(ServiceConstants.TX_CHEQUE)) {
      final MICR micr = tellerTransaction.getCheque().getMicr();
      if (this.organizationService.officeExists(micr.getBranchSortCode())) {
        this.verifyAccount(micr.getAccountNumber());
      }
    }
  }