Issues (453)

src/Services/ListServiceInterface.php (18 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\AddressResponse;
16
use Etrias\PaazlConnector\SoapTypes\CoordinatesType;
17
use Etrias\PaazlConnector\SoapTypes\DeliveryEstimateResponse;
18
use Etrias\PaazlConnector\SoapTypes\RateResponse;
19
use Etrias\PaazlConnector\SoapTypes\ServicePointsResponse;
20
21
interface ListServiceInterface
22
{
23
    /**
24
     * @param $orderReference
25
     * @param $zipCode
26
     * @param $houseNumber
27
     * @param null $addition
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 $addition is correct as it would always require null to be passed?
Loading history...
28
     * @param null $targetWebShop
29
     *
30
     * @return AddressResponse
31
     */
32
    public function getAddress($orderReference, $zipCode, $houseNumber, $addition = null, $targetWebShop = null);
33
34
    /**
35
     * @param $orderReference
36
     * @param $weight
37
     * @param $value
38
     * @param $valueCurrency
39
     * @param $consigneeCountry
40
     * @param $consigneeCity
41
     * @param $consigneePostcode
42
     * @param null $shippingOption
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $senderPostcode 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 $senderCountry 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 $senderCity 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...
43
     * @param null $senderCountry
44
     * @param null $senderCity
45
     * @param null $senderPostcode
46
     * @param null $targetWebShop
47
     *
48
     * @return DeliveryEstimateResponse
49
     */
50
    public function getDeliveryEstimate(
51
        $orderReference,
52
        $weight,
53
        $value,
54
        $valueCurrency,
55
        $consigneeCountry,
56
        $consigneeCity,
57
        $consigneePostcode,
58
        $shippingOption = null,
59
        $senderCountry = null,
60
        $senderCity = null,
61
        $senderPostcode = null,
62
        $targetWebShop = null
63
    );
64
65
    /**
66
     * @param $orderReference
67
     * @param null $country
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 $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 $postalCode 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...
68
     * @param null $postalCode
69
     * @param null $shippingOption
70
     * @param null $targetWebShop
71
     *
72
     * @return RateResponse
73
     */
74
    public function getRates(
75
        $orderReference,
76
        $country = null,
77
        $postalCode = null,
78
        $shippingOption = null,
79
        $targetWebShop = null
80
    );
81
82
    /**
83
     * @param null                 $country
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $weekend 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 $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 $limit 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 $postcode 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 $evening is correct as it would always require null to be passed?
Loading history...
84
     * @param null                 $postcode
85
     * @param CoordinatesType|null $southWest
86
     * @param CoordinatesType|null $northEast
87
     * @param null                 $limit
88
     * @param null                 $shippingOption
89
     * @param null                 $evening
90
     * @param null                 $weekend
91
     * @param null                 $targetWebShop
92
     *
93
     * @return ServicePointsResponse
94
     */
95
    public function getServicePoints(
96
        $country = null,
97
        $postcode = null,
98
        CoordinatesType $southWest = null,
99
        CoordinatesType $northEast = null,
100
        $limit = null,
101
        $shippingOption = null,
102
        $evening = null,
103
        $weekend = null,
104
        $targetWebShop = null
105
    );
106
}
107