Skip to content

Commit 28a310c

Browse files
[2026-05-11] - Sync content (25669491454) (#60)
> [!NOTE] > This PR copies content from the source repo. > Source repo commit [e98c485](shoptet/cms4@e98c485) **List of changes:** - Add support for `data.​creditNote.checkComplianceWithInvoice` param in document settings endpoint Co-authored-by: drlikm <4454449+drlikm@users.noreply.github.com>
1 parent ae105c4 commit 28a310c

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

  • src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data

src/Endpoint/Eshop/GetEshopDocumentSettingsResponse/GetEshopDocumentSettingsResponse/Data/CreditNote.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class CreditNote extends Entity
1616
protected ?string $defaultReasonRemark;
1717
protected bool $restock;
1818
protected ?bool $addNotesFromOrder;
19+
protected bool $checkComplianceWithInvoice;
1920
protected ForbiddenItemTypes $forbiddenItemTypes;
2021

2122
public function getCodePrefix(): ?string
@@ -117,6 +118,17 @@ public function setAddNotesFromOrder(?bool $addNotesFromOrder): static
117118
return $this;
118119
}
119120

121+
public function isCheckComplianceWithInvoice(): bool
122+
{
123+
return $this->checkComplianceWithInvoice;
124+
}
125+
126+
public function setCheckComplianceWithInvoice(bool $checkComplianceWithInvoice): static
127+
{
128+
$this->checkComplianceWithInvoice = $checkComplianceWithInvoice;
129+
return $this;
130+
}
131+
120132
public function getForbiddenItemTypes(): ForbiddenItemTypes
121133
{
122134
return $this->forbiddenItemTypes;

0 commit comments

Comments
 (0)