diff --git a/src/Models/InvoiceDetails.php b/src/Models/InvoiceDetails.php index 7c9e750..83618f0 100644 --- a/src/Models/InvoiceDetails.php +++ b/src/Models/InvoiceDetails.php @@ -712,7 +712,7 @@ public function getOtherMeasurementUnitQuantity(): ?int */ public function setOtherMeasurementUnitQuantity(?int $otherMeasurementUnitQuantity): void { - $this->push('otherMeasurementUnitQuantity', $otherMeasurementUnitQuantity); + $this->set('otherMeasurementUnitQuantity', $otherMeasurementUnitQuantity); } /** @@ -733,7 +733,7 @@ public function getOtherMeasurementUnitTitle(): ?string */ public function setOtherMeasurementUnitTitle(?string $otherMeasurementUnitTitle): void { - $this->push('otherMeasurementUnitTitle', $otherMeasurementUnitTitle); + $this->set('otherMeasurementUnitTitle', $otherMeasurementUnitTitle); } public function set($key, $value): void