3 declare(strict_types=1);
22 use DateTimeImmutable;
46 private $currentValue;
58 private $customerGroup;
120 return $this->currentValue instanceof
TypedMoneyBuilder ? $this->currentValue->
build() : $this->currentValue;
131 return $this->country;
164 return $this->validFrom;
175 return $this->validUntil;
218 $this->value = $value;
229 $this->currentValue = $currentValue;
240 $this->country = $country;
251 $this->customerGroup = $customerGroup;
262 $this->channel = $channel;
273 $this->validFrom = $validFrom;
284 $this->validUntil = $validUntil;
295 $this->discounted = $discounted;
306 $this->custom = $custom;
317 $this->value = $value;
328 $this->currentValue = $currentValue;
339 $this->customerGroup = $customerGroup;
350 $this->channel = $channel;
361 $this->discounted = $discounted;
372 $this->custom = $custom;