Issues (453)

src/Services/BatchServiceInterface.php (7 issues)

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\PaazlConnector\Services;
14
15
use Etrias\PaazlConnector\SoapTypes\BatchStatusResponse;
16
use Etrias\PaazlConnector\SoapTypes\CloseBatchResponse;
17
use Etrias\PaazlConnector\SoapTypes\ListOpenBatchesResponse;
18
use Etrias\PaazlConnector\SoapTypes\OpenBatchResponse;
19
20
interface BatchServiceInterface
21
{
22
    /**
23
     * @param null $distributor
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $country is correct as it would always require null to be passed?
Loading history...
Documentation Bug introduced by
Are you sure the doc-type for parameter $distributor is correct as it would always require null to be passed?
Loading history...
Documentation Bug introduced by
Are you sure the doc-type for parameter $shippingOption is correct as it would always require null to be passed?
Loading history...
Documentation Bug introduced by
Are you sure the doc-type for parameter $targetWebShop is correct as it would always require null to be passed?
Loading history...
24
     * @param null $shippingOption
25
     * @param null $country
26
     * @param null $targetWebShop
27
     *
28
     * @return OpenBatchResponse
29
     */
30
    public function openBatch($distributor = null, $shippingOption = null, $country = null, $targetWebShop = null);
31
32
    /**
33
     * @param $batchId
34
     * @param null $targetWebShop
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $targetWebShop is correct as it would always require null to be passed?
Loading history...
35
     *
36
     * @return CloseBatchResponse
37
     */
38
    public function closeBatch($batchId, $targetWebShop = null);
39
40
    /**
41
     * @param $batchId
42
     * @param null $targetWebShop
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $targetWebShop is correct as it would always require null to be passed?
Loading history...
43
     *
44
     * @return BatchStatusResponse
45
     */
46
    public function getBatchStatus($batchId, $targetWebShop = null);
47
48
    /**
49
     * @param null $targetWebShop
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $targetWebShop is correct as it would always require null to be passed?
Loading history...
50
     *
51
     * @return ListOpenBatchesResponse
52
     */
53
    public function listOpenBatches($targetWebShop = null);
54
}
55