mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-05 17:38:05 +08:00
🎨 【视频号】视频号小店获取订单详情接口增加部分字段 !113
This commit is contained in:
parent
f1d790c710
commit
473d2c14c3
@ -52,4 +52,8 @@ public class OrderDetailInfo implements Serializable {
|
||||
@JsonProperty("settle_info")
|
||||
private OrderSettleInfo settleInfo;
|
||||
|
||||
/** 分享员信息 */
|
||||
@JsonProperty("sku_sharer_infos")
|
||||
private List<OrderSkuShareInfo> skuSharerInfos;
|
||||
|
||||
}
|
||||
|
@ -55,4 +55,12 @@ public class OrderPriceInfo implements Serializable {
|
||||
@JsonProperty("is_change_freight")
|
||||
private Boolean changeFreighted;
|
||||
|
||||
/** 是否使用了会员积分抵扣 */
|
||||
@JsonProperty("use_deduction")
|
||||
private Boolean useDeduction;
|
||||
|
||||
/** 会员积分抵扣金额,单位为分 */
|
||||
@JsonProperty("deduction_price")
|
||||
private Integer deductionPrice;
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,28 @@
|
||||
package me.chanjar.weixin.channel.bean.order;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 商品额外服务信息
|
||||
*
|
||||
* @author <a href="https://github.com/qrpcode">北鹤M</a>
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class OrderProductExtraService implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -8752053507170277156L;
|
||||
|
||||
/** 7天无理由:0:不支持,1:支持 */
|
||||
@JsonProperty("seven_day_return")
|
||||
private Integer sevenDayReturn;
|
||||
|
||||
/** 商家运费险:0:不支持,1:支持 */
|
||||
@JsonProperty("freight_insurance")
|
||||
private Integer freightInsurance;
|
||||
|
||||
}
|
@ -92,4 +92,21 @@ public class OrderProductInfo implements Serializable {
|
||||
/** 区域库存id */
|
||||
@JsonProperty("out_warehouse_id")
|
||||
private String outWarehouseId;
|
||||
|
||||
/** 商品发货信息 */
|
||||
@JsonProperty("sku_deliver_info")
|
||||
private OrderSkuDeliverInfo skuDeliverInfo;
|
||||
|
||||
/** 商品额外服务信息 */
|
||||
@JsonProperty("extra_service")
|
||||
private OrderProductExtraService extraService;
|
||||
|
||||
/** 是否使用了会员积分抵扣 */
|
||||
@JsonProperty("use_deduction")
|
||||
private Boolean useDeduction;
|
||||
|
||||
/** 会员积分抵扣金额,单位为分 */
|
||||
@JsonProperty("deduction_price")
|
||||
private Integer deductionPrice;
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,28 @@
|
||||
package me.chanjar.weixin.channel.bean.order;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 商品发货信息
|
||||
*
|
||||
* @author <a href="https://github.com/qrpcode">北鹤M</a>
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class OrderSkuDeliverInfo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4075897806362929800L;
|
||||
|
||||
/** 商品发货类型:0:现货,1:全款预售 */
|
||||
@JsonProperty("stock_type")
|
||||
private Integer stockType;
|
||||
|
||||
/** 预计发货时间(stock_type=1时返回该字段) */
|
||||
@JsonProperty("predict_delivery_time")
|
||||
private String predictDeliveryTime;
|
||||
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
package me.chanjar.weixin.channel.bean.order;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Sku层分享信息
|
||||
*
|
||||
* @author <a href="https://github.com/qrpcode">北鹤M</a>
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class OrderSkuShareInfo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 705312408112124476L;
|
||||
|
||||
/** 分享员openid */
|
||||
@JsonProperty("sharer_openid")
|
||||
private String sharerOpenid;
|
||||
|
||||
/** 分享员unionid */
|
||||
@JsonProperty("sharer_unionid")
|
||||
private String sharerUnionid;
|
||||
|
||||
/** 分享员类型,0:普通分享员,1:店铺分享员 */
|
||||
@JsonProperty("sharer_type")
|
||||
private Integer sharerType;
|
||||
|
||||
/** 分享场景 {@link me.chanjar.weixin.channel.enums.ShareScene} */
|
||||
@JsonProperty("share_scene")
|
||||
private Integer shareScene;
|
||||
|
||||
/** 商品skuid */
|
||||
@JsonProperty("sku_id")
|
||||
private String skuId;
|
||||
|
||||
/** 是否来自企微分享 */
|
||||
@JsonProperty("from_wecom")
|
||||
private Boolean fromWecom;
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user