@@ -1,6 +1,8 @@ | |||
package cn.com.taiji.core.model.comm.protocol.ats.weiXin; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeRequest; | |||
import cn.com.taiji.core.model.comm.protocol.ats.AbstractAtsRequest; | |||
import cn.com.taiji.core.model.comm.protocol.valid.ErrorMsgBuilder; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@@ -14,7 +16,7 @@ import javax.validation.constraints.NotBlank; | |||
*/ | |||
@Getter | |||
@Setter | |||
public class AtsVehicleSignV3ResultRequest extends AbstractSignTypeRequest<AtsVehicleSignV3ResultResponse> { | |||
public class AtsVehicleSignV3ResultRequest extends AbstractAtsRequest<AtsVehicleSignV3ResultResponse> { | |||
public AtsVehicleSignV3ResultRequest() { | |||
super(WeiXinServiceCmd.VEHICLESIGNRESULTV3); | |||
} | |||
@@ -57,4 +59,8 @@ public class AtsVehicleSignV3ResultRequest extends AbstractSignTypeRequest<AtsVe | |||
private String publicKeyId;//商户公钥ID | |||
@Override | |||
protected void validate(ErrorMsgBuilder builder) { | |||
} | |||
} |
@@ -1,6 +1,7 @@ | |||
package cn.com.taiji.core.model.comm.protocol.ats.weiXin; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeRequest; | |||
import cn.com.taiji.core.model.comm.protocol.ats.AbstractAtsRequest; | |||
import cn.com.taiji.core.model.comm.protocol.valid.ErrorMsgBuilder; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@@ -14,7 +15,7 @@ import javax.validation.constraints.NotBlank; | |||
*/ | |||
@Getter | |||
@Setter | |||
public class AtsWxDeductResultV2Request extends AbstractSignTypeRequest<AtsWxDeductResultV2Response> { | |||
public class AtsWxDeductResultV2Request extends AbstractAtsRequest<AtsWxDeductResultV2Response> { | |||
protected AtsWxDeductResultV2Request() { | |||
super(WeiXinServiceCmd.WEIXINDEDUCTRESULTV2); | |||
@@ -31,4 +32,9 @@ public class AtsWxDeductResultV2Request extends AbstractSignTypeRequest<AtsWxDed | |||
@NotBlank(message = "外部订单号不能为空-自定义") | |||
private String outTradeNo; | |||
@Override | |||
protected void validate(ErrorMsgBuilder builder) { | |||
} | |||
} |
@@ -1,6 +1,7 @@ | |||
package cn.com.taiji.core.model.comm.protocol.ats.weiXin; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeResponse; | |||
import cn.com.taiji.core.model.comm.protocol.ats.AbstractAtsResponse; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@@ -12,7 +13,7 @@ import lombok.Setter; | |||
*/ | |||
@Getter | |||
@Setter | |||
public class AtsWxDeductResultV2Response extends AbstractSignTypeResponse { | |||
public class AtsWxDeductResultV2Response extends AbstractAtsResponse { | |||
/** | |||
* 微信返回信息(未处理的) |
@@ -1,7 +1,7 @@ | |||
package cn.com.taiji.core.model.comm.protocol.ats.weiXin; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeRequest; | |||
import cn.com.taiji.core.model.comm.protocol.SignServiceCommand; | |||
import cn.com.taiji.core.model.comm.protocol.ats.AbstractAtsRequest; | |||
import cn.com.taiji.core.model.comm.protocol.valid.ErrorMsgBuilder; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@@ -15,7 +15,7 @@ import javax.validation.constraints.NotBlank; | |||
*/ | |||
@Getter | |||
@Setter | |||
public class AtsWxDeductResultV3Request extends AbstractSignTypeRequest<AtsWxDeductV3Response> { | |||
public class AtsWxDeductResultV3Request extends AbstractAtsRequest<AtsWxDeductV3Response> { | |||
protected AtsWxDeductResultV3Request() { | |||
super(WeiXinServiceCmd.WEIXINDEDUCTRESULTV3); | |||
} | |||
@@ -39,4 +39,8 @@ public class AtsWxDeductResultV3Request extends AbstractSignTypeRequest<AtsWxDed | |||
// @NotBlank | |||
private String publicKeyId;//商户公钥ID | |||
@Override | |||
protected void validate(ErrorMsgBuilder builder) { | |||
} | |||
} |
@@ -1,7 +1,9 @@ | |||
package cn.com.taiji.core.model.comm.protocol.ats.weiXin; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeRequest; | |||
import cn.com.taiji.core.model.comm.protocol.ats.AbstractAtsRequest; | |||
import cn.com.taiji.core.model.comm.protocol.ats.model.SceneInfo; | |||
import cn.com.taiji.core.model.comm.protocol.valid.ErrorMsgBuilder; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@@ -18,7 +20,7 @@ import javax.validation.constraints.NotNull; | |||
*/ | |||
@Getter | |||
@Setter | |||
public class AtsWxDeductV2Request extends AbstractSignTypeRequest<AtsWxDeductV2Response> { | |||
public class AtsWxDeductV2Request extends AbstractAtsRequest<AtsWxDeductV2Response> { | |||
public AtsWxDeductV2Request() { | |||
super(WeiXinServiceCmd.WEIXINDEDUCTV2); | |||
} | |||
@@ -67,4 +69,8 @@ public class AtsWxDeductV2Request extends AbstractSignTypeRequest<AtsWxDeductV2R | |||
@Valid | |||
private SceneInfo sceneInfo; | |||
@Override | |||
protected void validate(ErrorMsgBuilder builder) { | |||
} | |||
} |
@@ -1,6 +1,7 @@ | |||
package cn.com.taiji.core.model.comm.protocol.ats.weiXin; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeResponse; | |||
import cn.com.taiji.core.model.comm.protocol.ats.AbstractAtsResponse; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@@ -12,7 +13,7 @@ import lombok.Setter; | |||
*/ | |||
@Getter | |||
@Setter | |||
public class AtsWxDeductV2Response extends AbstractSignTypeResponse { | |||
public class AtsWxDeductV2Response extends AbstractAtsResponse { | |||
/** | |||
* 微信返回信息(未处理的) |
@@ -1,9 +1,11 @@ | |||
package cn.com.taiji.core.model.comm.protocol.ats.weiXin; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeRequest; | |||
import cn.com.taiji.core.model.comm.protocol.ats.AbstractAtsRequest; | |||
import cn.com.taiji.core.model.comm.protocol.ats.model.Amount; | |||
import cn.com.taiji.core.model.comm.protocol.ats.model.DeviceInfo; | |||
import cn.com.taiji.core.model.comm.protocol.ats.model.HighwayInfo; | |||
import cn.com.taiji.core.model.comm.protocol.valid.ErrorMsgBuilder; | |||
import com.fasterxml.jackson.annotation.JsonProperty; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@@ -21,7 +23,7 @@ import javax.validation.constraints.NotNull; | |||
*/ | |||
@Getter | |||
@Setter | |||
public class AtsWxDeductV3Request extends AbstractSignTypeRequest<AtsWxDeductV3Response> { | |||
public class AtsWxDeductV3Request extends AbstractAtsRequest<AtsWxDeductV3Response> { | |||
protected AtsWxDeductV3Request() { | |||
super(WeiXinServiceCmd.WEIXINDEDUCTV3); | |||
@@ -81,4 +83,8 @@ public class AtsWxDeductV3Request extends AbstractSignTypeRequest<AtsWxDeductV3R | |||
private DeviceInfo deviceInfo; | |||
@Override | |||
protected void validate(ErrorMsgBuilder builder) { | |||
} | |||
} |
@@ -1,6 +1,7 @@ | |||
package cn.com.taiji.core.model.comm.protocol.ats.weiXin; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeResponse; | |||
import cn.com.taiji.core.model.comm.protocol.ats.AbstractAtsResponse; | |||
import cn.com.taiji.core.model.comm.protocol.ats.model.Amount; | |||
import cn.com.taiji.core.model.comm.protocol.ats.model.DeductPayerV3; | |||
import cn.com.taiji.core.model.comm.protocol.ats.model.DeviceInfo; | |||
@@ -16,7 +17,7 @@ import lombok.Setter; | |||
*/ | |||
@Getter | |||
@Setter | |||
public class AtsWxDeductV3Response extends AbstractSignTypeResponse { | |||
public class AtsWxDeductV3Response extends AbstractAtsResponse { | |||
@JsonProperty(value = "mchid") | |||
private String mchId;// 商户号 |