Commit 72c182bb by wubh

包活干V1.9.0-新增:TSP保险接口数据封装体

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@26991 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent acd1f70c
package com.glsx.ordercenter.utils.insurance.pojo; package com.glsx.ordercenter.dto.insurance;
import java.io.Serializable; import java.io.Serializable;
/** /**
* <p>Description: * <p>Description: TSP退保请求体
* *
* <p>Project: car-service * <p>Project: car-service
* *
* @author wbh * @author wbh
* @date 2020-05-25 * @date 2020-05-25
*/ */
public class InsuranceRefundParam implements Serializable { public class TspRefundReq implements Serializable {
/** /**
* 保险公司名称(华安:sinosafe,富德:sinofd,阳光:sinosig,人保:picc) * 保险公司名称(华安:sinosafe,富德:sinofd,阳光:sinosig,人保:picc)
*/ */
...@@ -50,7 +50,7 @@ public class InsuranceRefundParam implements Serializable { ...@@ -50,7 +50,7 @@ public class InsuranceRefundParam implements Serializable {
@Override @Override
public String toString() { public String toString() {
return "InsuranceRefundParam{" + return "TspRefundReq{" +
"insuranceCompany='" + this.insuranceCompany + '\'' + "insuranceCompany='" + this.insuranceCompany + '\'' +
", fullInsuranceNo='" + this.fullInsuranceNo + '\'' + ", fullInsuranceNo='" + this.fullInsuranceNo + '\'' +
", seqNo='" + this.seqNo + '\'' + ", seqNo='" + this.seqNo + '\'' +
......
package com.glsx.ordercenter.utils.insurance.pojo; package com.glsx.ordercenter.dto.insurance;
import java.io.Serializable; import java.io.Serializable;
...@@ -10,7 +10,7 @@ import java.io.Serializable; ...@@ -10,7 +10,7 @@ import java.io.Serializable;
* @author wbh * @author wbh
* @date 2020-05-25 * @date 2020-05-25
*/ */
public class InsuranceRefundResult implements Serializable { public class TspResp implements Serializable {
/** /**
* 消息返回码 “0”表示成功,错误信息详见“错误码列表” * 消息返回码 “0”表示成功,错误信息详见“错误码列表”
*/ */
...@@ -26,11 +26,11 @@ public class InsuranceRefundResult implements Serializable { ...@@ -26,11 +26,11 @@ public class InsuranceRefundResult implements Serializable {
/** /**
* 成功返回数据 * 成功返回数据
*/ */
private InsuranceData data; private TspRespData data;
/** /**
* 退保结果("SUCCESS"或者"保单号+全额退款成功") * 错误提示
*/ */
private String errorMsg; private String solution;
public String getCode() { public String getCode() {
return this.code; return this.code;
...@@ -56,30 +56,30 @@ public class InsuranceRefundResult implements Serializable { ...@@ -56,30 +56,30 @@ public class InsuranceRefundResult implements Serializable {
this.message = message; this.message = message;
} }
public InsuranceData getData() { public TspRespData getData() {
return this.data; return this.data;
} }
public void setData(InsuranceData data) { public void setData(TspRespData data) {
this.data = data; this.data = data;
} }
public String getErrorMsg() { public String getSolution() {
return this.errorMsg; return this.solution;
} }
public void setErrorMsg(String errorMsg) { public void setSolution(String solution) {
this.errorMsg = errorMsg; this.solution = solution;
} }
@Override @Override
public String toString() { public String toString() {
return "InsuranceRefundResult{" + return "TspResp{" +
"code='" + this.code + '\'' + "code='" + this.code + '\'' +
", errId='" + this.errId + '\'' + ", errId='" + this.errId + '\'' +
", message='" + this.message + '\'' + ", message='" + this.message + '\'' +
", data=" + this.data + ", data=" + this.data +
", errorMsg='" + this.errorMsg + '\'' + ", solution='" + this.solution + '\'' +
'}'; '}';
} }
} }
package com.glsx.ordercenter.utils.insurance.pojo; package com.glsx.ordercenter.dto.insurance;
import java.io.Serializable; import java.io.Serializable;
...@@ -10,7 +10,7 @@ import java.io.Serializable; ...@@ -10,7 +10,7 @@ import java.io.Serializable;
* @author wbh * @author wbh
* @date 2020-05-25 * @date 2020-05-25
*/ */
public class InsuranceData implements Serializable { public class TspRespData implements Serializable {
private Boolean callResult; private Boolean callResult;
private String errorCode; private String errorCode;
private String errorMsg; private String errorMsg;
...@@ -68,7 +68,7 @@ public class InsuranceData implements Serializable { ...@@ -68,7 +68,7 @@ public class InsuranceData implements Serializable {
@Override @Override
public String toString() { public String toString() {
return "InsuranceData{" + return "TspRespData{" +
"callResult=" + this.callResult + "callResult=" + this.callResult +
", errorCode='" + this.errorCode + '\'' + ", errorCode='" + this.errorCode + '\'' +
", errorMsg='" + this.errorMsg + '\'' + ", errorMsg='" + this.errorMsg + '\'' +
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!