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;
/**
* <p>Description:
* <p>Description: TSP退保请求体
*
* <p>Project: car-service
*
* @author wbh
* @date 2020-05-25
*/
public class InsuranceRefundParam implements Serializable {
public class TspRefundReq implements Serializable {
/**
* 保险公司名称(华安:sinosafe,富德:sinofd,阳光:sinosig,人保:picc)
*/
......@@ -50,7 +50,7 @@ public class InsuranceRefundParam implements Serializable {
@Override
public String toString() {
return "InsuranceRefundParam{" +
return "TspRefundReq{" +
"insuranceCompany='" + this.insuranceCompany + '\'' +
", fullInsuranceNo='" + this.fullInsuranceNo + '\'' +
", seqNo='" + this.seqNo + '\'' +
......
package com.glsx.ordercenter.utils.insurance.pojo;
package com.glsx.ordercenter.dto.insurance;
import java.io.Serializable;
......@@ -10,7 +10,7 @@ import java.io.Serializable;
* @author wbh
* @date 2020-05-25
*/
public class InsuranceRefundResult implements Serializable {
public class TspResp implements Serializable {
/**
* 消息返回码 “0”表示成功,错误信息详见“错误码列表”
*/
......@@ -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() {
return this.code;
......@@ -56,30 +56,30 @@ public class InsuranceRefundResult implements Serializable {
this.message = message;
}
public InsuranceData getData() {
public TspRespData getData() {
return this.data;
}
public void setData(InsuranceData data) {
public void setData(TspRespData data) {
this.data = data;
}
public String getErrorMsg() {
return this.errorMsg;
public String getSolution() {
return this.solution;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
public void setSolution(String solution) {
this.solution = solution;
}
@Override
public String toString() {
return "InsuranceRefundResult{" +
return "TspResp{" +
"code='" + this.code + '\'' +
", errId='" + this.errId + '\'' +
", message='" + this.message + '\'' +
", 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;
......@@ -10,7 +10,7 @@ import java.io.Serializable;
* @author wbh
* @date 2020-05-25
*/
public class InsuranceData implements Serializable {
public class TspRespData implements Serializable {
private Boolean callResult;
private String errorCode;
private String errorMsg;
......@@ -68,7 +68,7 @@ public class InsuranceData implements Serializable {
@Override
public String toString() {
return "InsuranceData{" +
return "TspRespData{" +
"callResult=" + this.callResult +
", errorCode='" + this.errorCode + '\'' +
", errorMsg='" + this.errorMsg + '\'' +
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!