package com.ishop.model.response; import com.fasterxml.jackson.annotation.JsonProperty; /** * 统一下单返回对象 * @date 2023-08-10 */ public class CreateOrderResponseVo { public String getAppId() { return appId; } public void setAppId(String appId) { this.appId = appId; } public String getMchId() { return mchId; } public void setMchId(String mchId) { this.mchId = mchId; } public String getDeviceInfo() { return deviceInfo; } public void setDeviceInfo(String deviceInfo) { this.deviceInfo = deviceInfo; } public String getNonceStr() { return nonceStr; } public void setNonceStr(String nonceStr) { this.nonceStr = nonceStr; } public String getSign() { return sign; } public void setSign(String sign) { this.sign = sign; } public String getReturnCode() { return returnCode; } public void setReturnCode(String returnCode) { this.returnCode = returnCode; } public String getReturnMsg() { return returnMsg; } public void setReturnMsg(String returnMsg) { this.returnMsg = returnMsg; } public String getResultCode() { return resultCode; } public void setResultCode(String resultCode) { this.resultCode = resultCode; } public String getErrCode() { return errCode; } public void setErrCode(String errCode) { this.errCode = errCode; } public String getErrCodeDes() { return errCodeDes; } public void setErrCodeDes(String errCodeDes) { this.errCodeDes = errCodeDes; } public String getTradeType() { return tradeType; } public void setTradeType(String tradeType) { this.tradeType = tradeType; } public String getPrepayId() { return prepayId; } public void setPrepayId(String prepayId) { this.prepayId = prepayId; } public String getmWebUrl() { return mWebUrl; } public void setmWebUrl(String mWebUrl) { this.mWebUrl = mWebUrl; } public String getExtra() { return extra; } public void setExtra(String extra) { this.extra = extra; } public Object getTransJsConfig() { return transJsConfig; } public void setTransJsConfig(Object transJsConfig) { this.transJsConfig = transJsConfig; } // @ApiModelProperty(value = "调用接口提交的公众账号ID") @JsonProperty(value = "appid") private String appId; // @ApiModelProperty(value = "调用接口提交的商户号") @JsonProperty(value = "mch_id") private String mchId; // @ApiModelProperty(value = "调用接口提交的终端设备号") @JsonProperty(value = "device_info") private String deviceInfo; // @ApiModelProperty(value = "微信返回的随机字符串") @JsonProperty(value = "nonce_str") private String nonceStr; // @ApiModelProperty(value = "微信返回的签名") private String sign; // @ApiModelProperty(value = "SUCCESS/FAIL此字段是通信标识,非交易标识,交易是否成功需要查看trade_state来判断") @JsonProperty(value = "return_code") private String returnCode; // @ApiModelProperty(value = "当return_code为FAIL时返回信息为错误原因 ,例如 签名失败 参数格式校验错误") @JsonProperty(value = "return_msg") private String returnMsg; // @ApiModelProperty(value = "SUCCESS/FAIL 业务结果") @JsonProperty(value = "result_code") private String resultCode; // @ApiModelProperty(value = "详细参见错误列表") @JsonProperty(value = "err_code") private String errCode; // @ApiModelProperty(value = "错误返回的信息描述") @JsonProperty(value = "err_code_des") private String errCodeDes; // @ApiModelProperty(value = "调用接口提交的交易类型,取值如下:JSAPI,NATIVE,APP,,H5支付固定传MWEB") @JsonProperty(value = "trade_type") private String tradeType; // @ApiModelProperty(value = "微信生成的预支付回话标识,用于后续接口调用中使用,该值有效期为2小时,针对H5支付此参数无特殊用途") @JsonProperty(value = "prepay_id") private String prepayId; // @ApiModelProperty(value = "mweb_url为拉起微信支付收银台的中间页面,可通过访问该url来拉起微信客户端,完成支付,mweb_url的有效期为5分钟") @JsonProperty(value = "mweb_url") private String mWebUrl; // @ApiModelProperty(value = "该字段用于上报支付的场景信息,针对H5支付有以下三种场景,请根据对应场景上报,H5支付不建议在APP端使用,针对场景1,2请接入APP支付,不然可能会出现兼容性问题") @JsonProperty(value = "scene_info") private String extra; private Object transJsConfig; }