@@ -74,7 +74,7 @@ |
||
74 | 74 | * Executes the purchase. |
75 | 75 | * Calls proper API commands to purchase the product. |
76 | 76 | * @throws ErrorPurchaseException in case of failed purchase |
77 | - * @return true if the item was purchased successfully |
|
77 | + * @return boolean if the item was purchased successfully |
|
78 | 78 | */ |
79 | 79 | public function execute() |
80 | 80 | { |
@@ -171,6 +171,9 @@ |
||
171 | 171 | return $this->tariff; |
172 | 172 | } |
173 | 173 | |
174 | + /** |
|
175 | + * @param Tariff $tariff |
|
176 | + */ |
|
174 | 177 | public function setTariff($tariff) |
175 | 178 | { |
176 | 179 | if ($tariff === null) { |