|
1 | 1 | package me.chanjar.weixin.channel.bean.order; |
2 | 2 |
|
3 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; |
4 | | -import java.io.Serializable; |
5 | 4 | import lombok.Data; |
6 | 5 | import lombok.NoArgsConstructor; |
7 | 6 |
|
| 7 | +import java.io.Serializable; |
| 8 | + |
8 | 9 | /** |
9 | 10 | * 商店订单价格信息 |
10 | 11 | * |
|
13 | 14 | @Data |
14 | 15 | @NoArgsConstructor |
15 | 16 | public class OrderPriceInfo implements Serializable { |
16 | | - |
17 | 17 | private static final long serialVersionUID = 5216506688949493432L; |
18 | | - /** 商品总价,单位为分 */ |
| 18 | + |
| 19 | + /** |
| 20 | + * 商品总价,单位为分 |
| 21 | + */ |
19 | 22 | @JsonProperty("product_price") |
20 | 23 | private Integer productPrice; |
21 | 24 |
|
22 | | - /** 订单金额,单位为分 */ |
| 25 | + /** |
| 26 | + * 订单金额,单位为分 |
| 27 | + */ |
23 | 28 | @JsonProperty("order_price") |
24 | 29 | private Integer orderPrice; |
25 | 30 |
|
26 | | - /** 运费,单位为分 */ |
| 31 | + /** |
| 32 | + * 运费,单位为分 |
| 33 | + */ |
27 | 34 | @JsonProperty("freight") |
28 | 35 | private Integer freight; |
29 | 36 |
|
30 | | - /** 优惠金额,单位为分 */ |
| 37 | + /** |
| 38 | + * 优惠金额,单位为分 |
| 39 | + */ |
31 | 40 | @JsonProperty("discounted_price") |
32 | 41 | private Integer discountedPrice; |
33 | 42 |
|
34 | | - /** 是否有优惠 */ |
| 43 | + /** |
| 44 | + * 是否有优惠 |
| 45 | + */ |
35 | 46 | @JsonProperty("is_discounted") |
36 | 47 | private Boolean isDiscounted; |
37 | 48 |
|
38 | | - /** 订单原始价格,单位为分 */ |
| 49 | + /** |
| 50 | + * 订单原始价格,单位为分 |
| 51 | + */ |
39 | 52 | @JsonProperty("original_order_price") |
40 | 53 | private Integer originalOrderPrice; |
41 | 54 |
|
42 | | - /** 商品预估价格,单位为分 */ |
| 55 | + /** |
| 56 | + * 商品预估价格,单位为分 |
| 57 | + */ |
43 | 58 | @JsonProperty("estimate_product_price") |
44 | 59 | private Integer estimateProductPrice; |
45 | 60 |
|
46 | | - /** 改价后降低金额,单位为分 */ |
| 61 | + /** |
| 62 | + * 改价后降低金额,单位为分 |
| 63 | + */ |
47 | 64 | @JsonProperty("change_down_price") |
48 | 65 | private Integer changeDownPrice; |
49 | 66 |
|
50 | | - /** 改价后运费,单位为分 */ |
| 67 | + /** |
| 68 | + * 改价后运费,单位为分 |
| 69 | + */ |
51 | 70 | @JsonProperty("change_freight") |
52 | 71 | private Integer changeFreight; |
53 | 72 |
|
54 | | - /** 是否修改运费 */ |
| 73 | + /** |
| 74 | + * 是否修改运费 |
| 75 | + */ |
55 | 76 | @JsonProperty("is_change_freight") |
56 | 77 | private Boolean changeFreighted; |
57 | 78 |
|
58 | | - /** 是否使用了会员积分抵扣 */ |
| 79 | + /** |
| 80 | + * 是否使用了会员积分抵扣 |
| 81 | + */ |
59 | 82 | @JsonProperty("use_deduction") |
60 | 83 | private Boolean useDeduction; |
61 | 84 |
|
62 | | - /** 会员积分抵扣金额,单位为分 */ |
| 85 | + /** |
| 86 | + * 会员积分抵扣金额,单位为分 |
| 87 | + */ |
63 | 88 | @JsonProperty("deduction_price") |
64 | 89 | private Integer deductionPrice; |
65 | 90 |
|
| 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 | + |
66 | 110 | } |
0 commit comments