123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- package com.tencent.protocol.pay_protocol;
- /**
- * User: gaojie
- * Date: 2017/05/10
- * Time: 16:42
- */
- /**
- * 被扫支付提交Post数据给到API之后,API会返回XML格式的数据,这个类用来装这些数据
- */
- public class UnifiedOrderResData {
- //协议层
- private String return_code = "";
- private String return_msg = "";
- //协议返回的具体数据(以下字段在return_code 为SUCCESS 的时候有返回)
- private String appid = "";
- private String mch_id = "";
- private String nonce_str = "";
- private String sign = "";
- private String result_code = "";
- private String err_code = "";
- private String err_code_des = "";
- private String device_info = "";
- //业务返回的具体数据(以下字段在return_code 和result_code 都为SUCCESS 的时候有返回)
- private String trade_type = "";
- private String prepay_id = "";
- private String code_url = "";
- public String getReturn_code() {
- return return_code;
- }
- public void setReturn_code(String return_code) {
- this.return_code = return_code;
- }
- public String getReturn_msg() {
- return return_msg;
- }
- public void setReturn_msg(String return_msg) {
- this.return_msg = return_msg;
- }
- 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 getDevice_info() {
- return device_info;
- }
- public void setDevice_info(String device_info) {
- this.device_info = device_info;
- }
- 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 getResult_code() {
- return result_code;
- }
- public void setResult_code(String result_code) {
- this.result_code = result_code;
- }
- public String getErr_code() {
- return err_code;
- }
- public void setErr_code(String err_code) {
- this.err_code = err_code;
- }
- public String getErr_code_des() {
- return err_code_des;
- }
- public void setErr_code_des(String err_code_des) {
- this.err_code_des = err_code_des;
- }
- public String getTrade_type() {
- return trade_type;
- }
- public void setTrade_type(String trade_type) {
- this.trade_type = trade_type;
- }
- public String getPrepay_id() {
- return prepay_id;
- }
- public void setPrepay_id(String prepay_id) {
- this.prepay_id = prepay_id;
- }
- public String getCode_url() {
- return code_url;
- }
- public void setCode_url(String code_url) {
- this.code_url = code_url;
- }
- }
|