mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
#457 实现扫码支付回调通知的解析
This commit is contained in:
@@ -6,18 +6,43 @@ import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 扫码支付通知回调类.
|
||||
* 具体定义,请查看文档:https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=6_4
|
||||
* </pre>
|
||||
*
|
||||
* @author <a href="https://github.com/binarywang">Binary Wang</a>
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
public class WxScanPayNotifyResult extends BaseWxPayResult implements Serializable {
|
||||
@XStreamAlias("xml")
|
||||
public class WxScanPayNotifyResult extends BaseWxPayResult {
|
||||
private static final long serialVersionUID = 3381324564266118986L;
|
||||
|
||||
/**
|
||||
* 预支付ID
|
||||
* 用户标识.
|
||||
*/
|
||||
@XStreamAlias("prepay_id")
|
||||
private String prepayId;
|
||||
@XStreamAlias("openid")
|
||||
private String openid;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 是否关注公众账号.
|
||||
* 仅在公众账号类型支付有效,取值范围:Y或N;Y-关注;N-未关注
|
||||
* </pre>
|
||||
*/
|
||||
@XStreamAlias("is_subscribe")
|
||||
private String isSubscribe;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 商品ID.
|
||||
* 商户定义的商品id 或者订单号
|
||||
* </pre>
|
||||
*/
|
||||
@XStreamAlias("product_id")
|
||||
private String productId;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user