Skip to content

#3295【视频号小店】补充获取订单详情接口返回值 #3331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,22 @@ public class OrderAddressInfo extends AddressInfo {
/** 虚拟发货订单联系方式(deliver_method=1时返回) */
@JsonProperty("virtual_order_tel_number")
private String virtualOrderTelNumber;

/**
* 额外的联系方式信息(虚拟号码相关),具体结构请参考TelNumberExtInfo结构体
*/
@JsonProperty("tel_number_ext_info")
private TelNumberExtInfo telNumberExtInfo;

/**
* 0:不使用虚拟号码,1:使用虚拟号码
*/
@JsonProperty("use_tel_number")
private Integer useTelNumber;

/**
* 标识当前店铺下一个唯一的用户收货地址
*/
@JsonProperty("hash_code")
private String hashCode;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
package me.chanjar.weixin.channel.bean.order;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
* 联系方式信息
*
* @author <a href="https://github.com/imyzt">imyzt</a>
*/
@Data
public class TelNumberExtInfo {

/**
* 脱敏手机号
*/
@JsonProperty("real_tel_number")
private String realTelNumber;

/**
* 完整的虚拟号码
*/
@JsonProperty("virtual_tel_number")
private String virtualTelNumber;

/**
* 主动兑换的虚拟号码过期时间
*/
@JsonProperty("virtual_tel_expire_time")
private Long virtualTelExpireTime;

/**
* 主动兑换虚拟号码次数
*/
@JsonProperty("get_virtual_tel_cnt")
private Long getVirtualTelCnt;
}