| | |
| | | |
| | | /*(Y)业务结果,SUCCESS/FAIL,注意:当状态为FAIL时,存在业务结果未明确的情况。如果状态为FAIL,请务必关注错误代码(err_code字段),通过查询接口确认此次付款的结果*/ |
| | | private String result_code = "FAIL"; |
| | | /*(Y)错误代码,成功:SUCCESS*/ |
| | | /*(Y)返回状态码,SUCCESS/FAIL,此字段是通信标识,非交易标识,交易是否成功需要查看result_code来判断*/ |
| | | private String return_code = "FAIL"; |
| | | /*(Y) 返回信息 */ |
| | | private String return_msg; |
| | | /*(Y)错误代码*/ |
| | | private String err_code; |
| | | /*(Y)错误代码描述*/ |
| | | private String err_code_des; |
| | |
| | | |
| | | public CorpPayResponse() { |
| | | } |
| | | |
| | | public static final String CODE_SUC = "SUCCESS"; |
| | | public static final String CODE_FAIL = "FAIL"; |
| | | |
| | | //////////////////////////////////////////////////////// |
| | | |
| | |
| | | this.payment_time = payment_time; |
| | | } |
| | | |
| | | 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; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "CorpPayResponse{" + |
| | | "result_code='" + result_code + '\'' + |
| | | ", return_code='" + return_code + '\'' + |
| | | ", return_msg='" + return_msg + '\'' + |
| | | ", err_code='" + err_code + '\'' + |
| | | ", err_code_des='" + err_code_des + '\'' + |
| | | ", mch_appid='" + mch_appid + '\'' + |