This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Im HKTAN in Segment-Version 6 den "orderaccount" auf KTVInt umgestell…

…t, damit dort BIC und IBAN nochmal mitgeschickt wird (so macht es auch Starmoney). Siehe http://www.onlinebanking-forum.de/forum/topic.php?p=101257#real101257
  • Loading branch information...
willuhn committed Jan 27, 2014
1 parent 42836e9 commit 6c4c642949aee1dafec835689e1db9f3241548dd
View
@@ -4550,7 +4550,7 @@
<DEG type="SegHeadUser" name="SegHead"/>
<DE name="process" type="Code" maxsize="1"/>
<DE name="ordersegcode" type="AN" maxsize="6" minnum="0"/>
<DEG name="OrderAccount" type="KTV3" minnum="0" />
<DEG name="OrderAccount" type="KTVInt" minnum="0" />
<DE name="orderhash" type="Bin" maxsize="256" minnum="0"/>
<DE name="orderref" type="AN" maxsize="35" minnum="0"/>
<DE name="listidx" type="AN" maxsize="20" minnum="0"/>
View
@@ -4550,7 +4550,7 @@
<DEG type="SegHeadUser" name="SegHead"/>
<DE name="process" type="Code" maxsize="1"/>
<DE name="ordersegcode" type="AN" maxsize="6" minnum="0"/>
<DEG name="OrderAccount" type="KTV3" minnum="0" />
<DEG name="OrderAccount" type="KTVInt" minnum="0" />
<DE name="orderhash" type="Bin" maxsize="256" minnum="0"/>
<DE name="orderref" type="AN" maxsize="35" minnum="0"/>
<DE name="listidx" type="AN" maxsize="20" minnum="0"/>
View
@@ -4574,7 +4574,7 @@
<DEG type="SegHeadUser" name="SegHead"/>
<DE name="process" type="Code" maxsize="1"/>
<DE name="ordersegcode" type="AN" maxsize="6" minnum="0"/>
<DEG name="OrderAccount" type="KTV3" minnum="0" />
<DEG name="OrderAccount" type="KTVInt" minnum="0" />
<DE name="orderhash" type="Bin" maxsize="256" minnum="0"/>
<DE name="orderref" type="AN" maxsize="35" minnum="0"/>
<DE name="listidx" type="AN" maxsize="20" minnum="0"/>
View
@@ -5042,7 +5042,7 @@
<DEG type="SegHeadUser" name="SegHead"/>
<DE name="process" type="Code" maxsize="1"/>
<DE name="ordersegcode" type="AN" maxsize="6" minnum="0"/>
<DEG name="OrderAccount" type="KTV3" minnum="0" />
<DEG name="OrderAccount" type="KTVInt" minnum="0" />
<DE name="orderhash" type="Bin" maxsize="256" minnum="0"/>
<DE name="orderref" type="AN" maxsize="35" minnum="0"/>
<DE name="listidx" type="AN" maxsize="20" minnum="0"/>
View
@@ -5003,7 +5003,7 @@
<DEG type="SegHeadUser" name="SegHead"/>
<DE name="process" type="Code" maxsize="1"/>
<DE name="ordersegcode" type="AN" maxsize="6" minnum="0"/>
<DEG name="OrderAccount" type="KTV3" minnum="0" />
<DEG name="OrderAccount" type="KTVInt" minnum="0" />
<DE name="orderhash" type="Bin" maxsize="256" minnum="0"/>
<DE name="orderref" type="AN" maxsize="35" minnum="0"/>
<DE name="listidx" type="AN" maxsize="20" minnum="0"/>
@@ -71,6 +71,8 @@ public GVTAN2Step(HBCIHandler handler)
addConstraint("ordersegcode", "ordersegcode","", LogFilter.FILTER_NONE);
addConstraint("orderaccount.bic","OrderAccount.bic",null, LogFilter.FILTER_MOST);
addConstraint("orderaccount.iban","OrderAccount.iban",null, LogFilter.FILTER_IDS);
addConstraint("orderaccount.number","OrderAccount.number",null, LogFilter.FILTER_IDS);
addConstraint("orderaccount.subnumber","OrderAccount.subnumber","", LogFilter.FILTER_MOST);
addConstraint("orderaccount.blz","OrderAccount.KIK.blz",null, LogFilter.FILTER_MOST);
@@ -30,7 +30,6 @@
import java.util.Iterator;
import java.util.List;
import java.util.Properties;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
@@ -1091,6 +1090,8 @@ public Konto getOrderAccount()
}
Konto k = new Konto();
k.number = number;
k.iban = this.getLowlevelParam(prefix + "iban");
k.bic = this.getLowlevelParam(prefix + "bic");
k.subnumber = this.getLowlevelParam(prefix + "subnumber");
k.blz = this.getLowlevelParam(prefix + "KIK.blz");
k.country = this.getLowlevelParam(prefix + "KIK.country");
@@ -1042,7 +1042,7 @@ private void patchMessagesFor2StepMethods(HBCIDialog dialog)
if (k != null)
hktan.setParam("orderaccount",k);
else
HBCIUtils.log("orderaccount needed, but not found in " + task.getHBCICode(),HBCIUtils.LOG_DEBUG);
HBCIUtils.log("orderaccount needed, but not found in " + task.getHBCICode(),HBCIUtils.LOG_WARN);
}
}

0 comments on commit 6c4c642

Please sign in to comment.