3 declare(strict_types=1);
35 private $previousValue;
60 return $this->previousValue instanceof
PaymentInfoBuilder ? $this->previousValue->
build() : $this->previousValue;
80 $this->change = $change;
91 $this->previousValue = $previousValue;
102 $this->nextValue = $nextValue;
113 $this->previousValue = $previousValue;
124 $this->nextValue = $nextValue;
withPreviousValue(?PaymentInfo $previousValue)
withPreviousValueBuilder(?PaymentInfoBuilder $previousValue)
withChange(?string $change)
withNextValueBuilder(?PaymentInfoBuilder $nextValue)
withNextValue(?PaymentInfo $nextValue)