@@ -21,6 +21,9 @@ discard block |
||
| 21 | 21 | private $customerGroup; |
| 22 | 22 | private $channel; |
| 23 | 23 | |
| 24 | + /** |
|
| 25 | + * @param string $country |
|
| 26 | + */ |
|
| 24 | 27 | public function __construct( |
| 25 | 28 | $currency, |
| 26 | 29 | $country = null, |
@@ -136,6 +139,9 @@ discard block |
||
| 136 | 139 | return is_null($price->getValidFrom()) && is_null($price->getValidUntil()); |
| 137 | 140 | } |
| 138 | 141 | |
| 142 | + /** |
|
| 143 | + * @param string $field |
|
| 144 | + */ |
|
| 139 | 145 | private function priceHas(Price $price, $field) |
| 140 | 146 | { |
| 141 | 147 | return !is_null($price->get($field)); |