|
|
|
|
@ -1,5 +1,9 @@
|
|
|
|
|
package cokr.xit.interfaces.sntris.prenotice;
|
|
|
|
|
|
|
|
|
|
import java.util.LinkedHashMap;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
import java.util.function.Supplier;
|
|
|
|
|
|
|
|
|
|
import javax.xml.namespace.QName;
|
|
|
|
|
|
|
|
|
|
import org.apache.axis.description.ElementDesc;
|
|
|
|
|
@ -36,6 +40,7 @@ public class Bu18WebReturnInfoDTO extends SntrisWSDTO {
|
|
|
|
|
private String SAccountNo;
|
|
|
|
|
/** 계좌번호(우리) */
|
|
|
|
|
private String WAccountNo;
|
|
|
|
|
/** 세외수입부과 키 */
|
|
|
|
|
private String buAfk;
|
|
|
|
|
/** 전자납부번호 */
|
|
|
|
|
private String enapbuNo;
|
|
|
|
|
@ -44,6 +49,7 @@ public class Bu18WebReturnInfoDTO extends SntrisWSDTO {
|
|
|
|
|
private String etcColmn3;
|
|
|
|
|
private String etcColmn4;
|
|
|
|
|
private String etcColmn5;
|
|
|
|
|
/** 과태료대장 키 */
|
|
|
|
|
private String noticeAk;
|
|
|
|
|
private String returnCode;
|
|
|
|
|
private String returnMsg;
|
|
|
|
|
@ -390,6 +396,22 @@ public class Bu18WebReturnInfoDTO extends SntrisWSDTO {
|
|
|
|
|
this.returnMsg = returnMsg;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public boolean isSuccess() {
|
|
|
|
|
return "0".equals(returnCode);
|
|
|
|
|
}
|
|
|
|
|
|