@@ -27,11 +27,23 @@ |
||
| 27 | 27 | */ |
| 28 | 28 | public function getReviews(): Collection; |
| 29 | 29 | |
| 30 | + /** |
|
| 31 | + * @return void |
|
| 32 | + */ |
|
| 30 | 33 | public function addReview(ReviewInterface $review): void; |
| 31 | 34 | |
| 35 | + /** |
|
| 36 | + * @return void |
|
| 37 | + */ |
|
| 32 | 38 | public function removeReview(ReviewInterface $review): void; |
| 33 | 39 | |
| 40 | + /** |
|
| 41 | + * @return double |
|
| 42 | + */ |
|
| 34 | 43 | public function getAverageRating(): ?float; |
| 35 | 44 | |
| 45 | + /** |
|
| 46 | + * @return void |
|
| 47 | + */ |
|
| 36 | 48 | public function setAverageRating(float $averageRating): void; |
| 37 | 49 | } |
@@ -17,15 +17,33 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface ReviewerInterface extends ResourceInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return string|null |
|
| 22 | + */ |
|
| 20 | 23 | public function getEmail(): ?string; |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function setEmail(?string $email): void; |
| 23 | 29 | |
| 30 | + /** |
|
| 31 | + * @return string|null |
|
| 32 | + */ |
|
| 24 | 33 | public function getFirstName(): ?string; |
| 25 | 34 | |
| 35 | + /** |
|
| 36 | + * @return void |
|
| 37 | + */ |
|
| 26 | 38 | public function setFirstName(?string $firstName): void; |
| 27 | 39 | |
| 40 | + /** |
|
| 41 | + * @return string|null |
|
| 42 | + */ |
|
| 28 | 43 | public function getLastName(): ?string; |
| 29 | 44 | |
| 45 | + /** |
|
| 46 | + * @return void |
|
| 47 | + */ |
|
| 30 | 48 | public function setLastName(?string $lastName): void; |
| 31 | 49 | } |
@@ -18,8 +18,14 @@ |
||
| 18 | 18 | |
| 19 | 19 | interface ShipmentUnitInterface extends TimestampableInterface, ResourceInterface |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return null|ShipmentInterface |
|
| 23 | + */ |
|
| 21 | 24 | public function getShipment(): ?ShipmentInterface; |
| 22 | 25 | |
| 26 | + /** |
|
| 27 | + * @return void |
|
| 28 | + */ |
|
| 23 | 29 | public function setShipment(?ShipmentInterface $shipment): void; |
| 24 | 30 | |
| 25 | 31 | public function getShippable(): ?ShippableInterface; |
@@ -15,15 +15,33 @@ |
||
| 15 | 15 | |
| 16 | 16 | interface ShippableInterface |
| 17 | 17 | { |
| 18 | + /** |
|
| 19 | + * @return double |
|
| 20 | + */ |
|
| 18 | 21 | public function getShippingWeight(): ?float; |
| 19 | 22 | |
| 23 | + /** |
|
| 24 | + * @return double |
|
| 25 | + */ |
|
| 20 | 26 | public function getShippingVolume(): ?float; |
| 21 | 27 | |
| 28 | + /** |
|
| 29 | + * @return double |
|
| 30 | + */ |
|
| 22 | 31 | public function getShippingWidth(): ?float; |
| 23 | 32 | |
| 33 | + /** |
|
| 34 | + * @return double |
|
| 35 | + */ |
|
| 24 | 36 | public function getShippingHeight(): ?float; |
| 25 | 37 | |
| 38 | + /** |
|
| 39 | + * @return double |
|
| 40 | + */ |
|
| 26 | 41 | public function getShippingDepth(): ?float; |
| 27 | 42 | |
| 43 | + /** |
|
| 44 | + * @return ShippingCategoryInterface |
|
| 45 | + */ |
|
| 28 | 46 | public function getShippingCategory(): ?ShippingCategoryInterface; |
| 29 | 47 | } |
@@ -19,11 +19,23 @@ |
||
| 19 | 19 | |
| 20 | 20 | interface ShippingCategoryInterface extends CodeAwareInterface, TimestampableInterface, ResourceInterface |
| 21 | 21 | { |
| 22 | + /** |
|
| 23 | + * @return string |
|
| 24 | + */ |
|
| 22 | 25 | public function getName(): ?string; |
| 23 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 24 | 30 | public function setName(?string $name): void; |
| 25 | 31 | |
| 32 | + /** |
|
| 33 | + * @return string |
|
| 34 | + */ |
|
| 26 | 35 | public function getDescription(): ?string; |
| 27 | 36 | |
| 37 | + /** |
|
| 38 | + * @return void |
|
| 39 | + */ |
|
| 28 | 40 | public function setDescription(?string $description): void; |
| 29 | 41 | } |
@@ -15,5 +15,8 @@ |
||
| 15 | 15 | |
| 16 | 16 | interface TaxableInterface |
| 17 | 17 | { |
| 18 | + /** |
|
| 19 | + * @return TaxCategoryInterface |
|
| 20 | + */ |
|
| 18 | 21 | public function getTaxCategory(): ?TaxCategoryInterface; |
| 19 | 22 | } |
@@ -20,12 +20,24 @@ discard block |
||
| 20 | 20 | |
| 21 | 21 | interface TaxCategoryInterface extends CodeAwareInterface, TimestampableInterface, ResourceInterface |
| 22 | 22 | { |
| 23 | + /** |
|
| 24 | + * @return string |
|
| 25 | + */ |
|
| 23 | 26 | public function getName(): ?string; |
| 24 | 27 | |
| 28 | + /** |
|
| 29 | + * @return void |
|
| 30 | + */ |
|
| 25 | 31 | public function setName(?string $name): void; |
| 26 | 32 | |
| 33 | + /** |
|
| 34 | + * @return string |
|
| 35 | + */ |
|
| 27 | 36 | public function getDescription(): ?string; |
| 28 | 37 | |
| 38 | + /** |
|
| 39 | + * @return void |
|
| 40 | + */ |
|
| 29 | 41 | public function setDescription(?string $description): void; |
| 30 | 42 | |
| 31 | 43 | /** |
@@ -33,8 +45,14 @@ discard block |
||
| 33 | 45 | */ |
| 34 | 46 | public function getRates(): Collection; |
| 35 | 47 | |
| 48 | + /** |
|
| 49 | + * @return void |
|
| 50 | + */ |
|
| 36 | 51 | public function addRate(TaxRateInterface $rate): void; |
| 37 | 52 | |
| 53 | + /** |
|
| 54 | + * @return void |
|
| 55 | + */ |
|
| 38 | 56 | public function removeRate(TaxRateInterface $rate): void; |
| 39 | 57 | |
| 40 | 58 | public function hasRate(TaxRateInterface $rate): bool; |
@@ -19,27 +19,54 @@ |
||
| 19 | 19 | |
| 20 | 20 | interface TaxRateInterface extends CodeAwareInterface, TimestampableInterface, ResourceInterface |
| 21 | 21 | { |
| 22 | + /** |
|
| 23 | + * @return TaxCategoryInterface |
|
| 24 | + */ |
|
| 22 | 25 | public function getCategory(): ?TaxCategoryInterface; |
| 23 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 24 | 30 | public function setCategory(?TaxCategoryInterface $category): void; |
| 25 | 31 | |
| 32 | + /** |
|
| 33 | + * @return string |
|
| 34 | + */ |
|
| 26 | 35 | public function getName(): ?string; |
| 27 | 36 | |
| 37 | + /** |
|
| 38 | + * @return void |
|
| 39 | + */ |
|
| 28 | 40 | public function setName(?string $name): void; |
| 29 | 41 | |
| 30 | 42 | public function getAmount(): float; |
| 31 | 43 | |
| 32 | 44 | public function getAmountAsPercentage(): float; |
| 33 | 45 | |
| 46 | + /** |
|
| 47 | + * @return void |
|
| 48 | + */ |
|
| 34 | 49 | public function setAmount(?float $amount): void; |
| 35 | 50 | |
| 36 | 51 | public function isIncludedInPrice(): bool; |
| 37 | 52 | |
| 53 | + /** |
|
| 54 | + * @return void |
|
| 55 | + */ |
|
| 38 | 56 | public function setIncludedInPrice(?bool $includedInPrice): void; |
| 39 | 57 | |
| 58 | + /** |
|
| 59 | + * @return string |
|
| 60 | + */ |
|
| 40 | 61 | public function getCalculator(): ?string; |
| 41 | 62 | |
| 63 | + /** |
|
| 64 | + * @return void |
|
| 65 | + */ |
|
| 42 | 66 | public function setCalculator(?string $calculator): void; |
| 43 | 67 | |
| 68 | + /** |
|
| 69 | + * @return string |
|
| 70 | + */ |
|
| 44 | 71 | public function getLabel(): ?string; |
| 45 | 72 | } |
@@ -19,11 +19,23 @@ |
||
| 19 | 19 | |
| 20 | 20 | interface TaxonTranslationInterface extends SlugAwareInterface, ResourceInterface, TranslationInterface |
| 21 | 21 | { |
| 22 | + /** |
|
| 23 | + * @return string|null |
|
| 24 | + */ |
|
| 22 | 25 | public function getName(): ?string; |
| 23 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 24 | 30 | public function setName(?string $name): void; |
| 25 | 31 | |
| 32 | + /** |
|
| 33 | + * @return string|null |
|
| 34 | + */ |
|
| 26 | 35 | public function getDescription(): ?string; |
| 27 | 36 | |
| 37 | + /** |
|
| 38 | + * @return void |
|
| 39 | + */ |
|
| 28 | 40 | public function setDescription(?string $description): void; |
| 29 | 41 | } |