mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-06-28 13:16:19 +08:00
🎨 #3609 【视频号】微信小店获取售后单接口返回新增换货相关的数据
This commit is contained in:
parent
b0af2c704e
commit
22d288f6cd
@ -0,0 +1,35 @@
|
||||
package me.chanjar.weixin.channel.bean.after;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import java.io.Serializable;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import me.chanjar.weixin.channel.bean.base.AddressInfo;
|
||||
|
||||
/**
|
||||
* 换货类型的发货物流信息
|
||||
*
|
||||
* @author <a href="https://github.com/lixize">Zeyes</a>
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class AfterSaleExchangeDeliveryInfo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 3039216368034112038L;
|
||||
|
||||
/** 快递单号 */
|
||||
@JsonProperty("waybill_id")
|
||||
private String waybillId;
|
||||
|
||||
/** 物流公司id */
|
||||
@JsonProperty("delivery_id")
|
||||
private String deliveryId;
|
||||
|
||||
/** 物流公司名称 */
|
||||
@JsonProperty("delivery_name")
|
||||
private String deliveryName;
|
||||
|
||||
/** 地址信息 */
|
||||
@JsonProperty("address_info")
|
||||
private AddressInfo addressInfo;
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
package me.chanjar.weixin.channel.bean.after;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import java.io.Serializable;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* 换货商品信息
|
||||
*
|
||||
* @author <a href="https://github.com/lixize">Zeyes</a>
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class AfterSaleExchangeProductInfo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -1341436607011117854L;
|
||||
|
||||
/** 商品spuid */
|
||||
@JsonProperty("product_id")
|
||||
private String productId;
|
||||
|
||||
/** 旧商品skuid */
|
||||
@JsonProperty("old_sku_id")
|
||||
private String oldSkuId;
|
||||
|
||||
/** 新商品skuid */
|
||||
@JsonProperty("new_sku_id")
|
||||
private String newSkuId;
|
||||
|
||||
/** 数量 */
|
||||
@JsonProperty("product_cnt")
|
||||
private String productCnt;
|
||||
}
|
@ -86,4 +86,16 @@ public class AfterSaleInfo implements Serializable {
|
||||
/** 仅在待商家审核退款退货申请或收货期间返回,表示操作剩余时间(秒数)*/
|
||||
@JsonProperty("deadline")
|
||||
private Long deadline;
|
||||
|
||||
/** 售后换货商品信息 */
|
||||
@JsonProperty("exchange_product_info")
|
||||
private AfterSaleExchangeProductInfo exchangeProductInfo;
|
||||
|
||||
/** 售后换货物流信息 */
|
||||
@JsonProperty("exchange_delivery_info")
|
||||
private AfterSaleExchangeDeliveryInfo exchangeDeliveryInfo;
|
||||
|
||||
/** 售后换货虚拟号码信息 */
|
||||
@JsonProperty("virtual_tel_num_info")
|
||||
private AfterSaleVirtualNumberInfo virtualTelNumInfo;
|
||||
}
|
||||
|
@ -0,0 +1,26 @@
|
||||
package me.chanjar.weixin.channel.bean.after;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import java.io.Serializable;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* 虚拟号码信息
|
||||
*
|
||||
* @author <a href="https://github.com/lixize">Zeyes</a>
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class AfterSaleVirtualNumberInfo implements Serializable {
|
||||
private static final long serialVersionUID = -5756618937333859985L;
|
||||
|
||||
/** 虚拟号码 */
|
||||
@JsonProperty("virtual_tel_number")
|
||||
private String virtualTelNumber;
|
||||
|
||||
/** 虚拟号码过期时间 */
|
||||
@JsonProperty("virtual_tel_expire_time")
|
||||
private Long virtualTelExpireTime;
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user