Skip to content

Commit 571c06d

Browse files
committed
Added type to matter
1 parent f96749b commit 571c06d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Model/Matter.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ final class Matter extends AbstractF2Item
1313

1414
public string $matterNumber;
1515
public string $title;
16+
public string $type;
1617
public string $caseNumber;
1718
public \DateTimeImmutable $createdDate;
1819
public \DateTimeImmutable $modifiedDate;
@@ -30,6 +31,7 @@ public function setFromSimpleXMLElement(\SimpleXMLElement $sxe): static
3031
$this->matterNumber = (string) $sxe->MatterNumber;
3132
$this->caseNumber = (string) $sxe->CaseNumber;
3233
$this->title = (string) $sxe->Title;
34+
$this->type = (string) $sxe->Type;
3335
$this->createdDate = $this->createDateTime($sxe->CreatedDate);
3436
$this->modifiedDate = $this->createDateTime($sxe->ModifiedDate);
3537
$this->createdBy = PartyItemAbstract::fromSimpleXMLElement($sxe->CreatedBy);
@@ -51,6 +53,7 @@ public function jsonSerialize(): array
5153
return [
5254
'matterNumber' => $this->matterNumber,
5355
'title' => $this->title,
56+
'type' => $this->type,
5457
'caseNumber' => $this->caseNumber,
5558
'createdDate' => $this->createdDate,
5659
'modifiedDate' => $this->modifiedDate,

0 commit comments

Comments
 (0)