3 declare(strict_types=1);
35 private $previousValue;
66 return $this->previousValue instanceof
AddressBuilder ? $this->previousValue->
build() : $this->previousValue;
77 return $this->nextValue instanceof
AddressBuilder ? $this->nextValue->
build() : $this->nextValue;
88 return $this->deliveryId;
97 $this->change = $change;
108 $this->previousValue = $previousValue;
119 $this->nextValue = $nextValue;
130 $this->deliveryId = $deliveryId;
141 $this->previousValue = $previousValue;
152 $this->nextValue = $nextValue;
161 $this->previousValue instanceof
AddressBuilder ? $this->previousValue->
build() : $this->previousValue,
withDeliveryId(?string $deliveryId)
withChange(?string $change)
withPreviousValueBuilder(?AddressBuilder $previousValue)
withNextValueBuilder(?AddressBuilder $nextValue)
withNextValue(?Address $nextValue)
withPreviousValue(?Address $previousValue)