3 declare(strict_types=1);
22 use DateTimeImmutable;
52 private $customerGroup;
109 return $this->value instanceof
MoneyBuilder ? $this->value->
build() : $this->value;
120 return $this->country;
153 return $this->validFrom;
164 return $this->validUntil;
225 $this->value = $value;
236 $this->country = $country;
247 $this->customerGroup = $customerGroup;
258 $this->channel = $channel;
269 $this->validFrom = $validFrom;
280 $this->validUntil = $validUntil;
291 $this->discounted = $discounted;
302 $this->tiers = $tiers;
313 $this->custom = $custom;
324 $this->value = $value;
335 $this->customerGroup = $customerGroup;
346 $this->channel = $channel;
357 $this->discounted = $discounted;
368 $this->custom = $custom;