@@ -17,5 +17,8 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface IndexPageInterface extends BaseIndexPageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return \Generator |
|
| 22 | + */ |
|
| 20 | 23 | public function getCouponCodes(): iterable; |
| 21 | 24 | } |
@@ -31,13 +31,22 @@ |
||
| 31 | 31 | ?string $baseLocaleCode = null |
| 32 | 32 | ): Collection; |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @return void |
|
| 36 | + */ |
|
| 34 | 37 | public function addAttribute(AttributeValueInterface $attribute): void; |
| 35 | 38 | |
| 39 | + /** |
|
| 40 | + * @return void |
|
| 41 | + */ |
|
| 36 | 42 | public function removeAttribute(AttributeValueInterface $attribute): void; |
| 37 | 43 | |
| 38 | 44 | public function hasAttribute(AttributeValueInterface $attribute): bool; |
| 39 | 45 | |
| 40 | 46 | public function hasAttributeByCodeAndLocale(string $attributeCode, ?string $localeCode = null): bool; |
| 41 | 47 | |
| 48 | + /** |
|
| 49 | + * @param string $localeCode |
|
| 50 | + */ |
|
| 42 | 51 | public function getAttributeByCodeAndLocale(string $attributeCode, ?string $localeCode = null): ?AttributeValueInterface; |
| 43 | 52 | } |
@@ -17,5 +17,8 @@ |
||
| 17 | 17 | { |
| 18 | 18 | public function getCustomer(): ?CustomerInterface; |
| 19 | 19 | |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function setCustomer(?CustomerInterface $customer): void; |
| 21 | 24 | } |
@@ -18,30 +18,60 @@ discard block |
||
| 18 | 18 | |
| 19 | 19 | interface AdjustmentInterface extends ResourceInterface, TimestampableInterface |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return OrderItemUnitInterface|null |
|
| 23 | + */ |
|
| 21 | 24 | public function getAdjustable(): ?AdjustableInterface; |
| 22 | 25 | |
| 26 | + /** |
|
| 27 | + * @return void |
|
| 28 | + */ |
|
| 23 | 29 | public function setAdjustable(?AdjustableInterface $adjustable): void; |
| 24 | 30 | |
| 31 | + /** |
|
| 32 | + * @return string|null |
|
| 33 | + */ |
|
| 25 | 34 | public function getType(): ?string; |
| 26 | 35 | |
| 36 | + /** |
|
| 37 | + * @return void |
|
| 38 | + */ |
|
| 27 | 39 | public function setType(?string $type): void; |
| 28 | 40 | |
| 41 | + /** |
|
| 42 | + * @return string|null |
|
| 43 | + */ |
|
| 29 | 44 | public function getLabel(): ?string; |
| 30 | 45 | |
| 46 | + /** |
|
| 47 | + * @return void |
|
| 48 | + */ |
|
| 31 | 49 | public function setLabel(?string $label): void; |
| 32 | 50 | |
| 33 | 51 | public function getAmount(): int; |
| 34 | 52 | |
| 53 | + /** |
|
| 54 | + * @return void |
|
| 55 | + */ |
|
| 35 | 56 | public function setAmount(int $amount): void; |
| 36 | 57 | |
| 37 | 58 | public function isNeutral(): bool; |
| 38 | 59 | |
| 60 | + /** |
|
| 61 | + * @return void |
|
| 62 | + */ |
|
| 39 | 63 | public function setNeutral(bool $neutral): void; |
| 40 | 64 | |
| 41 | 65 | public function isLocked(): bool; |
| 42 | 66 | |
| 67 | + /** |
|
| 68 | + * @return void |
|
| 69 | + */ |
|
| 43 | 70 | public function lock(): void; |
| 44 | 71 | |
| 72 | + /** |
|
| 73 | + * @return void |
|
| 74 | + */ |
|
| 45 | 75 | public function unlock(): void; |
| 46 | 76 | |
| 47 | 77 | /** |
@@ -54,7 +84,13 @@ discard block |
||
| 54 | 84 | */ |
| 55 | 85 | public function isCredit(): bool; |
| 56 | 86 | |
| 87 | + /** |
|
| 88 | + * @return string|null |
|
| 89 | + */ |
|
| 57 | 90 | public function getOriginCode(): ?string; |
| 58 | 91 | |
| 92 | + /** |
|
| 93 | + * @return void |
|
| 94 | + */ |
|
| 59 | 95 | public function setOriginCode(?string $originCode): void; |
| 60 | 96 | } |
@@ -17,5 +17,8 @@ |
||
| 17 | 17 | { |
| 18 | 18 | public function getOrder(): ?OrderInterface; |
| 19 | 19 | |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function setOrder(?OrderInterface $order): void; |
| 21 | 24 | } |
@@ -20,6 +20,9 @@ |
||
| 20 | 20 | { |
| 21 | 21 | public function getShipment(): ?ShipmentInterface; |
| 22 | 22 | |
| 23 | + /** |
|
| 24 | + * @return void |
|
| 25 | + */ |
|
| 23 | 26 | public function setShipment(?ShipmentInterface $shipment): void; |
| 24 | 27 | |
| 25 | 28 | public function getShippable(): ?ShippableInterface; |
@@ -17,16 +17,34 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface UpdatePageInterface extends BaseUpdatePageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function attachAvatar(string $path): void; |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function changeUsername(string $username): void; |
| 23 | 29 | |
| 30 | + /** |
|
| 31 | + * @return void |
|
| 32 | + */ |
|
| 24 | 33 | public function changeEmail(string $email): void; |
| 25 | 34 | |
| 35 | + /** |
|
| 36 | + * @return void |
|
| 37 | + */ |
|
| 26 | 38 | public function changePassword(string $password): void; |
| 27 | 39 | |
| 40 | + /** |
|
| 41 | + * @return void |
|
| 42 | + */ |
|
| 28 | 43 | public function changeLocale(string $localeCode): void; |
| 29 | 44 | |
| 45 | + /** |
|
| 46 | + * @return void |
|
| 47 | + */ |
|
| 30 | 48 | public function removeAvatar(): void; |
| 31 | 49 | |
| 32 | 50 | public function hasAvatar(string $avatarPath): bool; |
@@ -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 | { |
@@ -24,19 +24,37 @@ |
||
| 24 | 24 | |
| 25 | 25 | public function getColumnFields(string $columnName): array; |
| 26 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 27 | 30 | public function sortBy(string $fieldName): void; |
| 28 | 31 | |
| 32 | + /** |
|
| 33 | + * @return void |
|
| 34 | + */ |
|
| 29 | 35 | public function deleteResourceOnPage(array $parameters): void; |
| 30 | 36 | |
| 31 | 37 | public function getActionsForResource(array $parameters): NodeElement; |
| 32 | 38 | |
| 39 | + /** |
|
| 40 | + * @return void |
|
| 41 | + */ |
|
| 33 | 42 | public function checkResourceOnPage(array $parameters): void; |
| 34 | 43 | |
| 35 | 44 | public function countItems(): int; |
| 36 | 45 | |
| 46 | + /** |
|
| 47 | + * @return void |
|
| 48 | + */ |
|
| 37 | 49 | public function filter(): void; |
| 38 | 50 | |
| 51 | + /** |
|
| 52 | + * @return void |
|
| 53 | + */ |
|
| 39 | 54 | public function bulkDelete(): void; |
| 40 | 55 | |
| 56 | + /** |
|
| 57 | + * @return void |
|
| 58 | + */ |
|
| 41 | 59 | public function sort(string $order): void; |
| 42 | 60 | } |