Skip to content

Commit c80621c

Browse files
committed
WxMpXmlMessage微信推送用户卡券买单事件增加缺失的消息数据 binarywang#214
1 parent e186cd9 commit c80621c

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/message/WxMpXmlMessage.java

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,42 @@ public class WxMpXmlMessage implements Serializable {
284284
@XStreamAlias("ModifyBalance")
285285
private String modifyBalance;
286286

287+
/**
288+
* <pre>
289+
* 官网文档中,微信卡券>>卡券事件推送>>2.6 买单事件推送 User_pay_from_pay_cell
290+
* TransId:微信支付交易订单号(只有使用买单功能核销的卡券才会出现)
291+
* </pre>
292+
*/
293+
@XStreamAlias("TransId")
294+
private String transId;
295+
296+
/**
297+
* <pre>
298+
* 官网文档中,微信卡券>>卡券事件推送>>2.6 买单事件推送 User_pay_from_pay_cell
299+
* LocationId:门店ID,当前卡券核销的门店ID(只有通过卡券商户助手和买单核销时才会出现)
300+
* </pre>
301+
*/
302+
@XStreamAlias("LocationId")
303+
private String locationId;
304+
305+
/**
306+
* <pre>
307+
* 官网文档中,微信卡券>>卡券事件推送>>2.6 买单事件推送 User_pay_from_pay_cell
308+
* Fee:实付金额,单位为分
309+
* </pre>
310+
*/
311+
@XStreamAlias("Fee")
312+
private String fee;
313+
314+
/**
315+
* <pre>
316+
* 官网文档中,微信卡券>>卡券事件推送>>2.6 买单事件推送 User_pay_from_pay_cell
317+
* OriginalFee:应付金额,单位为分
318+
* </pre>
319+
*/
320+
@XStreamAlias("OriginalFee")
321+
private String originalFee;
322+
287323
@XStreamAlias("ScanCodeInfo")
288324
private ScanCodeInfo scanCodeInfo = new ScanCodeInfo();
289325

@@ -522,6 +558,38 @@ public void setModifyBalance(String modifyBalance) {
522558
this.modifyBalance = modifyBalance;
523559
}
524560

561+
public String getTransId() {
562+
return transId;
563+
}
564+
565+
public void setTransId(String transId) {
566+
this.transId = transId;
567+
}
568+
569+
public String getLocationId() {
570+
return locationId;
571+
}
572+
573+
public void setLocationId(String locationId) {
574+
this.locationId = locationId;
575+
}
576+
577+
public String getFee() {
578+
return fee;
579+
}
580+
581+
public void setFee(String fee) {
582+
this.fee = fee;
583+
}
584+
585+
public String getOriginalFee() {
586+
return originalFee;
587+
}
588+
589+
public void setOriginalFee(String originalFee) {
590+
this.originalFee = originalFee;
591+
}
592+
525593
public String getStoreUniqId() {
526594
return this.storeUniqId;
527595
}

0 commit comments

Comments
 (0)