repo stringclasses 1k
values | file_url stringlengths 96 373 | file_path stringlengths 11 294 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 6
values | commit_sha stringclasses 1k
values | retrieved_at stringdate 2026-01-04 14:45:56 2026-01-04 18:30:23 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/SkuFastInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/SkuFastInfo.java | package me.chanjar.weixin.channel.bean.product;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 免审商品更新Sku数据
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SkuFastInfo implements Serializable {
/** sku_id */
@JsonProperty("sku_id")
private String skuId;
/** 售卖价格,以分为单位,数字类型,最大不超过10000000(1000万元) */
@JsonProperty("sale_price")
private Integer salePrice;
@JsonProperty("stock_info")
private StockInfo stockInfo;
/** sku发货信息 */
@JsonProperty("sku_deliver_info")
private SkuDeliverInfo skuDeliverInfo;
/** 是否要删除当前sku */
@JsonProperty("is_delete")
private Boolean delete;
@Data
@NoArgsConstructor
public static class StockInfo implements Serializable {
/** 修改类型。1: 增加;2:减少;3:设置 */
@JsonProperty("diff_type")
protected Integer diffType;
/** 增加、减少或者设置的库存值 */
@JsonProperty("num")
protected Integer num;
}
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/DescriptionInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/DescriptionInfo.java | package me.chanjar.weixin.channel.bean.product;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 商品详情
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
public class DescriptionInfo implements Serializable {
private static final long serialVersionUID = 3402153796734747882L;
/** 商品详情图文,字符类型,最长不超过2000 */
@JsonProperty("desc")
private String desc;
/** 商品详情图片,图片类型,最多不超过50张 */
@JsonProperty("imgs")
private List<String> imgs;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/SpuSimpleInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/SpuSimpleInfo.java | package me.chanjar.weixin.channel.bean.product;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
public class SpuSimpleInfo implements Serializable {
private static final long serialVersionUID = 5583726432139404883L;
/** 商品ID */
@JsonProperty("product_id")
protected String productId;
/** 商家自定义商品ID */
@JsonProperty("out_product_id")
protected String outProductId;
/** sku数组 */
@JsonProperty("skus")
protected List<SkuInfo> skus;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/SkuStockBatchResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/SkuStockBatchResponse.java | package me.chanjar.weixin.channel.bean.product;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* 批量查询sku库存响应
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class SkuStockBatchResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = 7745444061881828137L;
/** 库存信息 */
@JsonProperty("data")
private SkuStockBatchList data;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/SpuListParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/SpuListParam.java | package me.chanjar.weixin.channel.bean.product;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import me.chanjar.weixin.channel.bean.base.StreamPageParam;
/**
* 商品列表查询参数
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@JsonInclude(Include.NON_NULL)
public class SpuListParam extends StreamPageParam {
private static final long serialVersionUID = -242932365961748404L;
/** 商品状态 */
@JsonProperty("status")
private Integer status;
public SpuListParam() {
}
public SpuListParam(Integer pageSize, String nextKey, Integer status) {
this.pageSize = pageSize;
this.nextKey = nextKey;
this.status = status;
}
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/SpuListResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/SpuListResponse.java | package me.chanjar.weixin.channel.bean.product;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* 商品列表信息 响应
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class SpuListResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = -7448819335418389308L;
/** 总数 */
@JsonProperty("total_num")
private Integer totalNum;
/** 本次翻页的上下文,用于请求下一页 */
@JsonProperty("next_key")
private String nextKey;
/** 商品 id 列表 */
@JsonProperty("product_ids")
private List<String> ids;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/SpuSizeChart.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/SpuSizeChart.java | package me.chanjar.weixin.channel.bean.product;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 尺码表信息
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
public class SpuSizeChart implements Serializable {
private static final long serialVersionUID = -5019617420608575610L;
/** 是否支持尺码表 */
@JsonProperty("enable")
private Boolean enable;
/** 尺码表 */
@JsonProperty("specification_list")
private List<SpuSizeChartItem> specificationList;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/ExpressInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/ExpressInfo.java | package me.chanjar.weixin.channel.bean.product;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 运费信息
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ExpressInfo implements Serializable {
private static final long serialVersionUID = 3274035362148612426L;
/** 运费模板ID(先通过获取运费模板接口merchant/getfreighttemplatelist拿到),若deliver_method=1,则不用填写 */
@JsonProperty("template_id")
private String templateId;
/** 商品重量,单位克,若当前运费模版计价方式为[按重量],则必填 */
@JsonProperty("weight")
private Integer weight;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/SpuUpdateResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/SpuUpdateResponse.java | package me.chanjar.weixin.channel.bean.product;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* 商品信息 响应
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class SpuUpdateResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = -7072796795527767292L;
/** 商品信息 */
@JsonProperty("data")
private SpuInfo data;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/SkuDeliverInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/SkuDeliverInfo.java | package me.chanjar.weixin.channel.bean.product;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* sku发货信息
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
public class SkuDeliverInfo implements Serializable {
private static final long serialVersionUID = 8046963723772755406L;
/** sku库存情况。0:现货(默认),1:全款预售。部分类目支持全款预售,具体参考文档获取类目信息中的字段attr.pre_sale */
@JsonProperty("stock_type")
private Integer stockType;
/** sku发货节点,该字段仅对stock_type=1有效。0:付款后n天发货,1:预售结束后n天发货 */
@JsonProperty("full_payment_presale_delivery_type")
private Integer fullPaymentPresaleDeliveryType;
/** sku预售周期开始时间,秒级时间戳,该字段仅对delivery_type=1有效。 */
@JsonProperty("presale_begin_time")
private Long presaleBeginTime;
/**
* sku预售周期结束时间,秒级时间戳,该字段仅对delivery_type=1有效。限制:预售结束时间距离现在<=30天, 即presale_end_time - now <= 2592000。预售时间区间<=15天,
* 即presale_end_time - presale_begin_time <= 1296000
*/
@JsonProperty("presale_end_time")
private Long presaleEndTime;
/**
* sku发货时效,即付款后/预售结束后{full_payment_presale_delivery_time}天内发货, 该字段仅对stock_type=1时有效。范围是[4, 15]的整数。
*/
@JsonProperty("full_payment_presale_delivery_time")
private Integer fullPaymentPresaleDeliveryTime;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/SkuStockBatchList.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/SkuStockBatchList.java | package me.chanjar.weixin.channel.bean.product;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* spu库存列表
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
public class SkuStockBatchList implements Serializable {
private static final long serialVersionUID = -8082428962162052815L;
/** 库存信息 */
@JsonProperty("spu_stock_list")
private List<SpuStockInfo> spuStockList;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/link/ProductTagLinkResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/link/ProductTagLinkResponse.java | package me.chanjar.weixin.channel.bean.product.link;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* 商品口令 结果
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class ProductTagLinkResponse extends WxChannelBaseResponse {
/** 商品口令 */
@JsonProperty("product_taglink")
private String productTaglink;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/link/ProductH5UrlResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/link/ProductH5UrlResponse.java | package me.chanjar.weixin.channel.bean.product.link;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* 商品H5短链 结果
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class ProductH5UrlResponse extends WxChannelBaseResponse {
/** 商品H5短链 */
@JsonProperty("product_h5url")
private String productH5url;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/link/ProductQrCodeResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/product/link/ProductQrCodeResponse.java | package me.chanjar.weixin.channel.bean.product.link;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* 商品二维码 结果
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class ProductQrCodeResponse extends WxChannelBaseResponse {
/** 商品二维码 */
@JsonProperty("product_qrcode")
private String productQrcode;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/base/AddressInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/base/AddressInfo.java | package me.chanjar.weixin.channel.bean.base;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
/**
* 地址信息
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class AddressInfo implements Serializable {
private static final long serialVersionUID = 6928300709804576100L;
/** 收件人姓名 */
@JsonProperty("user_name")
private String userName;
/** 收件人手机号码 */
@JsonProperty("tel_number")
private String telNumber;
/** 邮编 */
@JsonProperty("postal_code")
private String postalCode;
/** 省份 */
@JsonProperty("province_name")
private String provinceName;
/** 城市 */
@JsonProperty("city_name")
private String cityName;
/** 区 */
@JsonProperty("county_name")
private String countyName;
/** 详细地址 */
@JsonProperty("detail_info")
private String detailInfo;
/** 国家码 */
@JsonProperty("national_code")
private String nationalCode;
/** 门牌号码 */
@JsonProperty("house_number")
private String houseNumber;
/** 纬度 */
@JsonProperty("lat")
private Double lat;
/** 经度 */
@JsonProperty("lng")
private Double lng;
public AddressInfo(String provinceName, String cityName, String countyName) {
this.provinceName = provinceName;
this.cityName = cityName;
this.countyName = countyName;
}
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/base/OffsetParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/base/OffsetParam.java | package me.chanjar.weixin.channel.bean.base;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 偏移参数
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(Include.NON_NULL)
public class OffsetParam implements Serializable {
private static final long serialVersionUID = -1268796871980541662L;
/** 起始位置 */
@JsonProperty("offset")
private Integer offset;
/** 拉取个数 */
@JsonProperty("limit")
private Integer limit;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/base/PageParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/base/PageParam.java | package me.chanjar.weixin.channel.bean.base;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 分页参数
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageParam implements Serializable {
private static final long serialVersionUID = -2606033044242617845L;
/** 页码 */
@JsonProperty("page")
protected Integer page;
/** 每页订单数,上限100 */
@JsonProperty("page_size")
protected Integer pageSize;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/base/TimeRange.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/base/TimeRange.java | package me.chanjar.weixin.channel.bean.base;
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 TimeRange implements Serializable {
private static final long serialVersionUID = -8149679871789511479L;
/** 开始时间 秒级时间戳 */
@JsonProperty("start_time")
private Long startTime;
/** 结束时间 秒级时间戳 */
@JsonProperty("end_time")
private Long endTime;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/base/AttrInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/base/AttrInfo.java | package me.chanjar.weixin.channel.bean.base;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 属性
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AttrInfo implements Serializable {
private static final long serialVersionUID = -790859309885311785L;
/** 销售属性key(自定义),字符类型,最长不超过40 */
@JsonProperty("attr_key")
private String key;
/** 销售属性value(自定义),字符类型,最长不超过40,相同key下不能超过100个不同value */
@JsonProperty("attr_value")
private String value;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/base/StreamPageParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/base/StreamPageParam.java | package me.chanjar.weixin.channel.bean.base;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 流式分页参数
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class StreamPageParam implements Serializable {
private static final long serialVersionUID = -4098060161712929196L;
/** 每页订单数,上限100 */
@JsonProperty("page_size")
protected Integer pageSize;
/** 分页参数,上一页请求返回 */
@JsonProperty("next_key")
protected String nextKey;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/base/WxChannelBaseResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/base/WxChannelBaseResponse.java | package me.chanjar.weixin.channel.bean.base;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.StringJoiner;
/**
* 视频号小店 基础响应
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
public class WxChannelBaseResponse implements Serializable {
private static final long serialVersionUID = 3141420881984171781L;
/** 请求成功状态码 */
public static final int SUCCESS_CODE = 0;
public static final int INTERNAL_ERROR_CODE = -99;
/**
* 错误码
*/
@JsonProperty("errcode")
protected int errCode;
/**
* 错误消息
*/
@JsonProperty("errmsg")
protected String errMsg;
/**
* 错误代码 + 错误消息
*
* @return String
*/
public String errorMessage() {
return "errcode: " + errCode + ", errmsg: " + errMsg;
}
public boolean isSuccess() {
return errCode == SUCCESS_CODE;
}
public int getErrCode() {
return errCode;
}
public void setErrCode(int errCode) {
this.errCode = errCode;
}
public String getErrMsg() {
return errMsg;
}
public void setErrMsg(String errMsg) {
this.errMsg = errMsg;
}
@Override
public String toString() {
return new StringJoiner(", ", WxChannelBaseResponse.class.getSimpleName() + "[", "]")
.add("errCode=" + errCode)
.add("errMsg='" + errMsg + "'")
.toString();
}
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/limit/LimitTaskInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/limit/LimitTaskInfo.java | package me.chanjar.weixin.channel.bean.limit;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
public class LimitTaskInfo implements Serializable {
private static final long serialVersionUID = 3032226931637189351L;
/** 限时抢购任务ID */
@JsonProperty("task_id")
private String taskId;
/** 抢购商品ID */
@JsonProperty("product_id")
private String productId;
/** 限时抢购任务状态 */
@JsonProperty("status")
private Integer status;
/** 限时抢购任务创建时间(秒级时间戳) */
@JsonProperty("create_time")
private Long createTime;
/** 限时抢购任务开始时间(秒级时间戳) */
@JsonProperty("start_time")
private Long startTime;
/** 限时抢购任务结束时间(秒级时间戳) */
@JsonProperty("end_time")
private Long endTime;
/** sku列表 */
@JsonProperty("limited_discount_skus")
private List<LimitSku> skus;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/limit/LimitTaskListParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/limit/LimitTaskListParam.java | package me.chanjar.weixin.channel.bean.limit;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import me.chanjar.weixin.channel.bean.base.StreamPageParam;
/**
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
public class LimitTaskListParam extends StreamPageParam {
private static final long serialVersionUID = -7227161890365102302L;
/** 抢购活动状态 */
@JsonProperty("status")
private Integer status;
public LimitTaskListParam() {
}
public LimitTaskListParam(Integer pageSize, String nextKey, Integer status) {
this.pageSize = pageSize;
this.nextKey = nextKey;
this.status = status;
}
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/limit/LimitTaskAddResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/limit/LimitTaskAddResponse.java | package me.chanjar.weixin.channel.bean.limit;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class LimitTaskAddResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = -4742165348862157618L;
/** 限时抢购任务ID 创建成功后返回 */
@JsonProperty("task_id")
private String taskId;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/limit/LimitSku.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/limit/LimitSku.java | package me.chanjar.weixin.channel.bean.limit;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class LimitSku implements Serializable {
private static final long serialVersionUID = -1819737633227427482L;
/** 参与抢购的商品 ID 下,不同规格(SKU)的商品信息 */
@JsonProperty("sku_id")
private String skuId;
/** SKU的抢购价格,必须小于原价(原价为1分钱的商品无法创建抢购任务) */
@JsonProperty("sale_price")
private Integer salePrice;
/** 参与抢购的商品库存,必须小于等于现有库存 */
@JsonProperty("sale_stock")
private Integer saleStock;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/limit/LimitTaskParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/limit/LimitTaskParam.java | package me.chanjar.weixin.channel.bean.limit;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LimitTaskParam implements Serializable {
private static final long serialVersionUID = 3885409806249022528L;
/** 抢购商品ID */
@JsonProperty("product_id")
private String productId;
/** 限时抢购任务开始时间(秒级时间戳) */
@JsonProperty("start_time")
private Date startTime;
/** 限时抢购任务结束时间(秒级时间戳) */
@JsonProperty("end_time")
private Date endTime;
/** sku列表 */
@JsonProperty("limited_discount_skus")
private List<LimitSku> skus;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/limit/LimitTaskListResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/limit/LimitTaskListResponse.java | package me.chanjar.weixin.channel.bean.limit;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class LimitTaskListResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = 3604657299385130217L;
/** 限时抢购任务 */
@JsonProperty("limited_discount_tasks")
private List<LimitTaskInfo> tasks;
/** 本次翻页的上下文,用于请求下一页 */
@JsonProperty("next_key")
private String nextKey;
/** 商品总数 */
@JsonProperty("total_num")
private Integer totalNum;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/CouponParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/CouponParam.java | package me.chanjar.weixin.channel.bean.coupon;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
/**
* 优惠券参数
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class CouponParam extends CouponIdInfo {
private static final long serialVersionUID = -3663331372622943337L;
/** 优惠券类型 **/
@JsonProperty("type")
private Integer type;
/** 优惠券名称,最长10个中文字符 */
@JsonProperty("name")
private String name;
/** 优惠信息 **/
@JsonProperty("discount_info")
private DiscountInfo discountInfo;
/** 额外信息 **/
@JsonProperty("ext_info")
private ExtInfo extInfo;
/** 推广信息 **/
@JsonProperty("promote_info")
private PromoteInfo promoteInfo;
/** 领取信息 **/
@JsonProperty("receive_info")
private ReceiveInfo receiveInfo;
/** 优惠券有效信息 **/
@JsonProperty("valid_info")
private ValidInfo validInfo;
/** 优惠券自动生效信息 **/
@JsonProperty("auto_valid_info")
private AutoValidInfo autoValidInfo;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/ReceiveInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/ReceiveInfo.java | package me.chanjar.weixin.channel.bean.coupon;
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 ReceiveInfo implements Serializable {
private static final long serialVersionUID = 755956808504040633L;
/** 优惠券领用结束时间 **/
@JsonProperty("end_time")
private Long endTime;
/** 单人限领张数 **/
@JsonProperty("limit_num_one_person")
private Integer limitNumOnePerson;
/** 优惠券领用开始时间 **/
@JsonProperty("start_time")
private Long startTime;
/** 优惠券领用总数 **/
@JsonProperty("total_num")
private Integer totalNum;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/DiscountCondition.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/DiscountCondition.java | package me.chanjar.weixin.channel.bean.coupon;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 折扣条件
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
public class DiscountCondition implements Serializable {
private static final long serialVersionUID = 3250293381093835082L;
/** 优惠券使用条件, 满 x 件商品可用 */
@JsonProperty("product_cnt")
private Integer productCnt;
/** 优惠券使用条件, 价格满 x 可用,单位分 */
@JsonProperty("product_price")
private Integer productPrice;
/** 优惠券使用条件, 指定商品 id 可用 */
@JsonProperty("product_ids")
private List<String> productIds;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/ExtInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/ExtInfo.java | package me.chanjar.weixin.channel.bean.coupon;
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 ExtInfo implements Serializable {
private static final long serialVersionUID = 9053035437087423233L;
/** 商品折扣券领取后跳转的商品id **/
@JsonProperty("jump_product_id")
private String jumpProductId;
/** 备注信息 **/
@JsonProperty("notes")
private String notes;
/** 优惠券有效时间 **/
@JsonProperty("valid_time")
private Long validTime;
/** 优惠券失效时间戳 **/
@JsonProperty("invalid_time")
private Long invalidTime;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/UserCoupon.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/UserCoupon.java | package me.chanjar.weixin.channel.bean.coupon;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
/**
* 用户优惠券
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class UserCoupon extends UserCouponIdInfo {
private static final long serialVersionUID = -4777537717885622888L;
/** 优惠券状态 {@link me.chanjar.weixin.channel.enums.UserCouponStatus} */
@JsonProperty("status")
private Integer status;
/** 优惠券派发时间 */
@JsonProperty("create_time")
private Long createTime;
/** 优惠券更新时间 */
@JsonProperty("update_time")
private Long updateTime;
/** 优惠券生效时间 */
@JsonProperty("start_time")
private Long startTime;
/** 优惠券失效时间 */
@JsonProperty("end_time")
private Long endTime;
/** 附加信息 */
@JsonProperty("ext_info")
private UserExtInfo extInfo;
/** 优惠券使用的订单id */
@JsonProperty("order_id")
private String orderId;
/** 优惠券金额 */
@JsonProperty("discount_fee")
private Integer discountFee;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/AutoValidInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/AutoValidInfo.java | package me.chanjar.weixin.channel.bean.coupon;
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 AutoValidInfo implements Serializable {
private static final long serialVersionUID = 1702505613539861103L;
/** 优惠券开启自动生效类型 0不启用自动生效 1启用自动生效,按领券开始时间(自动生效时间为 receive_info.start_time) */
@JsonProperty("auto_valid_type")
private Integer autoValidType;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/CouponDetailInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/CouponDetailInfo.java | package me.chanjar.weixin.channel.bean.coupon;
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 CouponDetailInfo implements Serializable {
private static final long serialVersionUID = 5994815232349181577L;
/** 优惠券名称 **/
@JsonProperty("name")
private String name;
/** 优惠券有效信息 **/
@JsonProperty("valid_info")
private ValidInfo validInfo;
/** 推广信息 **/
@JsonProperty("promote_info")
private PromoteInfo promoteInfo;
/** 优惠信息 **/
@JsonProperty("discount_info")
private DiscountInfo discountInfo;
/** 额外信息 **/
@JsonProperty("ext_info")
private ExtInfo extInfo;
/** 领取信息 **/
@JsonProperty("receive_info")
private ReceiveInfo receiveInfo;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/DiscountInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/DiscountInfo.java | package me.chanjar.weixin.channel.bean.coupon;
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 DiscountInfo implements Serializable {
private static final long serialVersionUID = 3660070880545144112L;
/** 优惠券折扣数 * 1000, 例如 5.1折-> 5100 */
@JsonProperty("discount_num")
private Integer discountNum;
/** 优惠券减少金额, 单位分, 例如0.5元-> 50 */
@JsonProperty("discount_fee")
private Integer discountFee;
/** 优惠条件 */
@JsonProperty("discount_condition")
private DiscountCondition discountCondition;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/UserCouponListParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/UserCouponListParam.java | package me.chanjar.weixin.channel.bean.coupon;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
/**
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UserCouponListParam extends CouponListParam {
private static final long serialVersionUID = -1056132009327357435L;
/**
* openId
*/
@JsonProperty("openid")
private String openId;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/UserCouponIdInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/UserCouponIdInfo.java | package me.chanjar.weixin.channel.bean.coupon;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 用户优惠券id
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
public class UserCouponIdInfo extends CouponIdInfo {
private static final long serialVersionUID = -8285585134793264542L;
/** 用户优惠券ID */
@JsonProperty("user_coupon_id")
private String userCouponId;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/UserExtInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/UserExtInfo.java | package me.chanjar.weixin.channel.bean.coupon;
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 UserExtInfo implements Serializable {
private static final long serialVersionUID = 8304922825230343409L;
/** 优惠券核销时间 */
@JsonProperty("use_time")
private Long useTime;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/CouponListParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/CouponListParam.java | package me.chanjar.weixin.channel.bean.coupon;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* 获取优惠券ID列表接口的请求参数
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@JsonInclude(Include.NON_NULL)
public class CouponListParam implements Serializable {
private static final long serialVersionUID = 7123047113279657365L;
/**
* 优惠券状态 {@link me.chanjar.weixin.channel.enums.WxCouponStatus}
*/
@JsonProperty("status")
private Integer status;
/**
* 第几页(最小填1)
*/
@JsonProperty("page")
private Integer page;
/**
* 每页数量(不超过200)
*/
@JsonProperty("page_size")
private Integer pageSize;
/**
* 分页上下文
*/
@JsonProperty("page_ctx")
private String pageCtx;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/UserCouponIdParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/UserCouponIdParam.java | package me.chanjar.weixin.channel.bean.coupon;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import lombok.Data;
/**
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
public class UserCouponIdParam implements Serializable {
private static final long serialVersionUID = 3967276158727848348L;
/** 用户openid */
@JsonProperty("openid")
private String openid;
/** 用户优惠券ID */
@JsonProperty("user_coupon_id")
private String userCouponId;
public UserCouponIdParam() {
}
public UserCouponIdParam(String openid, String userCouponId) {
this.openid = openid;
this.userCouponId = userCouponId;
}
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/ValidInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/ValidInfo.java | package me.chanjar.weixin.channel.bean.coupon;
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 ValidInfo implements Serializable {
private static final long serialVersionUID = -4550516248380285635L;
/** 优惠券有效期类型 {@link me.chanjar.weixin.channel.enums.CouponValidType} */
@JsonProperty("valid_type")
private Integer validType;
/** 优惠券有效天数,valid_type=2时才有意义 */
@JsonProperty("valid_day_num")
private Integer validDayNum;
/** 优惠券有效期开始时间,valid_type=1时才有意义 */
@JsonProperty("start_time")
private Long startTime;
/** 优惠券有效期结束时间,valid_type=1时才有意义 */
@JsonProperty("end_time")
private Long endTime;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/StockInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/StockInfo.java | package me.chanjar.weixin.channel.bean.coupon;
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 StockInfo implements Serializable {
private static final long serialVersionUID = -6078383881065929862L;
/** 优惠券剩余量 */
@JsonProperty("issued_num")
private Integer issuedNum;
/** 优惠券领用量 */
@JsonProperty("receive_num")
private Integer receiveNum;
/** 优惠券已用量 */
@JsonProperty("used_num")
private Integer usedNum;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/UserCouponResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/UserCouponResponse.java | package me.chanjar.weixin.channel.bean.coupon;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class UserCouponResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = 1434098386857953234L;
@JsonProperty("user_coupon")
private UserCoupon coupon;
@JsonProperty("openid")
private String openid;
@JsonProperty("unionid")
private String unionid;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/CouponStatusParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/CouponStatusParam.java | package me.chanjar.weixin.channel.bean.coupon;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CouponStatusParam extends CouponIdInfo {
private static final long serialVersionUID = -7108348049925634704L;
/** 状态 */
@JsonProperty("status")
private Integer status;
public CouponStatusParam() {
}
public CouponStatusParam(String couponId, Integer status) {
super(couponId);
this.status = status;
}
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/CouponIdResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/CouponIdResponse.java | package me.chanjar.weixin.channel.bean.coupon;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class CouponIdResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = -3263189706802013651L;
@JsonProperty("data")
private CouponIdInfo data;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/CouponInfoResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/CouponInfoResponse.java | package me.chanjar.weixin.channel.bean.coupon;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class CouponInfoResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = 5261320058699488529L;
@JsonProperty("coupon")
private CouponInfo coupon;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/CouponIdInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/CouponIdInfo.java | package me.chanjar.weixin.channel.bean.coupon;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 优惠券id
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CouponIdInfo implements Serializable {
private static final long serialVersionUID = 6284609705855608275L;
/** 优惠券ID */
@JsonProperty("coupon_id")
private String couponId;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/CouponInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/CouponInfo.java | package me.chanjar.weixin.channel.bean.coupon;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
public class CouponInfo extends CouponIdInfo {
private static final long serialVersionUID = -5862063828870424262L;
/** 优惠券类型 **/
@JsonProperty("type")
private Integer type;
/** 优惠券状态 **/
@JsonProperty("status")
private Integer status;
/** 优惠券创建时间 */
@JsonProperty("create_time")
private Long createTime;
/** 优惠券更新时间 */
@JsonProperty("update_time")
private Long updateTime;
/** 优惠券信息 */
@JsonProperty("coupon_info")
private CouponDetailInfo detail;
/** 库存信息 */
@JsonProperty("stock_info")
private StockInfo stockInfo;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/CouponListResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/CouponListResponse.java | package me.chanjar.weixin.channel.bean.coupon;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class CouponListResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = -5330296358041282751L;
/** 优惠券id列表 */
@JsonProperty("coupons")
private List<CouponIdInfo> coupons;
/** 优惠券总数 */
@JsonProperty("total_num")
private Integer totalNum;
/** 优惠券上下文 */
@JsonProperty("page_ctx")
private String pageCtx;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/UserCouponListResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/UserCouponListResponse.java | package me.chanjar.weixin.channel.bean.coupon;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class UserCouponListResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = 5201633937239352879L;
/** 优惠券id列表 */
@JsonProperty("user_coupon_list")
private List<UserCouponIdInfo> coupons;
/** 优惠券总数 */
@JsonProperty("total_num")
private Integer totalNum;
/** 优惠券上下文 */
@JsonProperty("page_ctx")
private String pageCtx;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/PromoteInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/PromoteInfo.java | package me.chanjar.weixin.channel.bean.coupon;
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 PromoteInfo implements Serializable {
private static final long serialVersionUID = -3030639750899957382L;
/** 推广类型 {@link me.chanjar.weixin.channel.enums.PromoteType} */
@JsonProperty("promote_type")
private Integer promoteType;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/window/response/GetWindowProductListResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/window/response/GetWindowProductListResponse.java | package me.chanjar.weixin.channel.bean.window.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
import java.util.List;
/**
* 获取账号收集的留资数据详情
* @author imyzt
* @date 2024/01/27
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class GetWindowProductListResponse extends WxChannelBaseResponse {
/**
* 商品列表
*/
private List<ProductInfo> products;
/**
* 本次翻页的上下文,用于顺序翻页请求
*/
@JsonProperty("last_buffer")
private String lastBuffer;
/**
* 商品总数
*/
@JsonProperty("total_num")
private int totalNum;
/**
* 商品信息类
*/
@Data
public static class ProductInfo {
/**
* 橱窗商品id
*/
@JsonProperty("product_id")
private String productId;
/**
* 商品来源店铺的appid
*/
private String appid;
}
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/window/response/GetWindowProductResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/window/response/GetWindowProductResponse.java | package me.chanjar.weixin.channel.bean.window.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* 获取橱窗商品详情
* @author imyzt
* @date 2024/01/27
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class GetWindowProductResponse extends WxChannelBaseResponse {
/**
* 橱窗商品详情
*/
@JsonProperty("product")
private String product;
@Data
public static class Product {
/**
* 橱窗商品ID
*/
@JsonProperty("product_id")
private String productId;
/**
* 商家侧外部商品ID
*/
@JsonProperty("out_product_id")
private String outProductId;
/**
* 商品标题
*/
private String title;
/**
* 商品头图url
*/
@JsonProperty("img_url")
private String imgUrl;
/**
* 商品所属三级类目ID
*/
@JsonProperty("third_category_id")
private String thirdCategoryId;
/**
* 商品状态
* 1 已上架到橱窗
* 2 未上架到橱窗
* 3 已在商品来源处删除
*/
private Integer status;
/**
* 价格区间最大值(单位分) (市场价,原价)
*/
@JsonProperty("market_price")
private Long marketPrice;
/**
* 价格区间最小值(单位分) (销售价)
*/
@JsonProperty("selling_price")
private Long sellingPrice;
/**
* 剩余库存
*/
private Long stock;
/**
* 商品来源店铺的appid(非带货商品才拥有)
*/
private String appid;
/**
* 商品详情页路径信息
*/
@JsonProperty("page_path")
private PagePath pagePath;
/**
* 商品所属电商平台ID
*/
@JsonProperty("platform_id")
private Long platformId;
/**
* 商品所属电商平台名
*/
@JsonProperty("platform_name")
private String platformName;
/**
* 是否在个人橱窗页隐藏
*/
@JsonProperty("is_hide_for_window")
private Boolean isHideForWindow;
/**
* 商品是否处于禁止售卖的状态
*/
private Boolean banned;
/**
* 禁售原因及申请相关信息
*/
@JsonProperty("banned_details")
private BannedDetails bannedDetails;
/**
* 分店信息
*/
@JsonProperty("branch_info")
private BranchInfo branchInfo;
/**
* 抢购活动信息
*/
@JsonProperty("limit_discount_info")
private LimitDiscountInfo limitDiscountInfo;
}
/**
* 商品详情页路径信息
*/
@Data
public static class PagePath {
/**
* 商品详情半屏页、全屏页所属appid
*/
private String appid;
/**
* 商品详情半屏页path
*/
@JsonProperty("half_page_path")
private String halfPagePath;
/**
* 商品详情全屏页path
*/
@JsonProperty("full_page_path")
private String fullPagePath;
}
/**
* 商品禁售原因及申请相关信息
*/
@Data
public static class BannedDetails {
/**
* 禁售原因
* 0 三级类目在橱窗禁售 或 商品在来源处被禁售
* 1 商品属于可申请售卖的类目,但商家未完成申请
* 2 商品所属分店未处于营业状态
*/
private Integer reason;
/**
* 需要申请的类目ID
*/
@JsonProperty("need_apply_category_id")
private String needApplyCategoryId;
/**
* 需要申请的类目名
*/
@JsonProperty("need_apply_category_name")
private String needApplyCategoryName;
}
/**
* 分店信息
*/
@Data
public static class BranchInfo {
/**
* 分店ID
*/
@JsonProperty("branch_id")
private Long branchId;
/**
* 分店名
*/
@JsonProperty("branch_name")
private String branchName;
/**
* 分店状态
* 0 营业中
* 1 停业
*/
@JsonProperty("branch_status")
private Integer branchStatus;
}
/**
* 抢购活动信息
*/
@Data
public static class LimitDiscountInfo {
/**
* 是否有生效中的抢购活动
*/
@JsonProperty("is_effect")
private Boolean isEffect;
/**
* 抢购价
*/
@JsonProperty("discount_price")
private Long discountPrice;
/**
* 抢购活动结束时间(毫秒时间戳)
*/
@JsonProperty("end_time_ms")
private String endTimeMs;
/**
* 抢购剩余库存
*/
private Long stock;
}
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/window/request/GetWindowProductListRequest.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/window/request/GetWindowProductListRequest.java | package me.chanjar.weixin.channel.bean.window.request;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 获取账号收集的留资数据详情
* @author imyzt
* @date 2024/01/27
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class GetWindowProductListRequest {
/**
* 用于指定查询某个店铺来源的商品
*/
@JsonProperty("appid")
private String appid;
/**
* 用于指定查询属于某个分店ID下的商品
*/
@JsonProperty("branch_id")
private int branchId;
/**
* 单页商品数(不超过200)
*/
@JsonProperty("page_size")
private int pageSize;
/**
* 页面下标,下标从1开始,默认为1
*/
@JsonProperty("page_index")
private int pageIndex;
/**
* 由上次请求返回,顺序翻页时需要传入,会从上次返回的结果往后翻一页(填了该值后page_index不生效)
*/
@JsonProperty("last_buffer")
private String lastBuffer;
/**
* 是否需要返回满足筛选条件的商品总数
*/
@JsonProperty("need_total_num")
private int needTotalNum;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/window/request/AddWindowProductRequest.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/window/request/AddWindowProductRequest.java | package me.chanjar.weixin.channel.bean.window.request;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 上架商品到橱窗
* @author imyzt
* @date 2024/01/27
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class AddWindowProductRequest {
/**
* 橱窗商品ID
*/
@JsonProperty("product_id")
private String productId;
/**
* 商品来源店铺的appid
*/
@JsonProperty("appid")
private String appid;
/**
* 是否需要在个人橱窗页隐藏 (默认为false)
*/
@JsonProperty("is_hide_for_window")
private Boolean isHideForWindow;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/window/request/WindowProductRequest.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/window/request/WindowProductRequest.java | package me.chanjar.weixin.channel.bean.window.request;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 橱窗商品
* @author imyzt
* @date 2024/01/27
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class WindowProductRequest {
/**
* 橱窗商品ID
*/
@JsonProperty("product_id")
private String productId;
/**
* 商品来源店铺的appid
*/
@JsonProperty("appid")
private String appid;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/BrandParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/BrandParam.java | package me.chanjar.weixin.channel.bean.brand;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 品牌参数
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BrandParam implements Serializable {
private static final long serialVersionUID = -4894709391464428613L;
/** 品牌信息 */
@JsonProperty("brand")
private Brand brand;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/BasicBrand.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/BasicBrand.java | package me.chanjar.weixin.channel.bean.brand;
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 BasicBrand implements Serializable {
private static final long serialVersionUID = -1991771439710177859L;
/** 品牌库中的品牌编号(Long) */
@JsonProperty("brand_id")
private String brandId;
/** 品牌商标中文名 */
@JsonProperty("ch_name")
private String chName;
/** 品牌商标英文名 */
@JsonProperty("en_name")
private String enName;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/BrandApplicationDetail.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/BrandApplicationDetail.java | package me.chanjar.weixin.channel.bean.brand;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 商标申请信息
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
public class BrandApplicationDetail implements Serializable {
private static final long serialVersionUID = 2145344855482129473L;
/** 商标申请受理时间, TM标时必填 */
@JsonProperty("acceptance_time")
private Long acceptanceTime;
/** 商标注册申请受理书file_id, TM标时必填, 限制最多传1张, 需要先调用“资质上传”接口上传资质图片 */
@JsonProperty("acceptance_certification")
private List<String> acceptanceCertification;
/** 商标申请号, TM标时必填 */
@JsonProperty("acceptance_no")
private String acceptanceNo;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/BrandGrantDetail.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/BrandGrantDetail.java | package me.chanjar.weixin.channel.bean.brand;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 商标授权信息
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
public class BrandGrantDetail implements Serializable {
private static final long serialVersionUID = 3537812707384823606L;
/** 品牌销售授权书的file_id, 授权品牌必填, 限制最多传9张, 需要先调用“资质上传”接口上传资质图片 */
@JsonProperty("grant_certifications")
private List<String> grantCertifications;
/** 授权级数, 授权品牌必填, 取值1-3 */
@JsonProperty("grant_level")
private Integer grantLevel;
/** 授权有效期, 开始时间, 长期有效可不填 */
@JsonProperty("start_time")
private Long startTime;
/** 授权有效期, 结束时间, 长期有效可不填 */
@JsonProperty("end_time")
private Long endTime;
/** 是否长期有效 */
@JsonProperty("is_permanent")
private boolean permanent;
/** 品牌权利人证件照的file_id, 限制最多传2张, 需要先调用“资质上传”接口上传资质图片 */
@JsonProperty("brand_owner_id_photos")
private List<String> brandOwnerIdPhotos;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/Brand.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/Brand.java | package me.chanjar.weixin.channel.bean.brand;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
/**
* 品牌信息
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Brand extends BasicBrand {
private static final long serialVersionUID = 4648597514861057019L;
/** 商标分类号, 取值范围1-45 */
@JsonProperty("classification_no")
private String classificationNo;
/** 商标类型, 取值1:R标; 2: TM标 */
@JsonProperty("trade_mark_symbol")
private Integer tradeMarkSymbol;
/** 商标注册信息 */
@JsonProperty("register_details")
private BrandRegisterDetail registerDetail;
/** 商标申请信息 */
@JsonProperty("application_details")
private BrandApplicationDetail applicationDetail;
/** 商标授权信息, 取值1:自有品牌; 2: 授权品牌 */
@JsonProperty("grant_type")
private Integer grantType;
/** 授权品牌信息 */
@JsonProperty("grant_details")
private BrandGrantDetail grantDetail;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/BrandSearchParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/BrandSearchParam.java | package me.chanjar.weixin.channel.bean.brand;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import me.chanjar.weixin.channel.bean.base.StreamPageParam;
/**
* 品牌搜索参数
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BrandSearchParam extends StreamPageParam {
private static final long serialVersionUID = 5961201403338269712L;
/** 审核单状态, 不填默认拉全部商品 */
@JsonProperty("status")
private Integer status;
public BrandSearchParam() {
}
public BrandSearchParam(Integer pageSize, String nextKey, Integer status) {
super(pageSize, nextKey);
this.status = status;
}
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/BrandApplyListResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/BrandApplyListResponse.java | package me.chanjar.weixin.channel.bean.brand;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* 品牌申请列表响应
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class BrandApplyListResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = 243021267020609148L;
/** 品牌资质申请信息 */
@JsonProperty("brands")
private List<BasicBrand> brands;
/** 本次翻页的上下文,用于请求下一页 */
@JsonProperty("next_key")
private String nextKey;
/** 品牌资质总数 */
@JsonProperty("total_num")
private Integer totalNum;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/BrandInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/BrandInfo.java | package me.chanjar.weixin.channel.bean.brand;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
/**
* 品牌信息
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class BrandInfo extends Brand {
private static final long serialVersionUID = 5464505958132626159L;
/** 申请单状态 1审核中 2审核失败 3已生效 4已撤回 5即将过期(不影响商品售卖) 6已过期 */
@JsonProperty("status")
private Integer status;
/** 创建时间 */
@JsonProperty("create_time")
private Long createTime;
/** 更新时间 */
@JsonProperty("update_time")
private Long updateTime;
/** 审核结果 */
@JsonProperty("audit_result")
private AuditResult auditResult;
/** 审核结果 */
@Data
@NoArgsConstructor
public static class AuditResult implements Serializable {
private static final long serialVersionUID = 3936802571381636820L;
/** 提审的审核单ID */
@JsonProperty("audit_id")
private String auditId;
/** 审核不通过的原因, 审核成功不返回 */
@JsonProperty("reject_reason")
private String rejectReason;
}
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/BrandListResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/BrandListResponse.java | package me.chanjar.weixin.channel.bean.brand;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* 品牌列表响应
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class BrandListResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = -5335449078706304920L;
/** 品牌库中的品牌信息 */
@JsonProperty("brands")
private List<BasicBrand> brands;
/** 本次翻页的上下文,用于请求下一页 */
@JsonProperty("next_key")
private String nextKey;
/** 是否还有下一页内容 */
@JsonProperty("continue_flag")
private boolean continueFlag;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/BrandRegisterDetail.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/BrandRegisterDetail.java | package me.chanjar.weixin.channel.bean.brand;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 品牌注册信息
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
public class BrandRegisterDetail implements Serializable {
private static final long serialVersionUID = 1169957179510362405L;
/** 商标注册人, R标时必填 */
@JsonProperty("registrant")
private String registrant;
/** 商标注册号, R标时必填 */
@JsonProperty("register_no")
private String registerNo;
/** 商标注册有效期(时间戳秒), 开始时间, 长期有效可不填 */
@JsonProperty("start_time")
private Long startTime;
/** 商标注册有效期(时间戳秒), 结束时间, 长期有效可不填 */
@JsonProperty("end_time")
private Long endTime;
/** 是否长期有效 */
@JsonProperty("is_permanent")
private boolean permanent;
/** 商标注册证的file_id, R标时必填, 限制最多传1张, 需要先调用“资质上传”接口上传资质图片 */
@JsonProperty("register_certifications")
private List<String> registerCertifications;
/** 变更/续展证明的file_id, 限制最多传5张, 需要先调用“资质上传”接口上传资质图片 */
@JsonProperty("renew_certifications")
private List<String> renewCertifications;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/BrandInfoResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/brand/BrandInfoResponse.java | package me.chanjar.weixin.channel.bean.brand;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* 品牌响应
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class BrandInfoResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = 2105745692451683517L;
/** 品牌信息 */
@JsonProperty("brand")
private BrandInfo brand;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/NotSendArea.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/NotSendArea.java | package me.chanjar.weixin.channel.bean.freight;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
/**
* 不发货区域
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class NotSendArea extends AddressInfoList {
private static final long serialVersionUID = -1836467830293286560L;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/TemplateInfoResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/TemplateInfoResponse.java | package me.chanjar.weixin.channel.bean.freight;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* 运费模板 响应
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class TemplateInfoResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = -8381510839783330617L;
/** 运费模板id */
@JsonProperty("freight_template")
private FreightTemplate template;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/AllFreightCalcMethod.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/AllFreightCalcMethod.java | package me.chanjar.weixin.channel.bean.freight;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import lombok.Data;
/**
* 具体计费方法,默认运费,指定地区运费等
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
public class AllFreightCalcMethod implements Serializable {
private static final long serialVersionUID = 6330919525271991949L;
/** 计算方法列表 */
@JsonProperty("freight_calc_method_list")
private List<FreightCalcMethod> list;
public AllFreightCalcMethod() {
}
public void addDetail(FreightCalcMethod detail) {
if (list == null) {
list = new ArrayList<>(16);
}
list.add(detail);
}
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/AllConditionFreeDetail.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/AllConditionFreeDetail.java | package me.chanjar.weixin.channel.bean.freight;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 计费规则列表
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
public class AllConditionFreeDetail implements Serializable {
private static final long serialVersionUID = -1649520737632417036L;
/** 计费规则列表 */
@JsonProperty("condition_free_detail_list")
private List<ConditionFreeDetail> list;
@JsonIgnore
public void addDetail(ConditionFreeDetail detail) {
if (list == null) {
list = new ArrayList<>(16);
}
list.add(detail);
}
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/TemplateAddParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/TemplateAddParam.java | package me.chanjar.weixin.channel.bean.freight;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 运费模板 请求参数
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(Include.NON_NULL)
public class TemplateAddParam implements Serializable {
private static final long serialVersionUID = 2602919369418149309L;
/** 起始位置 */
@JsonProperty("freight_template")
private FreightTemplate template;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/TemplateListParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/TemplateListParam.java | package me.chanjar.weixin.channel.bean.freight;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import lombok.Data;
import lombok.EqualsAndHashCode;
import me.chanjar.weixin.channel.bean.base.OffsetParam;
/**
* 运费模板 列表 请求参数
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@JsonInclude(Include.NON_NULL)
@EqualsAndHashCode(callSuper = true)
public class TemplateListParam extends OffsetParam {
private static final long serialVersionUID = -6716154891499581562L;
public TemplateListParam() {
}
public TemplateListParam(Integer offset, Integer limit) {
super(offset, limit);
}
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/FreightCalcMethod.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/FreightCalcMethod.java | package me.chanjar.weixin.channel.bean.freight;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
/**
* 运费计算方法
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class FreightCalcMethod extends AddressInfoList {
private static final long serialVersionUID = -8857987538121721376L;
/** 是否默认运费 */
@JsonProperty("is_default")
private Boolean isDefault;
/** 快递公司 */
@JsonProperty("delivery_id")
private String deliveryId;
/** 首段运费需要满足的数量 */
@JsonProperty("first_val_amount")
private Integer firstValAmount;
/** 首段运费的金额 */
@JsonProperty("first_price")
private Integer firstPrice;
/** 续费的数量 */
@JsonProperty("second_val_amount")
private Integer secondValAmount;
/** 续费的金额 */
@JsonProperty("second_price")
private Integer secondPrice;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/ConditionFreeDetail.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/ConditionFreeDetail.java | package me.chanjar.weixin.channel.bean.freight;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
/**
* 计费规则
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class ConditionFreeDetail extends AddressInfoList {
private static final long serialVersionUID = 9204578767029379142L;
/** 最低件数 */
@JsonProperty("min_piece")
private Integer minPiece;
/** 最低重量,单位千克,订单商品总质量小于一千克,算作一千克 */
@JsonProperty("min_weight")
private Double minWeight;
/** 最低金额,单位(分) */
@JsonProperty("min_amount")
private Integer minAmount;
/** 计费方式对应的选项是否已设置 */
@JsonProperty("valuation_flag")
private Integer valuationFlag;
/** 金额是否设置 */
@JsonProperty("amount_flag")
private Integer amountFlag;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/AddressInfoList.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/AddressInfoList.java | package me.chanjar.weixin.channel.bean.freight;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
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 AddressInfoList implements Serializable {
private static final long serialVersionUID = 5923805297331862706L;
/** 地址列表 */
@JsonProperty("address_infos")
private List<AddressInfo> addressInfos;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/TemplateIdResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/TemplateIdResponse.java | package me.chanjar.weixin.channel.bean.freight;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* 运费模板 列表 响应
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class TemplateIdResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = 5179651364165620640L;
/** 运费模板id */
@JsonProperty("template_id")
private String templateId;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/FreightTemplate.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/FreightTemplate.java | package me.chanjar.weixin.channel.bean.freight;
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 FreightTemplate implements Serializable {
private static final long serialVersionUID = -7876281924385999053L;
/** 模板id */
@JsonProperty("template_id")
private String templateId;
/** 模板名称 */
@JsonProperty("name")
private String name;
/** 计费类型,PIECE:按件数,WEIGHT:按重量 */
@JsonProperty("valuation_type")
private String valuationType;
/** 发货时间期限 {@link me.chanjar.weixin.channel.enums.SendTime} */
@JsonProperty("send_time")
private String sendTime;
/** 发货地址 */
@JsonProperty("address_info")
private AddressInfo addressInfo;
/** 运输方式,EXPRESS:快递 */
@JsonProperty("delivery_type")
private String deliveryType;
/** 计费方式:FREE包邮 CONDITION_FREE条件包邮 NO_FREE不包邮 */
@JsonProperty("shipping_method")
private String shippingMethod;
/** 条件包邮详情 */
@JsonProperty("all_condition_free_detail")
private AllConditionFreeDetail allConditionFreeDetail;
/** 具体计费方法,默认运费,指定地区运费等 */
@JsonProperty("all_freight_calc_method")
private AllFreightCalcMethod allFreightCalcMethod;
/** 创建时间戳 */
@JsonProperty("create_time")
private Long createTime;
/** 更新时间戳 */
@JsonProperty("update_time")
private Long updateTime;
/** 是否默认模板 */
@JsonProperty("is_default")
private Boolean isDefault;
/** 不发货区域 */
@JsonProperty("not_send_area")
private NotSendArea notSendArea;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/TemplateListResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/freight/TemplateListResponse.java | package me.chanjar.weixin.channel.bean.freight;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* 运费模板 列表 响应
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class TemplateListResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = 5375602442595264719L;
/** 运费模板 id 列表 */
@JsonProperty("template_id_list")
private List<String> ids;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/PriorityLocationParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/PriorityLocationParam.java | package me.chanjar.weixin.channel.bean.warehouse;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
/**
* 带优先级的仓库区域
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class PriorityLocationParam extends WarehouseLocation {
private static final long serialVersionUID = -3087702364669180903L;
/** 按照out_warehouse_id排序优先级从高到低 */
@JsonProperty("priority_sort")
private List<String> prioritySort;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/Warehouse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/Warehouse.java | package me.chanjar.weixin.channel.bean.warehouse;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 仓库
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
public class Warehouse implements Serializable {
private static final long serialVersionUID = -2322154583471063637L;
/** 外部仓库ID,一个店铺下,同一个外部ID只能创建一个仓库,最大32字符 */
@JsonProperty("out_warehouse_id")
private String outWarehouseId;
/** 仓库名称 */
@JsonProperty("name")
private String name;
/** 仓库介绍 */
@JsonProperty("intro")
private String intro;
/** 覆盖区域,可以在创建后添加 */
@JsonProperty("cover_locations")
private List<WarehouseLocation> coverLocations;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/WarehouseResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/WarehouseResponse.java | package me.chanjar.weixin.channel.bean.warehouse;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* 仓库响应
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
public class WarehouseResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = 3206095869486573824L;
/** 仓库库存 */
@JsonProperty("data")
private Warehouse data;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/UpdateLocationParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/UpdateLocationParam.java | package me.chanjar.weixin.channel.bean.warehouse;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 仓库区域
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UpdateLocationParam implements Serializable {
private static final long serialVersionUID = 6102771485047925091L;
/** 外部仓库ID */
@JsonProperty("out_warehouse_id")
private String outWarehouseId;
/** 覆盖区域 */
@JsonProperty("cover_locations")
private List<WarehouseLocation> coverLocations;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/WarehouseStockParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/WarehouseStockParam.java | package me.chanjar.weixin.channel.bean.warehouse;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.product.SkuStockParam;
/**
* 库存参数
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
public class WarehouseStockParam extends SkuStockParam {
private static final long serialVersionUID = -5121207621628542490L;
/** 外部仓库ID */
@JsonProperty("out_warehouse_id")
private String outWarehouseId;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/StockGetParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/StockGetParam.java | package me.chanjar.weixin.channel.bean.warehouse;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class StockGetParam implements Serializable {
private static final long serialVersionUID = -4144913434092446664L;
/** 商品ID */
@JsonProperty("product_id")
private String productId;
/** skuID */
@JsonProperty("sku_id")
private String skuId;
/** 外部仓库ID */
@JsonProperty("out_warehouse_id")
private String outWarehouseId;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/LocationPriorityResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/LocationPriorityResponse.java | package me.chanjar.weixin.channel.bean.warehouse;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* 仓库优先级响应
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class LocationPriorityResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = -4037484169497319150L;
/** 按照out_warehouse_id排序优先级从高到低 */
@JsonProperty("priority_sort")
private List<String> prioritySort;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/WarehouseLocation.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/WarehouseLocation.java | package me.chanjar.weixin.channel.bean.warehouse;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 仓库区域
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WarehouseLocation implements Serializable {
private static final long serialVersionUID = 1626579682640060352L;
/** 省份地址编码 */
@JsonProperty("address_id1")
private Integer addressId1;
/** 市地址编码 */
@JsonProperty("address_id2")
private Integer addressId2;
/** 区地址编码 */
@JsonProperty("address_id3")
private Integer addressId3;
/** 街道地址编码 */
@JsonProperty("address_id4")
private Integer addressId4;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/WarehouseStockResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/WarehouseStockResponse.java | package me.chanjar.weixin.channel.bean.warehouse;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
import lombok.Data;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* 仓库库存响应
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
public class WarehouseStockResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = 1810645965041317763L;
/** 仓库库存 */
@JsonProperty("num")
private Integer num;
public WarehouseStockResponse() {
}
@JsonProperty("data")
private void unpackNameFromNestedObject(Map<String, Object> map) {
if (map == null) {
return;
}
Object obj = map.get("num");
if (obj != null) {
this.num = (Integer) obj;
}
}
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/WarehouseParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/WarehouseParam.java | package me.chanjar.weixin.channel.bean.warehouse;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
/**
* 仓库
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class WarehouseParam extends Warehouse {
private static final long serialVersionUID = -3412047348380785225L;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/WarehouseIdsResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/WarehouseIdsResponse.java | package me.chanjar.weixin.channel.bean.warehouse;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.Map;
import lombok.Data;
import lombok.EqualsAndHashCode;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* 仓库id列表响应
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@EqualsAndHashCode(callSuper = true)
public class WarehouseIdsResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = 3974529583232187473L;
/** 外部仓库ID列表 */
@JsonProperty("out_warehouse_ids")
private List<String> ids;
/** 本次翻页的上下文,用于请求下一页,如果是空,则当前是最后一页 */
@JsonProperty("next_key")
private String nextKey;
public WarehouseIdsResponse() {
}
@JsonProperty("data")
private void unpackNameFromNestedObject(Map<String, Object> map) {
if (map == null) {
return;
}
Object obj = map.get("out_warehouse_ids");
if (obj != null) {
if (obj instanceof List) {
this.ids = (List<String>) obj;
}
}
obj = map.get("next_key");
if (obj != null) {
this.nextKey = (String) obj;
}
}
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/WarehouseLocationParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/warehouse/WarehouseLocationParam.java | package me.chanjar.weixin.channel.bean.warehouse;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import lombok.Data;
/**
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@JsonInclude(Include.NON_NULL)
public class WarehouseLocationParam extends WarehouseLocation {
private static final long serialVersionUID = 3347484433136057123L;
public WarehouseLocationParam() {
}
public WarehouseLocationParam(Integer addressId1, Integer addressId2, Integer addressId3, Integer addressId4) {
super(addressId1, addressId2, addressId3, addressId4);
}
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/cooperation/CooperationListResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/cooperation/CooperationListResponse.java | package me.chanjar.weixin.channel.bean.cooperation;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* 合作账号列表响应
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class CooperationListResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = 6998637882644598826L;
/** 合作账号列表 */
@JsonProperty("data_list")
private List<CooperationData> dataList;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/cooperation/CooperationData.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/cooperation/CooperationData.java | package me.chanjar.weixin.channel.bean.cooperation;
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 CooperationData implements Serializable {
private static final long serialVersionUID = 3930010847236599458L;
/** 合作账号id 公众号: gh_开头id 小程序: appid */
@JsonProperty("sharer_id")
private String sharerId;
/** 邀请/合作账号状态 1已绑定 2已解绑 3邀请已拒绝 4邀请接受中 5邀请接受超时 6邀请接受失败 7邀请店铺取消 */
@JsonProperty("status")
private Integer status;
/** 合作账号名称 */
@JsonProperty("sharer_name")
private String sharerName;
/** 合作账号类型 2公众号 3小程序 */
@JsonProperty("sharer_type")
private Integer sharerType;
/** 接受绑定时间戳,ms */
@JsonProperty("bind_time")
private Long bindTime;
/** 用户拒绝时间戳,ms */
@JsonProperty("reject_time")
private Long rejectTime;
/** 商家取消时间戳,ms */
@JsonProperty("cancel_time")
private Long cancelTime;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/cooperation/CooperationStatus.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/cooperation/CooperationStatus.java | package me.chanjar.weixin.channel.bean.cooperation;
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 CooperationStatus implements Serializable {
private static final long serialVersionUID = -7096916911986699150L;
/** 邀请/合作账号状态 1已绑定 2已解绑 3邀请已拒绝 4邀请接受中 5邀请接受超时 6邀请接受失败 7邀请店铺取消 */
@JsonProperty("status")
private Integer status;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/cooperation/CooperationSharerParam.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/cooperation/CooperationSharerParam.java | package me.chanjar.weixin.channel.bean.cooperation;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 合作账号参数
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CooperationSharerParam implements Serializable {
private static final long serialVersionUID = 5032621997764493109L;
/** 合作账号id */
@JsonProperty("sharer_id")
private String sharerId;
/** 合作账号类型 */
@JsonProperty("sharer_type")
private Integer sharerType;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/cooperation/CooperationQrCode.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/cooperation/CooperationQrCode.java | package me.chanjar.weixin.channel.bean.cooperation;
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 CooperationQrCode implements Serializable {
private static final long serialVersionUID = -7096916911986699150L;
/** base64编码后的图片数据 */
@JsonProperty("qrcode_base64")
private Integer qrCodeBase64;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/cooperation/CooperationQrCodeResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/cooperation/CooperationQrCodeResponse.java | package me.chanjar.weixin.channel.bean.cooperation;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* 合作账号二维码响应
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class CooperationQrCodeResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = 6998637882644598826L;
/** 合作账号二维码 */
@JsonProperty("data")
private CooperationQrCode data;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/cooperation/CooperationStatusResponse.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/cooperation/CooperationStatusResponse.java | package me.chanjar.weixin.channel.bean.cooperation;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* 合作账号状态响应
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class CooperationStatusResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = 6998637882644598826L;
/** 合作账号状态 */
@JsonProperty("data")
private CooperationStatus data;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/league/AddressInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/league/AddressInfo.java | package me.chanjar.weixin.channel.bean.league;
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 AddressInfo implements Serializable {
private static final long serialVersionUID = -5719456688033731919L;
/** 邮编 */
@JsonProperty("postal_code")
private String postalCode;
/** 国标收货地址第一级地址 */
@JsonProperty("province_name")
private String provinceName;
/** 国标收货地址第二级地址 */
@JsonProperty("city_name")
private String cityName;
/** 国标收货地址第三级地址 */
@JsonProperty("county_name")
private String countyName;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
binarywang/WxJava | https://github.com/binarywang/WxJava/blob/84b5c4d2d0774f800237634e5d0336f53c004fe3/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/league/SimpleProductInfo.java | weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/league/SimpleProductInfo.java | package me.chanjar.weixin.channel.bean.league;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.List;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 商品信息
*
* @author <a href="https://github.com/lixize">Zeyes</a>
*/
@Data
@NoArgsConstructor
public class SimpleProductInfo implements Serializable {
private static final long serialVersionUID = -2444641123422095497L;
/** 标题 */
@JsonProperty("title")
protected String title;
/** 副标题 */
@JsonProperty("sub_title")
protected String subTitle;
/** 主图,多张,列表,最多9张,每张不超过2MB */
@JsonProperty("head_imgs")
protected List<String> headImgs;
/** 商详信息 */
@JsonProperty("desc_info")
protected DescInfo descInfo;
/** 类目信息 */
@JsonProperty("cats")
protected List<CatInfo> cats;
}
| java | Apache-2.0 | 84b5c4d2d0774f800237634e5d0336f53c004fe3 | 2026-01-04T14:46:39.499027Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.