diff --git a/src/Entity/Shipment.php b/src/Entity/Shipment.php index 5badb88..0322f70 100644 --- a/src/Entity/Shipment.php +++ b/src/Entity/Shipment.php @@ -193,6 +193,11 @@ class Shipment extends AbstractEntity #[SerializableProperty(type: 'string')] protected ?string $ReturnReference = null; + /** @var string|null $ReturnReference */ + #[SerializableProperty(type: 'CodingText')] + protected ?string $CodingText = null; + + /** * @throws InvalidArgumentException */ @@ -236,6 +241,7 @@ public function __construct( ?string $Remark = null, ?string $ReturnBarcode = null, ?string $ReturnReference = null, + ?string $CodingText = null, ?string $StatusCode = null, ?int $PhaseCode = null, ?string $DateFrom = null, @@ -277,6 +283,7 @@ public function __construct( $this->setRemark(Remark: $Remark); $this->setReturnBarcode(ReturnBarcode: $ReturnBarcode); $this->setReturnReference(ReturnReference: $ReturnReference); + $this->setCodingText(CodingText: $CodingText); $this->setStatusCode(StatusCode: $StatusCode); $this->setPhaseCode(PhaseCode: $PhaseCode); $this->setDateFrom(DateFrom: $DateFrom); @@ -945,6 +952,25 @@ public function setReturnReference(?string $ReturnReference): static return $this; } + /** + * @return string|null + */ + public function getCodingText(): ?string + { + return $this->CodingText; + } + /** + * @param string|null $CodingText + * + * @return static + */ + public function setCodingText(?string $CodingText): static + { + $this->CodingText = $CodingText; + + return $this; + } + /** * @return DateTimeInterface|null */