@@ -21,9 +21,6 @@ |
||
| 21 | 21 | use Sylius\Component\Core\Model\OrderInterface; |
| 22 | 22 | use Sylius\Component\Core\Model\PromotionInterface; |
| 23 | 23 | use Sylius\Component\Order\Processor\OrderProcessorInterface; |
| 24 | -use Sylius\Component\Promotion\Action\PromotionApplicatorInterface; |
|
| 25 | -use Sylius\Component\Promotion\Checker\Eligibility\PromotionEligibilityCheckerInterface; |
|
| 26 | -use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
|
| 27 | 24 | use Symfony\Component\HttpFoundation\RedirectResponse; |
| 28 | 25 | use Symfony\Component\Routing\RouterInterface; |
| 29 | 26 | |
@@ -126,6 +126,7 @@ |
||
| 126 | 126 | * @Given a customer :customer placed an order :orderNumber |
| 127 | 127 | * @Given the customer :customer has already placed an order :orderNumber |
| 128 | 128 | * @Given there is a customer :customer that placed an order :orderNumber in channel :channel |
| 129 | + * @param string $orderNumber |
|
| 129 | 130 | */ |
| 130 | 131 | public function thereIsCustomerThatPlacedOrder(CustomerInterface $customer, $orderNumber = null, $channel = null) |
| 131 | 132 | { |
@@ -17,13 +17,22 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface IndexPageInterface extends BaseIndexPageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function chooseStateToFilter(string $paymentState): void; |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function completePaymentOfOrderWithNumber(string $orderNumber): void; |
| 23 | 29 | |
| 24 | 30 | public function getPaymentStateByOrderNumber(string $orderNumber): string; |
| 25 | 31 | |
| 26 | 32 | public function isPaymentWithOrderNumberInPosition(string $orderNumber, int $position): bool; |
| 27 | 33 | |
| 34 | + /** |
|
| 35 | + * @return void |
|
| 36 | + */ |
|
| 28 | 37 | public function showOrderPageForNthPayment(int $position): void; |
| 29 | 38 | } |
@@ -17,13 +17,22 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface IndexPageInterface extends BaseIndexPageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function chooseStateToFilter(string $shipmentState): void; |
| 21 | 24 | |
| 22 | 25 | public function isShipmentWithOrderNumberInPosition(string $orderNumber, int $position): bool; |
| 23 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 24 | 30 | public function shipShipmentOfOrderWithNumber(string $orderNumber): void; |
| 25 | 31 | |
| 26 | 32 | public function getShipmentStatusByOrderNumber(string $orderNumber): string; |
| 27 | 33 | |
| 34 | + /** |
|
| 35 | + * @return void |
|
| 36 | + */ |
|
| 28 | 37 | public function showOrderPageForNthShipment(int $position): void; |
| 29 | 38 | } |