Completed
Push — _tmp_22ddcbb6834a7d37ea574b248... ( 22ddcb )
by Kamil
523:11 queued 519:16
created
Model/TaxCategoryInterface.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -20,12 +20,24 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
Model/TaxRateInterface.php 1 patch
Doc Comments   +29 added lines patch added patch discarded remove patch
@@ -19,27 +19,56 @@
 block discarded – undo
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
+     * @param TaxCategory|null $category
29
+     *
30
+     * @return void
31
+     */
24 32
     public function setCategory(?TaxCategoryInterface $category): void;
25 33
 
34
+    /**
35
+     * @return string
36
+     */
26 37
     public function getName(): ?string;
27 38
 
39
+    /**
40
+     * @return void
41
+     */
28 42
     public function setName(?string $name): void;
29 43
 
30 44
     public function getAmount(): float;
31 45
 
32 46
     public function getAmountAsPercentage(): float;
33 47
 
48
+    /**
49
+     * @return void
50
+     */
34 51
     public function setAmount(?float $amount): void;
35 52
 
36 53
     public function isIncludedInPrice(): bool;
37 54
 
55
+    /**
56
+     * @return void
57
+     */
38 58
     public function setIncludedInPrice(?bool $includedInPrice): void;
39 59
 
60
+    /**
61
+     * @return string
62
+     */
40 63
     public function getCalculator(): ?string;
41 64
 
65
+    /**
66
+     * @return void
67
+     */
42 68
     public function setCalculator(?string $calculator): void;
43 69
 
70
+    /**
71
+     * @return string
72
+     */
44 73
     public function getLabel(): ?string;
45 74
 }
Please login to merge, or discard this patch.