etrias-nl /
paazl-connector
| 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\ChangeProducts; |
||
| 17 | use Etrias\PaazlConnector\SoapTypes\ChangeSenderAddress; |
||
| 18 | use Etrias\PaazlConnector\SoapTypes\ChangeShippingAddress; |
||
| 19 | use Etrias\PaazlConnector\SoapTypes\ChangeShippingMethod; |
||
| 20 | use Etrias\PaazlConnector\SoapTypes\ListOrdersResponse; |
||
| 21 | use Etrias\PaazlConnector\SoapTypes\OrderDetailsResponse; |
||
| 22 | use Etrias\PaazlConnector\SoapTypes\OrderSaveResponseType; |
||
| 23 | use Etrias\PaazlConnector\SoapTypes\OrderStatusResponse; |
||
| 24 | use Etrias\PaazlConnector\SoapTypes\Product; |
||
| 25 | use Etrias\PaazlConnector\SoapTypes\Products; |
||
| 26 | use Etrias\PaazlConnector\SoapTypes\SenderAddress; |
||
| 27 | use Etrias\PaazlConnector\SoapTypes\ShippingAddress; |
||
| 28 | use Etrias\PaazlConnector\SoapTypes\ShippingMethod; |
||
| 29 | use Etrias\PaazlConnector\SoapTypes\ValidateOrderResponseType; |
||
| 30 | |||
| 31 | interface OrderServiceInterface |
||
| 32 | { |
||
| 33 | /** |
||
| 34 | * Constructor method for orderDetailsRequest. |
||
| 35 | * |
||
| 36 | * @param string $orderReference |
||
| 37 | * @param int $targetWebShop |
||
| 38 | * @param bool $extendedDetails |
||
| 39 | * |
||
| 40 | * @return OrderDetailsResponse |
||
| 41 | */ |
||
| 42 | public function getOrderDetails($orderReference, $targetWebShop = null, $extendedDetails = null); |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @param $orderReference |
||
| 46 | * @param Product[] $products |
||
| 47 | * @param bool $override |
||
| 48 | * @param null $targetWebShop |
||
|
0 ignored issues
–
show
Documentation
Bug
introduced
by
Loading history...
|
|||
| 49 | * |
||
| 50 | * @return OrderSaveResponseType |
||
| 51 | */ |
||
| 52 | public function createOrder($orderReference, array $products, $override = false, $targetWebShop = null); |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param $orderReference |
||
| 56 | * @param Products[] $products |
||
| 57 | * @param null $targetWebShop |
||
|
0 ignored issues
–
show
|
|||
| 58 | * |
||
| 59 | * @return OrderSaveResponseType |
||
| 60 | */ |
||
| 61 | public function updateOrder($orderReference, array $products, $targetWebShop = null); |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @param $orderReference |
||
| 65 | * @param null $newOrderReference |
||
|
0 ignored issues
–
show
|
|||
| 66 | * @param ChangeShippingMethod|null $shippingMethod |
||
| 67 | * @param ChangeShippingAddress|null $shippingAddress |
||
| 68 | * @param ChangeSenderAddress|null $returnAddress |
||
| 69 | * @param ChangeSenderAddress|null $shipperAddress |
||
| 70 | * @param ChangeProducts|null $products |
||
| 71 | * @param null $totalAmount |
||
| 72 | * @param null $totalAmountCurrency |
||
| 73 | * @param null $language |
||
| 74 | * @param null $customerEmail |
||
| 75 | * @param null $customerPhoneNumber |
||
| 76 | * @param null $targetWebShop |
||
| 77 | * |
||
| 78 | * @return OrderSaveResponseType |
||
| 79 | */ |
||
| 80 | public function changeOrder( |
||
| 81 | $orderReference, |
||
| 82 | $newOrderReference = null, |
||
| 83 | ChangeShippingMethod $shippingMethod = null, |
||
| 84 | ChangeShippingAddress $shippingAddress = null, |
||
| 85 | ChangeSenderAddress $returnAddress = null, |
||
| 86 | ChangeSenderAddress $shipperAddress = null, |
||
| 87 | ChangeProducts $products = null, |
||
| 88 | $totalAmount = null, |
||
| 89 | $totalAmountCurrency = null, |
||
| 90 | $language = null, |
||
| 91 | $customerEmail = null, |
||
| 92 | $customerPhoneNumber = null, |
||
| 93 | $targetWebShop = null |
||
| 94 | ); |
||
| 95 | |||
| 96 | /** |
||
| 97 | * @param $orderReference |
||
| 98 | * @param $pendingOrderReference |
||
| 99 | * @param $totalAmount |
||
| 100 | * @param $totalAmountCurrency |
||
| 101 | * @param ShippingMethod $shippingMethod |
||
| 102 | * @param ShippingAddress $shippingAddress |
||
| 103 | * @param null $customerEmail |
||
|
0 ignored issues
–
show
|
|||
| 104 | * @param null $language |
||
| 105 | * @param null $customerPhoneNumber |
||
| 106 | * @param SenderAddress|null $shipperAddress |
||
| 107 | * @param SenderAddress|null $returnAddress |
||
| 108 | * @param null $targetWebShop |
||
| 109 | * |
||
| 110 | * @return ValidateOrderResponseType |
||
| 111 | */ |
||
| 112 | public function validateOrder( |
||
| 113 | $orderReference, |
||
| 114 | $pendingOrderReference, |
||
| 115 | $totalAmount, |
||
| 116 | $totalAmountCurrency, |
||
| 117 | ShippingMethod $shippingMethod, |
||
| 118 | ShippingAddress $shippingAddress, |
||
| 119 | $customerEmail = null, |
||
| 120 | $language = null, |
||
| 121 | $customerPhoneNumber = null, |
||
| 122 | SenderAddress $shipperAddress = null, |
||
| 123 | SenderAddress $returnAddress = null, |
||
| 124 | $targetWebShop = null |
||
| 125 | ); |
||
| 126 | |||
| 127 | /** |
||
| 128 | * @param $orderReference |
||
| 129 | * @param ShippingMethod $shippingMethod |
||
| 130 | * @param ShippingAddress $shippingAddress |
||
| 131 | * @param null $totalAmount |
||
|
0 ignored issues
–
show
|
|||
| 132 | * @param null $totalAmountCurrency |
||
| 133 | * @param null $language |
||
| 134 | * @param null $customerEmail |
||
| 135 | * @param null $customerPhoneNumber |
||
| 136 | * @param SenderAddress|null $returnAddress |
||
| 137 | * @param SenderAddress|null $shipperAddress |
||
| 138 | * @param null $pendingOrderReference |
||
| 139 | * @param null $targetWebShop |
||
| 140 | * |
||
| 141 | * @return OrderSaveResponseType |
||
| 142 | */ |
||
| 143 | public function commitOrder( |
||
| 144 | $orderReference, |
||
| 145 | ShippingMethod $shippingMethod, |
||
| 146 | ShippingAddress $shippingAddress, |
||
| 147 | $totalAmount = null, |
||
| 148 | $totalAmountCurrency = null, |
||
| 149 | $language = null, |
||
| 150 | $customerEmail = null, |
||
| 151 | $customerPhoneNumber = null, |
||
| 152 | SenderAddress $returnAddress = null, |
||
| 153 | SenderAddress $shipperAddress = null, |
||
| 154 | $pendingOrderReference = null, |
||
| 155 | $targetWebShop = null |
||
| 156 | ); |
||
| 157 | |||
| 158 | /** |
||
| 159 | * @param $orderReference |
||
| 160 | * @param null $targetWebShop |
||
|
0 ignored issues
–
show
|
|||
| 161 | * |
||
| 162 | * @return DeleteOrderResponse |
||
|
0 ignored issues
–
show
The type
Etrias\PaazlConnector\Services\DeleteOrderResponse was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 163 | */ |
||
| 164 | public function deleteOrder($orderReference, $targetWebShop = null); |
||
| 165 | |||
| 166 | /** |
||
| 167 | * @param $orderReference |
||
| 168 | * @param bool|null $includeLabels |
||
|
0 ignored issues
–
show
|
|||
| 169 | * @param bool|null $getCarrierStatus |
||
| 170 | * @param null $targetWebShop |
||
| 171 | * |
||
| 172 | * @return OrderStatusResponse |
||
| 173 | */ |
||
| 174 | public function getOrderStatus( |
||
| 175 | $orderReference, |
||
| 176 | $includeLabels = null, |
||
| 177 | $getCarrierStatus = null, |
||
| 178 | $targetWebShop = null |
||
| 179 | ); |
||
| 180 | |||
| 181 | /** |
||
| 182 | * @param DateTime $changedSince |
||
| 183 | * @param null $page |
||
|
0 ignored issues
–
show
|
|||
| 184 | * @param null $carrierStatus |
||
| 185 | * @param null $targetWebShop |
||
| 186 | * |
||
| 187 | * @return ListOrdersResponse |
||
| 188 | */ |
||
| 189 | public function listOrders(DateTime $changedSince, $page = null, $carrierStatus = null, $targetWebShop = null); |
||
| 190 | } |
||
| 191 |