public class WxChannelWarehouseServiceImpl extends Object implements WxChannelWarehouseService
| 构造器和说明 |
|---|
WxChannelWarehouseServiceImpl(BaseWxChannelServiceImpl shopService) |
| 限定符和类型 | 方法和说明 |
|---|---|
WxChannelBaseResponse |
addWarehouseArea(String outWarehouseId,
List<WarehouseLocation> coverLocations)
批量增加覆盖区域
|
WxChannelBaseResponse |
createWarehouse(WarehouseParam param)
创建仓库
|
WxChannelBaseResponse |
deleteWarehouseArea(String outWarehouseId,
List<WarehouseLocation> coverLocations)
批量删除覆盖区域
|
WarehouseResponse |
getWarehouse(String outWarehouseId)
获取仓库详情
|
LocationPriorityResponse |
getWarehousePriority(Integer addressId1,
Integer addressId2,
Integer addressId3,
Integer addressId4)
获取指定地址下的仓的优先级
|
WarehouseStockResponse |
getWarehouseStock(String productId,
String skuId,
String outWarehouseId)
获取区域仓库存数量
|
WarehouseIdsResponse |
listWarehouse(Integer pageSize,
String nextKey)
查询仓库列表
|
WxChannelBaseResponse |
setWarehousePriority(PriorityLocationParam param)
设置指定地址下的仓的优先级
|
WxChannelBaseResponse |
updateWarehouse(String outWarehouseId,
String name,
String intro)
修改仓库详情
|
WxChannelBaseResponse |
updateWarehouseStock(WarehouseStockParam param)
更新区域仓库存数量
|
public WxChannelWarehouseServiceImpl(BaseWxChannelServiceImpl shopService)
public WxChannelBaseResponse createWarehouse(WarehouseParam param) throws WxErrorException
WxChannelWarehouseServicecreateWarehouse 在接口中 WxChannelWarehouseServiceparam - 仓库信息WxErrorException - 异常public WarehouseIdsResponse listWarehouse(Integer pageSize, String nextKey) throws WxErrorException
WxChannelWarehouseServicelistWarehouse 在接口中 WxChannelWarehouseServicepageSize - 每页数量(最大不超过10)nextKey - 由上次请求返回,记录翻页的上下文。传入时会从上次返回的结果往后翻一页,不传默认拉取第一页数据WxErrorException - 异常public WarehouseResponse getWarehouse(String outWarehouseId) throws WxErrorException
WxChannelWarehouseServicegetWarehouse 在接口中 WxChannelWarehouseServiceoutWarehouseId - 外部仓库IDWxErrorException - 异常public WxChannelBaseResponse updateWarehouse(String outWarehouseId, String name, String intro) throws WxErrorException
WxChannelWarehouseServiceupdateWarehouse 在接口中 WxChannelWarehouseServiceoutWarehouseId - 外部仓库IDname - 仓库名称intro - 仓库介绍WxErrorException - 异常public WxChannelBaseResponse addWarehouseArea(String outWarehouseId, List<WarehouseLocation> coverLocations) throws WxErrorException
WxChannelWarehouseServiceaddWarehouseArea 在接口中 WxChannelWarehouseServiceoutWarehouseId - 外部仓库IDcoverLocations - 覆盖区域WxErrorException - 异常public WxChannelBaseResponse deleteWarehouseArea(String outWarehouseId, List<WarehouseLocation> coverLocations) throws WxErrorException
WxChannelWarehouseServicedeleteWarehouseArea 在接口中 WxChannelWarehouseServiceoutWarehouseId - 外部仓库IDcoverLocations - 覆盖区域WxErrorException - 异常public WxChannelBaseResponse setWarehousePriority(PriorityLocationParam param) throws WxErrorException
WxChannelWarehouseServicesetWarehousePriority 在接口中 WxChannelWarehouseServiceparam - 参数WxErrorException - 异常public LocationPriorityResponse getWarehousePriority(Integer addressId1, Integer addressId2, Integer addressId3, Integer addressId4) throws WxErrorException
WxChannelWarehouseServicegetWarehousePriority 在接口中 WxChannelWarehouseServiceaddressId1 - 省份地址编码addressId2 - 市地址编码addressId3 - 区地址编码addressId4 - 街道地址编码WxErrorException - 异常public WxChannelBaseResponse updateWarehouseStock(WarehouseStockParam param) throws WxErrorException
WxChannelWarehouseServiceupdateWarehouseStock 在接口中 WxChannelWarehouseServiceparam - 参数WxErrorException - 异常public WarehouseStockResponse getWarehouseStock(String productId, String skuId, String outWarehouseId) throws WxErrorException
WxChannelWarehouseServicegetWarehouseStock 在接口中 WxChannelWarehouseServiceproductId - 商品IDskuId - 商品skuIdoutWarehouseId - 外部仓库IDWxErrorException - 异常Copyright © 2025. All rights reserved.