Issues (453)

src/Services/DocumentServiceInterface.php (4 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\GenerateAdditionalImageDocumentResponse;
16
use Etrias\PaazlConnector\SoapTypes\GenerateAdditionalPdfDocumentResponse;
17
use Etrias\PaazlConnector\SoapTypes\GeneratePdfCustomsDocumentsResponse;
18
use Etrias\PaazlConnector\SoapTypes\ProofOfDeliveryResponse;
19
20
interface DocumentServiceInterface
21
{
22
    /**
23
     * @param $orderReference
24
     * @param $barcode
25
     * @param $documentType
26
     * @param null $printer
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $printer 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...
27
     * @param null $targetWebShop
28
     *
29
     * @return GenerateAdditionalPdfDocumentResponse
30
     */
31
    public function generateAdditionalPdfDocument(
32
        $orderReference,
33
        $barcode,
34
        $documentType,
35
        $printer = null,
36
        $targetWebShop = null
37
    );
38
39
    /**
40
     * @param $orderReference
41
     * @param $barcode
42
     * @param $documentType
43
     * @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...
44
     *
45
     * @return GenerateAdditionalImageDocumentResponse
46
     */
47
    public function generateAdditionalImageDocument($orderReference, $barcode, $documentType, $targetWebShop = null);
48
49
    /**
50
     * @param array $orderReferences
51
     * @param $targetWebShop
52
     *
53
     * @return GeneratePdfCustomsDocumentsResponse
54
     */
55
    public function generatePdfCustomsDocuments(array $orderReferences, $targetWebShop = null);
56
57
    /**
58
     * @param $barcode
59
     * @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...
60
     *
61
     * @return ProofOfDeliveryResponse
62
     */
63
    public function getProofOfDelivery($barcode, $targetWebShop = null);
64
}
65