accountGetters() 추가

master
mjkhan21 9 months ago
parent c4bce9bfdf
commit 51ca1cbbdc

@ -1,5 +1,9 @@
package cokr.xit.interfaces.sntris.fileoffer;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.function.Supplier;
import javax.xml.namespace.QName;
import org.apache.axis.description.ElementDesc;
@ -1137,6 +1141,22 @@ public class Ye22NoticeInfoDTO extends SntrisWSDTO {
this.vatAmt = vatAmt;
}
public Map<String, Supplier<String>> accountGetters() {
LinkedHashMap<String, Supplier<String>> getters = new LinkedHashMap<>();
getters.put("신한", this::getSAccountNo);
getters.put("우리", this::getWAccountNo);
getters.put("하나", this::getHAccountNo);
getters.put("국민", this::getKAccountNo);
getters.put("기업", this::getIAccountNo);
getters.put("우체국", this::getPAccountNo);
getters.put("씨티", this::getCAccountNo);
getters.put("농협", this::getNAccountNo);
getters.put("수협", this::getFAccountNo);
getters.put("카카오", this::getOAccountNo);
getters.put("K뱅크", this::getQAccountNo);
return getters;
}
private Object __equalsCalc = null;
@Override
public synchronized boolean equals(Object obj) {

Loading…
Cancel
Save