|
| 1 | +package me.chanjar.weixin.channel.bean.talent; |
| 2 | + |
| 3 | +import com.fasterxml.jackson.annotation.JsonProperty; |
| 4 | +import java.io.Serializable; |
| 5 | +import lombok.Data; |
| 6 | +import lombok.EqualsAndHashCode; |
| 7 | +import lombok.NoArgsConstructor; |
| 8 | +import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse; |
| 9 | + |
| 10 | +/** |
| 11 | + * 带货助手-获取佣金单详情 响应 |
| 12 | + * |
| 13 | + * @author <a href="https://github.com/features/copilot">GitHub Copilot</a> |
| 14 | + */ |
| 15 | +@Data |
| 16 | +@NoArgsConstructor |
| 17 | +@EqualsAndHashCode(callSuper = true) |
| 18 | +public class TalentOrderDetailResponse extends WxChannelBaseResponse { |
| 19 | + |
| 20 | + private static final long serialVersionUID = 2174806923145876312L; |
| 21 | + |
| 22 | + /** 订单基础信息 */ |
| 23 | + @JsonProperty("base_info") |
| 24 | + private BaseInfo baseInfo; |
| 25 | + |
| 26 | + /** 订单佣金信息 */ |
| 27 | + @JsonProperty("commission_info") |
| 28 | + private CommissionInfo commissionInfo; |
| 29 | + |
| 30 | + /** 下单通道信息 */ |
| 31 | + @JsonProperty("channel_info") |
| 32 | + private ChannelInfo channelInfo; |
| 33 | + |
| 34 | + /** 内容推广推客机构信息 */ |
| 35 | + @JsonProperty("promotion_head_supplier_info") |
| 36 | + private PromotionHeadSupplierInfo promotionHeadSupplierInfo; |
| 37 | + |
| 38 | + /** 商品信息 */ |
| 39 | + @JsonProperty("product_info") |
| 40 | + private ProductInfo productInfo; |
| 41 | + |
| 42 | + /** 订单基础信息 */ |
| 43 | + @Data |
| 44 | + @NoArgsConstructor |
| 45 | + public static class BaseInfo implements Serializable { |
| 46 | + |
| 47 | + private static final long serialVersionUID = 6382947162830498251L; |
| 48 | + |
| 49 | + /** 订单id */ |
| 50 | + @JsonProperty("order_id") |
| 51 | + private String orderId; |
| 52 | + |
| 53 | + /** 商品spuid */ |
| 54 | + @JsonProperty("spu_id") |
| 55 | + private String spuId; |
| 56 | + |
| 57 | + /** 商品skuid */ |
| 58 | + @JsonProperty("sku_id") |
| 59 | + private String skuId; |
| 60 | + |
| 61 | + /** 特殊id【针对本地生活】 */ |
| 62 | + @JsonProperty("special_id") |
| 63 | + private String specialId; |
| 64 | + |
| 65 | + /** |
| 66 | + * 订单状态:1=待支付, 2=待发货, 3=已发货, 4=已收货, 5=售后中, 6=已完成, 7=已取消, 8=已退款, 9=部分退款, 10=待使用 |
| 67 | + */ |
| 68 | + @JsonProperty("order_status") |
| 69 | + private Integer orderStatus; |
| 70 | + |
| 71 | + /** 实际支付金额【单位:分】 */ |
| 72 | + @JsonProperty("actual_payment") |
| 73 | + private String actualPayment; |
| 74 | + |
| 75 | + /** 订单创建时间 */ |
| 76 | + @JsonProperty("order_create_time") |
| 77 | + private Long orderCreateTime; |
| 78 | + |
| 79 | + /** 订单更新时间 */ |
| 80 | + @JsonProperty("order_update_time") |
| 81 | + private Long orderUpdateTime; |
| 82 | + |
| 83 | + /** 下单用户 */ |
| 84 | + @JsonProperty("buyer_info") |
| 85 | + private BuyerInfo buyerInfo; |
| 86 | + |
| 87 | + /** 订单支付时间 */ |
| 88 | + @JsonProperty("order_pay_time") |
| 89 | + private Long orderPayTime; |
| 90 | + |
| 91 | + /** 订单的分佣基数【单位:分】 */ |
| 92 | + @JsonProperty("settle_payment") |
| 93 | + private String settlePayment; |
| 94 | + } |
| 95 | + |
| 96 | + /** 下单用户信息 */ |
| 97 | + @Data |
| 98 | + @NoArgsConstructor |
| 99 | + public static class BuyerInfo implements Serializable { |
| 100 | + |
| 101 | + private static final long serialVersionUID = 4729638451027364819L; |
| 102 | + |
| 103 | + /** 下单用户的openid */ |
| 104 | + @JsonProperty("open_id") |
| 105 | + private String openId; |
| 106 | + |
| 107 | + /** 下单用户的unionid */ |
| 108 | + @JsonProperty("union_id") |
| 109 | + private String unionId; |
| 110 | + } |
| 111 | + |
| 112 | + /** 订单佣金信息 */ |
| 113 | + @Data |
| 114 | + @NoArgsConstructor |
| 115 | + public static class CommissionInfo implements Serializable { |
| 116 | + |
| 117 | + private static final long serialVersionUID = -3819264037182640581L; |
| 118 | + |
| 119 | + /** 佣金单状态:1=待结算, 2=已结算, 3=取消结算, 4=结算异常 */ |
| 120 | + @JsonProperty("state") |
| 121 | + private Integer state; |
| 122 | + |
| 123 | + /** 佣金比例 */ |
| 124 | + @JsonProperty("ratio") |
| 125 | + private String ratio; |
| 126 | + |
| 127 | + /** 预期结算时间 */ |
| 128 | + @JsonProperty("expect_settle_time") |
| 129 | + private Long expectSettleTime; |
| 130 | + |
| 131 | + /** 预期结算金额 */ |
| 132 | + @JsonProperty("expect_settlement") |
| 133 | + private String expectSettlement; |
| 134 | + |
| 135 | + /** 实际结算时间 */ |
| 136 | + @JsonProperty("actual_settle_time") |
| 137 | + private Long actualSettleTime; |
| 138 | + |
| 139 | + /** 实际结算金额 */ |
| 140 | + @JsonProperty("actual_settlement") |
| 141 | + private String actualSettlement; |
| 142 | + } |
| 143 | + |
| 144 | + /** 下单通道信息 */ |
| 145 | + @Data |
| 146 | + @NoArgsConstructor |
| 147 | + public static class ChannelInfo implements Serializable { |
| 148 | + |
| 149 | + private static final long serialVersionUID = 7364918204736159023L; |
| 150 | + |
| 151 | + /** 渠道类型:1=视频号, 2=公众号 */ |
| 152 | + @JsonProperty("channel_type") |
| 153 | + private Integer channelType; |
| 154 | + |
| 155 | + /** 渠道id */ |
| 156 | + @JsonProperty("channel_id") |
| 157 | + private String channelId; |
| 158 | + |
| 159 | + /** 渠道名称 */ |
| 160 | + @JsonProperty("channel_name") |
| 161 | + private String channelName; |
| 162 | + } |
| 163 | + |
| 164 | + /** 内容推广推客机构信息 */ |
| 165 | + @Data |
| 166 | + @NoArgsConstructor |
| 167 | + public static class PromotionHeadSupplierInfo implements Serializable { |
| 168 | + |
| 169 | + private static final long serialVersionUID = 1826374950183647291L; |
| 170 | + |
| 171 | + /** 机构id */ |
| 172 | + @JsonProperty("id") |
| 173 | + private String id; |
| 174 | + |
| 175 | + /** 机构名称 */ |
| 176 | + @JsonProperty("name") |
| 177 | + private String name; |
| 178 | + |
| 179 | + /** 佣金单比例 */ |
| 180 | + @JsonProperty("ratio") |
| 181 | + private String ratio; |
| 182 | + |
| 183 | + /** 佣金 */ |
| 184 | + @JsonProperty("fee") |
| 185 | + private String fee; |
| 186 | + } |
| 187 | + |
| 188 | + /** 商品信息 */ |
| 189 | + @Data |
| 190 | + @NoArgsConstructor |
| 191 | + public static class ProductInfo implements Serializable { |
| 192 | + |
| 193 | + private static final long serialVersionUID = -4920183645872916370L; |
| 194 | + |
| 195 | + /** 商品的标题 */ |
| 196 | + @JsonProperty("title") |
| 197 | + private String title; |
| 198 | + |
| 199 | + /** 商品的头图 */ |
| 200 | + @JsonProperty("thumb_img") |
| 201 | + private String thumbImg; |
| 202 | + } |
| 203 | +} |
0 commit comments