Issues (453)

src/Services/LabelServiceInterface.php (33 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\GenerateExtraImageLabelResponse;
16
use Etrias\PaazlConnector\SoapTypes\GenerateExtraImageReturnLabelResponse;
17
use Etrias\PaazlConnector\SoapTypes\GenerateExtraPdfLabelResponse;
18
use Etrias\PaazlConnector\SoapTypes\GenerateExtraPdfReturnLabelResponse;
19
use Etrias\PaazlConnector\SoapTypes\GenerateImageLabelsResponse;
20
use Etrias\PaazlConnector\SoapTypes\GenerateImageReturnLabelsResponse;
21
use Etrias\PaazlConnector\SoapTypes\GeneratePdfLabelsResponse;
22
use Etrias\PaazlConnector\SoapTypes\GeneratePdfReturnLabelsResponse;
23
use Etrias\PaazlConnector\SoapTypes\GenerateZplLabelsResponse;
24
use Etrias\PaazlConnector\SoapTypes\GetExistingImageLabelResponse;
25
use Etrias\PaazlConnector\SoapTypes\GetExistingPdfLabelResponse;
26
use Etrias\PaazlConnector\SoapTypes\GetExistingPdfLabelsResponse;
27
use Etrias\PaazlConnector\SoapTypes\LabelType;
28
29
interface LabelServiceInterface
30
{
31
    /**
32
     * @param string[] $orderReferences
33
     * @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...
Documentation Bug introduced by
Are you sure the doc-type for parameter $batch 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 $includeMetaData is correct as it would always require null to be passed?
Loading history...
34
     * @param null     $includeMetaData
35
     * @param null     $batch
36
     * @param null     $targetWebShop
37
     *
38
     * @return GeneratePdfLabelsResponse
39
     */
40
    public function generatePdfLabels(
41
        array $orderReferences,
42
        $printer = null,
43
        $includeMetaData = null,
44
        $batch = null,
45
        $targetWebShop = null
46
    );
47
48
    /**
49
     * @param $orderReference
50
     * @param null $printer
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...
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 $batch 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 $includeMetaData is correct as it would always require null to be passed?
Loading history...
51
     * @param null $includeMetaData
52
     * @param null $batch
53
     * @param null $targetWebShop
54
     *
55
     * @return GenerateExtraPdfLabelResponse
56
     */
57
    public function generateExtraPdfLabel(
58
        $orderReference,
59
        $printer = null,
60
        $includeMetaData = null,
61
        $batch = null,
62
        $targetWebShop = null
63
    );
64
65
    /**
66
     * @param array $orderReferences
67
     * @param $shippingOption
68
     * @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...
69
     * @param null $targetWebShop
70
     *
71
     * @return GeneratePdfReturnLabelsResponse
72
     */
73
    public function generatePdfReturnLabels(
74
        array $orderReferences,
75
        $shippingOption = null,
76
        $printer = null,
77
        $targetWebShop = null
78
    );
79
80
    /**
81
     * @param $orderReference
82
     * @param $shippingOption
83
     * @param null $printer
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...
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...
84
     * @param null $targetWebShop
85
     *
86
     * @return GenerateExtraPdfReturnLabelResponse
87
     */
88
    public function generateExtraPdfReturnLabel(
89
        $orderReference,
90
        $shippingOption,
91
        $printer = null,
92
        $targetWebShop = null
93
    );
94
95
    /**
96
     * @param array $orderReferences
97
     * @param null  $includeMetaData
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $batch 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...
Documentation Bug introduced by
Are you sure the doc-type for parameter $includeMetaData is correct as it would always require null to be passed?
Loading history...
98
     * @param null  $batch
99
     * @param null  $targetWebShop
100
     *
101
     * @return GenerateImageLabelsResponse
102
     */
103
    public function generateImageLabels(
104
        array $orderReferences,
105
        $includeMetaData = null,
106
        $batch = null,
107
        $targetWebShop = null
108
    );
109
110
    /**
111
     * @param array $orderReferences
112
     * @param $shippingOption
113
     * @param null $printer
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...
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...
114
     * @param null $targetWebShop
115
     *
116
     * @return GenerateImageReturnLabelsResponse
117
     */
118
    public function generateImageReturnLabels(
119
        array $orderReferences,
120
        $shippingOption,
121
        $printer = null,
122
        $targetWebShop = null
123
    );
124
125
    /**
126
     * @param $orderReference
127
     * @param $shippingOption
128
     * @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...
129
     *
130
     * @return GenerateExtraImageReturnLabelResponse
131
     */
132
    public function generateExtraImageReturnLabel($orderReference, $shippingOption, $targetWebShop = null);
133
134
    /**
135
     * @param $orderReference
136
     * @param null $includeMetaData
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $batch 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...
Documentation Bug introduced by
Are you sure the doc-type for parameter $includeMetaData is correct as it would always require null to be passed?
Loading history...
137
     * @param null $batch
138
     * @param null $targetWebShop
139
     *
140
     * @return GenerateExtraImageLabelResponse
141
     */
142
    public function generateExtraImageLabel(
143
        $orderReference,
144
        $includeMetaData = null,
145
        $batch = null,
146
        $targetWebShop = null
147
    );
148
149
    /**
150
     * @param array $orderReferences
151
     * @param null  $printer
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $includeMetaData 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...
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 $batch is correct as it would always require null to be passed?
Loading history...
152
     * @param null  $includeMetaData
153
     * @param null  $batch
154
     * @param null  $targetWebShop
155
     *
156
     * @return GenerateZplLabelsResponse
157
     */
158
    public function generateZplLabels(
159
        array $orderReferences,
160
        $printer = null,
161
        $includeMetaData = null,
162
        $batch = null,
163
        $targetWebShop = null
164
    );
165
166
    /**
167
     * @param $orderReference
168
     * @param $barCode
169
     * @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...
Documentation Bug introduced by
Are you sure the doc-type for parameter $includeMetaData is correct as it would always require null to be passed?
Loading history...
170
     * @param null $includeMetaData
171
     * @param null $targetWebShop
172
     *
173
     * @return GetExistingPdfLabelResponse
174
     */
175
    public function getExistingPdfLabel(
176
        $orderReference,
177
        $barCode,
178
        $printer = null,
179
        $includeMetaData = null,
180
        $targetWebShop = null
181
    );
182
183
    /**
184
     * @param LabelType[] $labelTypes
185
     * @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 $includeMetaData is correct as it would always require null to be passed?
Loading history...
186
     * @param null        $includeMetaData
187
     *
188
     * @return GetExistingPdfLabelsResponse
189
     */
190
    public function getExistingPdfLabels(array $labelTypes, $printer = null, $includeMetaData = null);
191
192
    /**
193
     * @param $orderReference
194
     * @param $barCode
195
     * @param null $includeMetaData
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $includeMetaData 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...
196
     * @param null $targetWebShop
197
     *
198
     * @return GetExistingImageLabelResponse
199
     */
200
    public function getExistingImageLabel($orderReference, $barCode, $includeMetaData = null, $targetWebShop = null);
201
202
    /**
203
     * @param LabelType[] $labelTypes
204
     * @param null        $includeMetaData
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $includeMetaData is correct as it would always require null to be passed?
Loading history...
205
     *
206
     * @return GetExistingPdfLabelsResponse
207
     */
208
    public function getExistingImageLabels(array $labelTypes, $includeMetaData = null);
209
}
210