3 declare(strict_types=1);
37 private $previousValue;
68 return $this->previousValue instanceof
PriceBuilder ? $this->previousValue->
build() : $this->previousValue;
79 return $this->nextValue instanceof
PriceBuilder ? $this->nextValue->
build() : $this->nextValue;
99 $this->change = $change;
110 $this->previousValue = $previousValue;
121 $this->nextValue = $nextValue;
132 $this->lineItem = $lineItem;
143 $this->previousValue = $previousValue;
154 $this->nextValue = $nextValue;
165 $this->lineItem = $lineItem;
174 $this->previousValue instanceof
PriceBuilder ? $this->previousValue->
build() : $this->previousValue,
175 $this->nextValue instanceof
PriceBuilder ? $this->nextValue->
build() : $this->nextValue,
withPreviousValueBuilder(?PriceBuilder $previousValue)
withNextValueBuilder(?PriceBuilder $nextValue)
withLineItemBuilder(?LocalizedStringBuilder $lineItem)
withChange(?string $change)
withLineItem(?LocalizedString $lineItem)
withNextValue(?Price $nextValue)
withPreviousValue(?Price $previousValue)