package com.hx.corp.entity;
|
|
import java.util.UUID;
|
|
/**企业付款请求参数实体
|
*
|
*/
|
public class CorpPayRequest {
|
|
/*(Y)商户账号appid,申请商户号的appid或商户号绑定的appid*/
|
private String mch_appid;
|
/*(Y)商户号*/
|
private String mchid;
|
/*(N)设备号*/
|
private String device_info;
|
/*(Y)随机字符串*/
|
private String nonce_str = UUID.randomUUID().toString().substring(0, 30);
|
/*(Y)随签名*/
|
private String sign;
|
/*(Y)商户订单号*/
|
private String partner_trade_no;
|
/*(Y)用户openid*/
|
private String openid;
|
/*(Y)校验用户姓名选项,NO_CHECK:不校验真实姓名 ;FORCE_CHECK:强校验真实姓名*/
|
private String check_name = "NO_CHECK";
|
/*(O)收款用户姓名,如果check_name设置为FORCE_CHECK,则必填用户真实姓名*/
|
private String re_user_name;
|
/*(Y)金额*/
|
private Integer amount;
|
/*(Y)企业付款备注*/
|
private String desc;
|
/*(N)Ip地址,该IP同在商户平台设置的IP白名单中的IP没有关联,该IP可传用户端或者服务端的IP*/
|
private String spbill_create_ip = "8.8.8.8";
|
|
public CorpPayRequest() {
|
}
|
|
////////////////////////////////////////////////////////
|
|
public String getMch_appid() {
|
return mch_appid;
|
}
|
|
public void setMch_appid(String mch_appid) {
|
this.mch_appid = mch_appid;
|
}
|
|
public String getMchid() {
|
return mchid;
|
}
|
|
public void setMchid(String mchid) {
|
this.mchid = mchid;
|
}
|
|
public String getDevice_info() {
|
return device_info;
|
}
|
|
public void setDevice_info(String device_info) {
|
this.device_info = device_info;
|
}
|
|
public String getSign() {
|
return sign;
|
}
|
|
public void setSign(String sign) {
|
this.sign = sign;
|
}
|
|
public String getPartner_trade_no() {
|
return partner_trade_no;
|
}
|
|
public void setPartner_trade_no(String partner_trade_no) {
|
this.partner_trade_no = partner_trade_no;
|
}
|
|
public String getOpenid() {
|
return openid;
|
}
|
|
public void setOpenid(String openid) {
|
this.openid = openid;
|
}
|
|
public String getCheck_name() {
|
return check_name;
|
}
|
|
public void setCheck_name(String check_name) {
|
this.check_name = check_name;
|
}
|
|
public String getRe_user_name() {
|
return re_user_name;
|
}
|
|
public void setRe_user_name(String re_user_name) {
|
this.re_user_name = re_user_name;
|
}
|
|
public Integer getAmount() {
|
return amount;
|
}
|
|
public void setAmount(Integer amount) {
|
this.amount = amount;
|
}
|
|
public String getDesc() {
|
return desc;
|
}
|
|
public void setDesc(String desc) {
|
this.desc = desc;
|
}
|
|
public String getSpbill_create_ip() {
|
return spbill_create_ip;
|
}
|
|
public void setSpbill_create_ip(String spbill_create_ip) {
|
this.spbill_create_ip = spbill_create_ip;
|
}
|
|
public String getNonce_str() {
|
return nonce_str;
|
}
|
|
public void setNonce_str(String nonce_str) {
|
this.nonce_str = nonce_str;
|
}
|
}
|