@@ 34-43 (lines=10) @@ | ||
31 | $this->serializer = $serializer; |
|
32 | } |
|
33 | ||
34 | public function poolStatus(string $token, string $orderId, string $orderLineId): PoolStatusResponse |
|
35 | { |
|
36 | $result = $this->request($token, 'GET', '/api/poolStatus', [ |
|
37 | 'orderId' => $orderId, |
|
38 | 'orderLineId' => $orderLineId, |
|
39 | ]); |
|
40 | ||
41 | /* @noinspection PhpIncompatibleReturnTypeInspection */ |
|
42 | return $this->serializer->deserialize(PoolStatusResponse::class, $result); |
|
43 | } |
|
44 | ||
45 | public function codes(string $token, string $orderId, string $orderLineId, int $quantity): array |
|
46 | { |
@@ 33-47 (lines=15) @@ | ||
30 | $this->serializer = $serializer; |
|
31 | } |
|
32 | ||
33 | public function getICBufferStatus( |
|
34 | string $token, |
|
35 | string $omsId, |
|
36 | string $orderId, |
|
37 | string $gtin |
|
38 | ): GetICBufferStatusResponse { |
|
39 | $result = $this->request($token, 'GET', '/api/v2/buffer/status', [ |
|
40 | 'omsId' => $omsId, |
|
41 | 'orderId' => $orderId, |
|
42 | 'gtin' => $gtin, |
|
43 | ]); |
|
44 | ||
45 | /* @noinspection PhpIncompatibleReturnTypeInspection */ |
|
46 | return $this->serializer->deserialize(GetICBufferStatusResponse::class, $result); |
|
47 | } |
|
48 | ||
49 | public function getICsFromOrder( |
|
50 | string $token, |
|
@@ 69-79 (lines=11) @@ | ||
66 | return $this->serializer->deserialize(GetICsFromOrderResponse::class, $result); |
|
67 | } |
|
68 | ||
69 | public function closeICArray(string $token, string $omsId, string $orderId, string $gtin): CloseICArrayResponse |
|
70 | { |
|
71 | $result = $this->request($token, 'GET', '/api/v2/buffer/close', [ |
|
72 | 'omsId' => $omsId, |
|
73 | 'orderId' => $orderId, |
|
74 | 'gtin' => $gtin, |
|
75 | ]); |
|
76 | ||
77 | /* @noinspection PhpIncompatibleReturnTypeInspection */ |
|
78 | return $this->serializer->deserialize(CloseICArrayResponse::class, $result); |
|
79 | } |
|
80 | ||
81 | /** |
|
82 | * @throws OmsRequestErrorException |