|
- package com.simple.pay;
-
- /**
- * Created by Stormeye on 2018/8/10.
- * 普通商户模式
- */
- public class WxPayOrderP {
- private String appid; // 小程序ID
- private String mch_id; // 商户号
- private String nonce_str; // 随机字符串
- private String sign; // 签名
- private String body; // 商品简单描述 128
- private String out_trade_no; // 商户订单号
- private Integer total_fee; // 支付金额
- private String spbill_create_ip; // 支付IP
- private String notify_url; // 通知地址
- private String trade_type; // 支付类型
- private String product_id; // 商品ID - 扫码必传
- private String time_start; // 开始时间
- private String time_expire; // 失效时间
- private String openid; // openId
-
- public String getTime_start() {
- return time_start;
- }
-
- public void setTime_start(String time_start) {
- this.time_start = time_start;
- }
-
- public String getTime_expire() {
- return time_expire;
- }
-
- public void setTime_expire(String time_expire) {
- this.time_expire = time_expire;
- }
-
- public String getAppid() {
- return appid;
- }
-
- public void setAppid(String appid) {
- this.appid = appid;
- }
-
- public String getMch_id() {
- return mch_id;
- }
-
- public void setMch_id(String mch_id) {
- this.mch_id = mch_id;
- }
-
- public String getNonce_str() {
- return nonce_str;
- }
-
- public void setNonce_str(String nonce_str) {
- this.nonce_str = nonce_str;
- }
-
- public String getSign() {
- return sign;
- }
-
- public void setSign(String sign) {
- this.sign = sign;
- }
-
- public String getBody() {
- return body;
- }
-
- public void setBody(String body) {
- this.body = body;
- }
-
- public String getOut_trade_no() {
- return out_trade_no;
- }
-
- public void setOut_trade_no(String out_trade_no) {
- this.out_trade_no = out_trade_no;
- }
-
- public Integer getTotal_fee() {
- return total_fee;
- }
-
- public void setTotal_fee(Integer total_fee) {
- this.total_fee = total_fee;
- }
-
- 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 getNotify_url() {
- return notify_url;
- }
-
- public void setNotify_url(String notify_url) {
- this.notify_url = notify_url;
- }
-
- public String getTrade_type() {
- return trade_type;
- }
-
- public void setTrade_type(String trade_type) {
- this.trade_type = trade_type;
- }
-
- public String getProduct_id() {
- return product_id;
- }
-
- public void setProduct_id(String product_id) {
- this.product_id = product_id;
- }
-
- public String getOpenid() {
- return openid;
- }
-
- public void setOpenid(String openid) {
- this.openid = openid;
- }
-
- @Override
- public String toString() {
- final StringBuilder sb = new StringBuilder("WxPayOrder{");
- sb.append("appid='").append(appid).append('\'');
- sb.append(", mch_id='").append(mch_id).append('\'');
- sb.append(", nonce_str='").append(nonce_str).append('\'');
- sb.append(", sign='").append(sign).append('\'');
- sb.append(", body='").append(body).append('\'');
- sb.append(", out_trade_no='").append(out_trade_no).append('\'');
- sb.append(", total_fee=").append(total_fee);
- sb.append(", spbill_create_ip='").append(spbill_create_ip).append('\'');
- sb.append(", notify_url='").append(notify_url).append('\'');
- sb.append(", trade_type='").append(trade_type).append('\'');
- sb.append(", product_id='").append(product_id).append('\'');
- sb.append(", time_start='").append(time_start).append('\'');
- sb.append(", time_expire='").append(time_expire).append('\'');
- sb.append(", openid='").append(openid).append('\'');
- sb.append('}');
- return sb.toString();
- }
- }
|