IdealConnector connector = new IdealConnector("payment");
Issuers issuers = connector.getIssuerList();
List<Issuer> shortList = issuers.getShortList();
List<Issuer> longList = issuers.getLongList();
for (Iterator<Issuer> iter = shortList.iterator(); iter.hasNext();) {
Issuer issuer = (Issuer) iter.next();
issuerList.add(issuer);
}
for (Iterator<Issuer> iter = longList.iterator(); iter.hasNext();) {
Issuer issuer = (Issuer) iter.next();
issuerList.add(issuer);
}
} catch (IdealException ex){
Debug.logError(ex.getMessage(), module);
}