提交 | 用户 | age
|
6efc67
|
1 |
package com.hx.corp.entity; |
C |
2 |
|
|
3 |
import java.util.UUID; |
|
4 |
|
|
5 |
/**企业付款请求参数实体 |
|
6 |
* |
|
7 |
*/ |
|
8 |
public class CorpPayRequest { |
|
9 |
|
|
10 |
/*(Y)商户账号appid,申请商户号的appid或商户号绑定的appid*/ |
|
11 |
private String mch_appid; |
|
12 |
/*(Y)商户号*/ |
|
13 |
private String mchid; |
|
14 |
/*(N)设备号*/ |
|
15 |
private String device_info; |
|
16 |
/*(Y)随机字符串*/ |
|
17 |
private String nonce_str = UUID.randomUUID().toString().substring(0, 30); |
|
18 |
/*(Y)随签名*/ |
|
19 |
private String sign; |
|
20 |
/*(Y)商户订单号*/ |
|
21 |
private String partner_trade_no; |
|
22 |
/*(Y)用户openid*/ |
|
23 |
private String openid; |
|
24 |
/*(Y)校验用户姓名选项,NO_CHECK:不校验真实姓名 ;FORCE_CHECK:强校验真实姓名*/ |
|
25 |
private String check_name = "NO_CHECK"; |
|
26 |
/*(O)收款用户姓名,如果check_name设置为FORCE_CHECK,则必填用户真实姓名*/ |
|
27 |
private String re_user_name; |
|
28 |
/*(Y)金额*/ |
6cec25
|
29 |
private Integer amount; |
6efc67
|
30 |
/*(Y)企业付款备注*/ |
C |
31 |
private String desc; |
|
32 |
/*(N)Ip地址,该IP同在商户平台设置的IP白名单中的IP没有关联,该IP可传用户端或者服务端的IP*/ |
|
33 |
private String spbill_create_ip = "8.8.8.8"; |
|
34 |
|
|
35 |
public CorpPayRequest() { |
|
36 |
} |
|
37 |
|
|
38 |
//////////////////////////////////////////////////////// |
|
39 |
|
|
40 |
public String getMch_appid() { |
|
41 |
return mch_appid; |
|
42 |
} |
|
43 |
|
|
44 |
public void setMch_appid(String mch_appid) { |
|
45 |
this.mch_appid = mch_appid; |
|
46 |
} |
|
47 |
|
|
48 |
public String getMchid() { |
|
49 |
return mchid; |
|
50 |
} |
|
51 |
|
|
52 |
public void setMchid(String mchid) { |
|
53 |
this.mchid = mchid; |
|
54 |
} |
|
55 |
|
|
56 |
public String getDevice_info() { |
|
57 |
return device_info; |
|
58 |
} |
|
59 |
|
|
60 |
public void setDevice_info(String device_info) { |
|
61 |
this.device_info = device_info; |
|
62 |
} |
|
63 |
|
|
64 |
public String getSign() { |
|
65 |
return sign; |
|
66 |
} |
|
67 |
|
|
68 |
public void setSign(String sign) { |
|
69 |
this.sign = sign; |
|
70 |
} |
|
71 |
|
|
72 |
public String getPartner_trade_no() { |
|
73 |
return partner_trade_no; |
|
74 |
} |
|
75 |
|
|
76 |
public void setPartner_trade_no(String partner_trade_no) { |
|
77 |
this.partner_trade_no = partner_trade_no; |
|
78 |
} |
|
79 |
|
|
80 |
public String getOpenid() { |
|
81 |
return openid; |
|
82 |
} |
|
83 |
|
|
84 |
public void setOpenid(String openid) { |
|
85 |
this.openid = openid; |
|
86 |
} |
|
87 |
|
|
88 |
public String getCheck_name() { |
|
89 |
return check_name; |
|
90 |
} |
|
91 |
|
|
92 |
public void setCheck_name(String check_name) { |
|
93 |
this.check_name = check_name; |
|
94 |
} |
|
95 |
|
|
96 |
public String getRe_user_name() { |
|
97 |
return re_user_name; |
|
98 |
} |
|
99 |
|
|
100 |
public void setRe_user_name(String re_user_name) { |
|
101 |
this.re_user_name = re_user_name; |
|
102 |
} |
|
103 |
|
6cec25
|
104 |
public Integer getAmount() { |
6efc67
|
105 |
return amount; |
C |
106 |
} |
|
107 |
|
6cec25
|
108 |
public void setAmount(Integer amount) { |
6efc67
|
109 |
this.amount = amount; |
C |
110 |
} |
|
111 |
|
|
112 |
public String getDesc() { |
|
113 |
return desc; |
|
114 |
} |
|
115 |
|
|
116 |
public void setDesc(String desc) { |
|
117 |
this.desc = desc; |
|
118 |
} |
|
119 |
|
|
120 |
public String getSpbill_create_ip() { |
|
121 |
return spbill_create_ip; |
|
122 |
} |
|
123 |
|
|
124 |
public void setSpbill_create_ip(String spbill_create_ip) { |
|
125 |
this.spbill_create_ip = spbill_create_ip; |
|
126 |
} |
|
127 |
|
|
128 |
public String getNonce_str() { |
|
129 |
return nonce_str; |
|
130 |
} |
|
131 |
|
|
132 |
public void setNonce_str(String nonce_str) { |
|
133 |
this.nonce_str = nonce_str; |
|
134 |
} |
|
135 |
} |