io.gitee.putaoo.easypay.domain.wx.response.WxPayResponse Maven / Gradle / Ivy
package io.gitee.putaoo.easypay.domain.wx.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
@Data
public class WxPayResponse implements Serializable {
@JsonProperty(value = "return_code")
private String returnCode;
@JsonProperty(value = "return_msg", required = false)
private String returnMsg;
/**
* 以下字段在return_code为SUCCESS的时候有返回.
*/
@JsonProperty(value = "appid", required = false)
private String appid;
@JsonProperty(value = "mch_id", required = false)
private String mchId;
@JsonProperty(value = "device_info", required = false)
private String deviceInfo;
@JsonProperty(value = "nonce_str", required = false)
private String nonceStr;
@JsonProperty(value = "sign", required = false)
private String sign;
@JsonProperty(value = "result_code", required = false)
private String resultCode;
@JsonProperty(value = "err_code", required = false)
private String errCode;
@JsonProperty(value = "err_code_des", required = false)
private String errCodeDes;
@JsonProperty(value = "partner_trade_no", required = false)
private String partnerTradeNo;
@JsonProperty(value = "amount", required = false)
private Integer amount;
/**
* 以下字段在return_code 和result_code都为SUCCESS的时候有返回.
*/
@JsonProperty(value = "trade_type", required = false)
private String tradeType;
@JsonProperty(value = "prepay_id", required = false)
private String prepayId;
@JsonProperty(value = "code_url", required = false)
private String codeUrl;
@JsonProperty(value = "mweb_url", required = false)
private String mwebUrl;
@JsonProperty(value = "payment_no", required = false)
private String paymentNo;
@JsonProperty(value = "cmms_amt", required = false)
private Integer cmmsAmt;
}