UnifiedOrderResData.java 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. package com.tencent.protocol.pay_protocol;
  2. /**
  3. * User: gaojie
  4. * Date: 2017/05/10
  5. * Time: 16:42
  6. */
  7. /**
  8. * 被扫支付提交Post数据给到API之后,API会返回XML格式的数据,这个类用来装这些数据
  9. */
  10. public class UnifiedOrderResData {
  11. //协议层
  12. private String return_code = "";
  13. private String return_msg = "";
  14. //协议返回的具体数据(以下字段在return_code 为SUCCESS 的时候有返回)
  15. private String appid = "";
  16. private String mch_id = "";
  17. private String nonce_str = "";
  18. private String sign = "";
  19. private String result_code = "";
  20. private String err_code = "";
  21. private String err_code_des = "";
  22. private String device_info = "";
  23. //业务返回的具体数据(以下字段在return_code 和result_code 都为SUCCESS 的时候有返回)
  24. private String trade_type = "";
  25. private String prepay_id = "";
  26. private String code_url = "";
  27. public String getReturn_code() {
  28. return return_code;
  29. }
  30. public void setReturn_code(String return_code) {
  31. this.return_code = return_code;
  32. }
  33. public String getReturn_msg() {
  34. return return_msg;
  35. }
  36. public void setReturn_msg(String return_msg) {
  37. this.return_msg = return_msg;
  38. }
  39. public String getAppid() {
  40. return appid;
  41. }
  42. public void setAppid(String appid) {
  43. this.appid = appid;
  44. }
  45. public String getMch_id() {
  46. return mch_id;
  47. }
  48. public void setMch_id(String mch_id) {
  49. this.mch_id = mch_id;
  50. }
  51. public String getDevice_info() {
  52. return device_info;
  53. }
  54. public void setDevice_info(String device_info) {
  55. this.device_info = device_info;
  56. }
  57. public String getNonce_str() {
  58. return nonce_str;
  59. }
  60. public void setNonce_str(String nonce_str) {
  61. this.nonce_str = nonce_str;
  62. }
  63. public String getSign() {
  64. return sign;
  65. }
  66. public void setSign(String sign) {
  67. this.sign = sign;
  68. }
  69. public String getResult_code() {
  70. return result_code;
  71. }
  72. public void setResult_code(String result_code) {
  73. this.result_code = result_code;
  74. }
  75. public String getErr_code() {
  76. return err_code;
  77. }
  78. public void setErr_code(String err_code) {
  79. this.err_code = err_code;
  80. }
  81. public String getErr_code_des() {
  82. return err_code_des;
  83. }
  84. public void setErr_code_des(String err_code_des) {
  85. this.err_code_des = err_code_des;
  86. }
  87. public String getTrade_type() {
  88. return trade_type;
  89. }
  90. public void setTrade_type(String trade_type) {
  91. this.trade_type = trade_type;
  92. }
  93. public String getPrepay_id() {
  94. return prepay_id;
  95. }
  96. public void setPrepay_id(String prepay_id) {
  97. this.prepay_id = prepay_id;
  98. }
  99. public String getCode_url() {
  100. return code_url;
  101. }
  102. public void setCode_url(String code_url) {
  103. this.code_url = code_url;
  104. }
  105. }