Skip to content

Commit

Permalink
Merge pull request #98 from Jurjen12/v2.0.x
Browse files Browse the repository at this point in the history
Added CodingText option to Shipment Entity
  • Loading branch information
firstred authored Aug 1, 2024
2 parents df56a6b + 45c1f01 commit dce757d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/Entity/Shipment.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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
*/
Expand Down

0 comments on commit dce757d

Please sign in to comment.