File tree Expand file tree Collapse file tree
weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/order Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,4 +52,8 @@ public class OrderDetailInfo implements Serializable {
5252 @ JsonProperty ("settle_info" )
5353 private OrderSettleInfo settleInfo ;
5454
55+ /** 分享员信息 */
56+ @ JsonProperty ("sku_sharer_infos" )
57+ private List <OrderSkuShareInfo > skuSharerInfos ;
58+
5559}
Original file line number Diff line number Diff line change @@ -55,4 +55,12 @@ public class OrderPriceInfo implements Serializable {
5555 @ JsonProperty ("is_change_freight" )
5656 private Boolean changeFreighted ;
5757
58+ /** 是否使用了会员积分抵扣 */
59+ @ JsonProperty ("use_deduction" )
60+ private Boolean useDeduction ;
61+
62+ /** 会员积分抵扣金额,单位为分 */
63+ @ JsonProperty ("deduction_price" )
64+ private Integer deductionPrice ;
65+
5866}
Original file line number Diff line number Diff line change 1+ package me .chanjar .weixin .channel .bean .order ;
2+
3+ import com .fasterxml .jackson .annotation .JsonProperty ;
4+ import lombok .Data ;
5+ import lombok .NoArgsConstructor ;
6+
7+ import java .io .Serializable ;
8+
9+ /**
10+ * 商品额外服务信息
11+ *
12+ * @author <a href="https://github.com/qrpcode">北鹤M</a>
13+ */
14+ @ Data
15+ @ NoArgsConstructor
16+ public class OrderProductExtraService implements Serializable {
17+
18+ private static final long serialVersionUID = -8752053507170277156L ;
19+
20+ /** 7天无理由:0:不支持,1:支持 */
21+ @ JsonProperty ("seven_day_return" )
22+ private Integer sevenDayReturn ;
23+
24+ /** 商家运费险:0:不支持,1:支持 */
25+ @ JsonProperty ("freight_insurance" )
26+ private Integer freightInsurance ;
27+
28+ }
Original file line number Diff line number Diff line change @@ -92,4 +92,21 @@ public class OrderProductInfo implements Serializable {
9292 /** 区域库存id */
9393 @ JsonProperty ("out_warehouse_id" )
9494 private String outWarehouseId ;
95+
96+ /** 商品发货信息 */
97+ @ JsonProperty ("sku_deliver_info" )
98+ private OrderSkuDeliverInfo skuDeliverInfo ;
99+
100+ /** 商品额外服务信息 */
101+ @ JsonProperty ("extra_service" )
102+ private OrderProductExtraService extraService ;
103+
104+ /** 是否使用了会员积分抵扣 */
105+ @ JsonProperty ("use_deduction" )
106+ private Boolean useDeduction ;
107+
108+ /** 会员积分抵扣金额,单位为分 */
109+ @ JsonProperty ("deduction_price" )
110+ private Integer deductionPrice ;
111+
95112}
Original file line number Diff line number Diff line change 1+ package me .chanjar .weixin .channel .bean .order ;
2+
3+ import com .fasterxml .jackson .annotation .JsonProperty ;
4+ import lombok .Data ;
5+ import lombok .NoArgsConstructor ;
6+
7+ import java .io .Serializable ;
8+
9+ /**
10+ * 商品发货信息
11+ *
12+ * @author <a href="https://github.com/qrpcode">北鹤M</a>
13+ */
14+ @ Data
15+ @ NoArgsConstructor
16+ public class OrderSkuDeliverInfo implements Serializable {
17+
18+ private static final long serialVersionUID = 4075897806362929800L ;
19+
20+ /** 商品发货类型:0:现货,1:全款预售 */
21+ @ JsonProperty ("stock_type" )
22+ private Integer stockType ;
23+
24+ /** 预计发货时间(stock_type=1时返回该字段) */
25+ @ JsonProperty ("predict_delivery_time" )
26+ private String predictDeliveryTime ;
27+
28+ }
Original file line number Diff line number Diff line change 1+ package me .chanjar .weixin .channel .bean .order ;
2+
3+ import com .fasterxml .jackson .annotation .JsonProperty ;
4+ import lombok .Data ;
5+ import lombok .NoArgsConstructor ;
6+
7+ import java .io .Serializable ;
8+
9+ /**
10+ * Sku层分享信息
11+ *
12+ * @author <a href="https://github.com/qrpcode">北鹤M</a>
13+ */
14+ @ Data
15+ @ NoArgsConstructor
16+ public class OrderSkuShareInfo implements Serializable {
17+
18+ private static final long serialVersionUID = 705312408112124476L ;
19+
20+ /** 分享员openid */
21+ @ JsonProperty ("sharer_openid" )
22+ private String sharerOpenid ;
23+
24+ /** 分享员unionid */
25+ @ JsonProperty ("sharer_unionid" )
26+ private String sharerUnionid ;
27+
28+ /** 分享员类型,0:普通分享员,1:店铺分享员 */
29+ @ JsonProperty ("sharer_type" )
30+ private Integer sharerType ;
31+
32+ /** 分享场景 {@link me.chanjar.weixin.channel.enums.ShareScene} */
33+ @ JsonProperty ("share_scene" )
34+ private Integer shareScene ;
35+
36+ /** 商品skuid */
37+ @ JsonProperty ("sku_id" )
38+ private String skuId ;
39+
40+ /** 是否来自企微分享 */
41+ @ JsonProperty ("from_wecom" )
42+ private Boolean fromWecom ;
43+
44+ }
You can’t perform that action at this time.
0 commit comments