CreatePaymentRequest.java
2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
package cn.com.glsx.entmicro.request.payment;
import cn.com.glsx.entmicro.request.DefaultRequest;
import com.rop.AbstractRopRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
@Data
public class CreatePaymentRequest extends DefaultRequest {
/**
* 滴加商户号
*/
@ApiModelProperty(name = "merchantNo", notes = "商户id", dataType = "int")
private Integer merchantNo;
/**
* 滴加商户名称
*/
@ApiModelProperty(name = "merchantName", notes = "滴加商户名称", dataType = "String")
private String merchantName;
/**
* 微信支付商户号
*/
@ApiModelProperty(name = "mchId", notes = "微信商户号", dataType = "String")
@NotEmpty
private String mchId;
/**
* 微信商户名称
*/
@ApiModelProperty(name = "mchName", notes = "微信商户名称", dataType = "String")
private String mchName;
/**
* 账号所属,0-广联,1-服务商,2-流量方
*/
@ApiModelProperty(name = "mchBelong", notes = "账号所属,0-广联,1-服务商,2-流量方", dataType = "int")
private Integer mchBelong;
/**
* 应用类型,App,小程序,公众号,H5,多个用逗号分割
*/
@ApiModelProperty(name = "appTypes", notes = "应用类型,MINIAPP-微信小程序,BIZ-微信公众号,多个用逗号分割", dataType = "String")
@NotEmpty
private String appTypes;
/**
* 商户证书序列号
*/
@ApiModelProperty(name = "merchantSerialNo", notes = "商户证书序列号", dataType = "String")
@NotEmpty
private String merchantSerialNo;
/**
* API秘钥
*/
@ApiModelProperty(name = "apiKey", notes = "API秘钥", dataType = "String")
@NotEmpty
private String apiKey;
/**
* apiclient_key.pem证书本地路径
*/
@ApiModelProperty(name = "apiclientKeyPemPath", notes = "apiclient_key.pem证书本地路径", dataType = "String")
@NotEmpty(message = "apiclient_key.pem证书不能为空")
private String apiclientKeyPemPath;
/**
* apiclient_cert.pem证书本地路径
*/
@ApiModelProperty(name = "apiclientCertPemPath", notes = "apiclient_cert.pem证书本地路径", dataType = "String")
@NotEmpty(message = "apiclient_cert.pem证书不能为空")
private String apiclientCertPemPath;
}