Compare commits
No commits in common. "7d894116ddcf1daf1e96e1d40982f165533c19ad" and "a1c0f554727410920b7385de05eef8071392f12c" have entirely different histories.
7d894116dd
...
a1c0f55472
@ -604,10 +604,8 @@ public class TMSSetupsImpl implements TMSSetups{
|
||||
SystemParamsOperation.getInstance().setAppId(data);
|
||||
}else if (TextUtils.equals(name, "qr_decimal_enable")) {
|
||||
SystemParamsOperation.getInstance().setQrDecimalEnable(parseBoolean(data));
|
||||
} else if (TextUtils.equals(name, "qr_refund_enable")){
|
||||
}else if (TextUtils.equals(name, "qr_refund_enable")){
|
||||
SystemParamsOperation.getInstance().setQrRefundEnable(parseBoolean(data));
|
||||
} else if (TextUtils.equals(name, "tpdu_value")){
|
||||
SystemParamsOperation.getInstance().setTpduValue(data);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -6,7 +6,6 @@ import com.utsmyanmar.paylibs.isobuilder.ISOMode;
|
||||
import com.utsmyanmar.paylibs.model.MsgField;
|
||||
import com.utsmyanmar.paylibs.utils.LogUtil;
|
||||
import com.utsmyanmar.paylibs.utils.core_utils.ByteUtil;
|
||||
import com.utsmyanmar.paylibs.utils.core_utils.SystemParamsOperation;
|
||||
import com.utsmyanmar.paylibs.utils.enums.HostName;
|
||||
|
||||
import java.util.Map;
|
||||
@ -19,9 +18,6 @@ public abstract class BaseISOMsgX {
|
||||
byte[] newSendBytes = EncodePackage.assembly(map, msgIdentifier, 0, "0000000000",hostName);
|
||||
|
||||
String BPCTPDU = "6005150000"; //UAT
|
||||
|
||||
BPCTPDU = SystemParamsOperation.getInstance().getTpduValue();
|
||||
|
||||
// String BPCTPDU = "6005170000"; //PrePro
|
||||
|
||||
if(isoMode == ISOMode.BOTH_HEADER_TPDU) {
|
||||
|
||||
@ -1099,17 +1099,6 @@ public class SystemParamsOperation {
|
||||
saveSystemParamsSettings(params);
|
||||
}
|
||||
|
||||
public void setTpduValue(String value) {
|
||||
SystemParamsSettings params = getSystemParamsSettings();
|
||||
params.setTpduValue(value);
|
||||
saveSystemParamsSettings(params);
|
||||
}
|
||||
|
||||
public String getTpduValue(){
|
||||
SystemParamsSettings params = getSystemParamsSettings();
|
||||
return params.getTpduValue();
|
||||
}
|
||||
|
||||
public boolean getTpduStatus(){
|
||||
SystemParamsSettings params = getSystemParamsSettings();
|
||||
return params.isTpdu_status();
|
||||
|
||||
@ -132,8 +132,6 @@ public class SystemParamsSettings implements Serializable {
|
||||
|
||||
private String lastSuccessTranx = "000001";
|
||||
|
||||
private String tpduValue = "6005150000";
|
||||
|
||||
private String appId = "";
|
||||
|
||||
private String appKey = "";
|
||||
@ -312,14 +310,6 @@ public class SystemParamsSettings implements Serializable {
|
||||
this.disabledMessage = disabledMessage;
|
||||
}
|
||||
|
||||
protected void setTpduValue(String tpduValue) {
|
||||
this.tpduValue = tpduValue;
|
||||
}
|
||||
|
||||
protected String getTpduValue() {
|
||||
return tpduValue;
|
||||
}
|
||||
|
||||
public void setAppId(String appId) {
|
||||
this.appId = appId;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user