etrias-nl /
ewarehousing-connector
| 1 | <?php |
||
| 2 | |||
| 3 | /* |
||
| 4 | * This file is part of PHP CS Fixer. |
||
| 5 | * |
||
| 6 | * (c) Fabien Potencier <[email protected]> |
||
| 7 | * Dariusz RumiĆski <[email protected]> |
||
| 8 | * |
||
| 9 | * This source file is subject to the MIT license that is bundled |
||
| 10 | * with this source code in the file LICENSE. |
||
| 11 | */ |
||
| 12 | |||
| 13 | namespace Etrias\EwarehousingConnector\Services; |
||
| 14 | |||
| 15 | use DateTime; |
||
| 16 | use Etrias\EwarehousingConnector\Response\InboundResponse; |
||
| 17 | use Etrias\EwarehousingConnector\Response\SuccessResponse; |
||
| 18 | use Etrias\EwarehousingConnector\Types\InboundLine; |
||
| 19 | |||
| 20 | interface InboundServiceInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @param DateTime $from |
||
| 24 | * @param DateTime|null $to |
||
| 25 | * @param int $page |
||
| 26 | * @param null $sort |
||
|
0 ignored issues
–
show
Documentation
Bug
introduced
by
Loading history...
|
|||
| 27 | * @param null $direction |
||
|
0 ignored issues
–
show
|
|||
| 28 | * |
||
| 29 | * @return InboundResponse[] |
||
| 30 | */ |
||
| 31 | public function getListing(DateTime $from, DateTime $to = null, $page = 1, $sort = null, $direction = null); |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param $reference |
||
| 35 | * @param InboundLine[] $lines |
||
| 36 | * |
||
| 37 | * @return SuccessResponse |
||
| 38 | */ |
||
| 39 | public function createInbound($reference, array $lines); |
||
| 40 | } |
||
| 41 |