Skip to content

Commit d2ff40f

Browse files
committed
🎨 #3414 【视频号】小店API获取订单详情接口结果类新增几个属性
1 parent 900f068 commit d2ff40f

1 file changed

Lines changed: 58 additions & 14 deletions

File tree

Lines changed: 58 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
package me.chanjar.weixin.channel.bean.order;
22

33
import com.fasterxml.jackson.annotation.JsonProperty;
4-
import java.io.Serializable;
54
import lombok.Data;
65
import lombok.NoArgsConstructor;
76

7+
import java.io.Serializable;
8+
89
/**
910
* 商店订单价格信息
1011
*
@@ -13,54 +14,97 @@
1314
@Data
1415
@NoArgsConstructor
1516
public class OrderPriceInfo implements Serializable {
16-
1717
private static final long serialVersionUID = 5216506688949493432L;
18-
/** 商品总价,单位为分 */
18+
19+
/**
20+
* 商品总价,单位为分
21+
*/
1922
@JsonProperty("product_price")
2023
private Integer productPrice;
2124

22-
/** 订单金额,单位为分 */
25+
/**
26+
* 订单金额,单位为分
27+
*/
2328
@JsonProperty("order_price")
2429
private Integer orderPrice;
2530

26-
/** 运费,单位为分 */
31+
/**
32+
* 运费,单位为分
33+
*/
2734
@JsonProperty("freight")
2835
private Integer freight;
2936

30-
/** 优惠金额,单位为分 */
37+
/**
38+
* 优惠金额,单位为分
39+
*/
3140
@JsonProperty("discounted_price")
3241
private Integer discountedPrice;
3342

34-
/** 是否有优惠 */
43+
/**
44+
* 是否有优惠
45+
*/
3546
@JsonProperty("is_discounted")
3647
private Boolean isDiscounted;
3748

38-
/** 订单原始价格,单位为分 */
49+
/**
50+
* 订单原始价格,单位为分
51+
*/
3952
@JsonProperty("original_order_price")
4053
private Integer originalOrderPrice;
4154

42-
/** 商品预估价格,单位为分 */
55+
/**
56+
* 商品预估价格,单位为分
57+
*/
4358
@JsonProperty("estimate_product_price")
4459
private Integer estimateProductPrice;
4560

46-
/** 改价后降低金额,单位为分 */
61+
/**
62+
* 改价后降低金额,单位为分
63+
*/
4764
@JsonProperty("change_down_price")
4865
private Integer changeDownPrice;
4966

50-
/** 改价后运费,单位为分 */
67+
/**
68+
* 改价后运费,单位为分
69+
*/
5170
@JsonProperty("change_freight")
5271
private Integer changeFreight;
5372

54-
/** 是否修改运费 */
73+
/**
74+
* 是否修改运费
75+
*/
5576
@JsonProperty("is_change_freight")
5677
private Boolean changeFreighted;
5778

58-
/** 是否使用了会员积分抵扣 */
79+
/**
80+
* 是否使用了会员积分抵扣
81+
*/
5982
@JsonProperty("use_deduction")
6083
private Boolean useDeduction;
6184

62-
/** 会员积分抵扣金额,单位为分 */
85+
/**
86+
* 会员积分抵扣金额,单位为分
87+
*/
6388
@JsonProperty("deduction_price")
6489
private Integer deductionPrice;
6590

91+
/**
92+
* 商家实收金额,单位为分
93+
* merchant_receieve_price=original_order_price-discounted_price-deduction_price-change_down_price
94+
*/
95+
@JsonProperty("merchant_receieve_price")
96+
private Integer merchant_receive_price;
97+
98+
/**
99+
* 商家优惠金额,单位为分,含义同discounted_price,必填
100+
*/
101+
@JsonProperty("merchant_discounted_price")
102+
private Integer merchant_discounted_price;
103+
104+
/**
105+
* 达人优惠金额,单位为分
106+
*/
107+
@JsonProperty("finder_discounted_price")
108+
private Integer finder_discounted_price;
109+
66110
}

0 commit comments

Comments
 (0)