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 DateTime; |
||
16 | use Etrias\PaazlConnector\SoapTypes\AddressType; |
||
17 | use Etrias\PaazlConnector\SoapTypes\CancelPickupRequestResponse; |
||
18 | use Etrias\PaazlConnector\SoapTypes\CreatePickupRequestResponse; |
||
19 | use Etrias\PaazlConnector\SoapTypes\PickupRequestDetailsResponse; |
||
20 | use Etrias\PaazlConnector\SoapTypes\PickupRequestStatusResponse; |
||
21 | |||
22 | interface PickupServiceInterface |
||
23 | { |
||
24 | /** |
||
25 | * @param $internalReference |
||
26 | * @param null $pickupCountry |
||
0 ignored issues
–
show
Documentation
Bug
introduced
by
Loading history...
|
|||
27 | * @param null $deliveryCountry |
||
28 | * @param null $targetWebShop |
||
29 | * |
||
30 | * @return PickupRequestDetailsResponse |
||
31 | */ |
||
32 | public function getPickupRequestOptions( |
||
33 | $internalReference, |
||
34 | $pickupCountry = null, |
||
35 | $deliveryCountry = null, |
||
36 | $targetWebShop = null |
||
37 | ); |
||
38 | |||
39 | /** |
||
40 | * @param $internalReference |
||
41 | * @param $pickupRequestOption |
||
42 | * @param $pieceCount |
||
43 | * @param DateTime $pickupWindowStart |
||
44 | * @param DateTime $pickupWindowEnd |
||
45 | * @param $pickupCompanyName |
||
46 | * @param $pickupContactName |
||
47 | * @param $pickupName |
||
48 | * @param AddressType $pickupAddress |
||
49 | * @param $pickupPhoneNumber |
||
50 | * @param null $pickupEmailAddress |
||
0 ignored issues
–
show
|
|||
51 | * @param AddressType|null $deliveryAddress |
||
52 | * @param null $deliveryEmailAddress |
||
53 | * @param null $additionalInstruction |
||
54 | * @param null $orderReference |
||
55 | * @param null $contract |
||
56 | * @param null $targetWebShop |
||
57 | * |
||
58 | * @return CreatePickupRequestResponse |
||
59 | */ |
||
60 | public function createPickupRequest( |
||
61 | $internalReference, |
||
62 | $pickupRequestOption, |
||
63 | $pieceCount, |
||
64 | DateTime $pickupWindowStart, |
||
65 | DateTime $pickupWindowEnd, |
||
66 | $pickupCompanyName, |
||
67 | $pickupContactName, |
||
68 | $pickupName, |
||
69 | AddressType $pickupAddress, |
||
70 | $pickupPhoneNumber, |
||
71 | $pickupEmailAddress = null, |
||
72 | AddressType $deliveryAddress = null, |
||
73 | $deliveryEmailAddress = null, |
||
74 | $additionalInstruction = null, |
||
75 | $orderReference = null, |
||
76 | $contract = null, |
||
77 | $targetWebShop = null |
||
78 | ); |
||
79 | |||
80 | /** |
||
81 | * @param $internalReference |
||
82 | * @param $distributor |
||
83 | * @param $externalReference |
||
84 | * @param null $targetWebShop |
||
0 ignored issues
–
show
|
|||
85 | * |
||
86 | * @return PickupRequestDetailsResponse |
||
87 | */ |
||
88 | public function getPickupRequestDetails( |
||
89 | $internalReference, |
||
90 | $distributor, |
||
91 | $externalReference, |
||
92 | $targetWebShop = null |
||
93 | ); |
||
94 | |||
95 | /** |
||
96 | * @param $internalReference |
||
97 | * @param $distributor |
||
98 | * @param $externalReference |
||
99 | * @param null $targetWebShop |
||
0 ignored issues
–
show
|
|||
100 | * |
||
101 | * @return PickupRequestStatusResponse |
||
102 | */ |
||
103 | public function getPickupRequestStatus($internalReference, $distributor, $externalReference, $targetWebShop = null); |
||
104 | |||
105 | /** |
||
106 | * @param $internalReference |
||
107 | * @param $distributor |
||
108 | * @param $externalReference |
||
109 | * @param null $targetWebShop |
||
0 ignored issues
–
show
|
|||
110 | * |
||
111 | * @return CancelPickupRequestResponse |
||
112 | */ |
||
113 | public function cancelPickupRequest($internalReference, $distributor, $externalReference, $targetWebShop = null); |
||
114 | } |
||
115 |