diff --git a/hsarback/src/de/hsadmin/remote/CustomerRemote.java b/hsarback/src/de/hsadmin/remote/CustomerRemote.java index b1e18b7..7665111 100644 --- a/hsarback/src/de/hsadmin/remote/CustomerRemote.java +++ b/hsarback/src/de/hsadmin/remote/CustomerRemote.java @@ -46,14 +46,6 @@ public class CustomerRemote extends AbstractRemote { } resultMap.put("sharessigned", Integer.toString(cust.getSharesSigned())); resultMap.put("uidvat", cust.getUidVAT()); -// BankAccount bank = cust.getBankAccount(); -// if (bank != null) { -// resultMap.put("bank_customer", bank.getBankCustomer()); -// resultMap.put("bank_iban", bank.getBankIBAN()); -// resultMap.put("bank_bic", bank.getBankBIC()); -// resultMap.put("bank_name", bank.getBankName()); -// resultMap.put("mandat_ref", bank.getMandatRef()); -// } Set contacts = cust.getContacts(); if (contacts != null && !contacts.isEmpty()) { Contact c = contacts.iterator().next(); @@ -127,29 +119,6 @@ public class CustomerRemote extends AbstractRemote { if (assertNotNull(uidVat)) { cust.setUidVAT(uidVat); } -// BankAccount bank = cust.getBankAccount(); -// if (bank == null) { -// bank = new BankAccount(); -// bank.setCustomer(cust); -// cust.setBankAccount(bank); -// bank.setMandatRef(memberNo); -// } -// String bankCustomer = (String) setParams.get("bank_customer"); -// if (assertNotNull(bankCustomer)) { -// bank.setBankCustomer(bankCustomer); -// } -// String bankIBAN = (String) setParams.get("bank_iban"); -// if (assertNotNull(bankIBAN)) { -// bank.setBankIBAN(bankIBAN); -// } -// String bankBIC = (String) setParams.get("bank_bic"); -// if (assertNotNull(bankBIC)) { -// bank.setBankBIC(bankBIC); -// } -// String bankName = (String) setParams.get("bank_name"); -// if (assertNotNull(bankName)) { -// bank.setBankName(bankName); -// } Set contacts = cust.getContacts(); Contact c = null; if (contacts == null || contacts.isEmpty()) {