mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
@@ -2,6 +2,8 @@ package com.jsowell.wxpay.response;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class WechatPayNotifyResource {
|
||||
|
||||
@@ -79,6 +81,11 @@ public class WechatPayNotifyResource {
|
||||
*/
|
||||
private Amount amount;
|
||||
|
||||
/**
|
||||
* 优惠功能,享受优惠时返回该字段。
|
||||
*/
|
||||
private List<Promotion> promotion_detail;
|
||||
|
||||
@Data
|
||||
public static class Payer {
|
||||
/**
|
||||
@@ -109,4 +116,28 @@ public class WechatPayNotifyResource {
|
||||
*/
|
||||
private String payer_currency;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Promotion{
|
||||
// 券ID
|
||||
private String coupon_id;
|
||||
// 优惠名称
|
||||
private String name;
|
||||
// 优惠范围 GLOBAL:全场代金券 SINGLE:单品优惠
|
||||
private String scope;
|
||||
//优惠类型 CASH:充值型代金券 NOCASH:免充值型代金券
|
||||
private String type;
|
||||
// 优惠券面额
|
||||
private String amount;
|
||||
// 活动ID
|
||||
private String stock_id;
|
||||
// 微信出资
|
||||
private String wechatpay_contribute;
|
||||
// 商户出资
|
||||
private String merchant_contribute;
|
||||
// 其他出资
|
||||
private String other_contribute;
|
||||
// 优惠币种
|
||||
private String currency;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user