GetStockInventoryRequest.php
948 字节
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
namespace Lackoxygen\TopWarehouse\Request\Inventory;
use Lackoxygen\TopWarehouse\Constants\WarehouseCode;
use Lackoxygen\TopWarehouse\Request\Request;
class GetStockInventoryRequest extends Request
{
/**
* @see WarehouseCode::TABLE_CODE
* 仓库编码
*
* @var string
*/
public $warehouse_id;
/**
*
* 商品编码,(多个以,号隔开)
*
* @var string
*/
public $goods_id;
/**
*通过发布单表体ID,去匹配商品有效期规则编码,该商品会按照此有效期规则出仓
*
* @var string|null
*/
public $deliveryItemId;
/**
* 代发:2
*
* @var string
*/
public $type;
protected function initialize(): void
{
$this->contentType = 'application/json';
$this->method = 'POST';
$this->path = '/inventory.do?method=epass.wms.stock.inventory.get';
}
}