From 4ecb0dcb5c29475e447be8a539301dfabf3fb477 Mon Sep 17 00:00:00 2001 From: zeeshan Date: Fri, 16 Sep 2022 15:24:13 +0530 Subject: [PATCH] + added setter for allocated invoice --- src/Qbil/Models/InvoiceLine.php | 5 +++++ src/Qbil/Models/InvoiceLineInterface.php | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Qbil/Models/InvoiceLine.php b/src/Qbil/Models/InvoiceLine.php index 9861aee..398617c 100644 --- a/src/Qbil/Models/InvoiceLine.php +++ b/src/Qbil/Models/InvoiceLine.php @@ -127,4 +127,9 @@ public function getPurchaseContract() { return $this->purchaseContract; } + + public function setAllocatedInvoice(string $allocatedInvoice) + { + $this->allocatedInvoice = $allocatedInvoice; + } } diff --git a/src/Qbil/Models/InvoiceLineInterface.php b/src/Qbil/Models/InvoiceLineInterface.php index 57f0038..47317e9 100644 --- a/src/Qbil/Models/InvoiceLineInterface.php +++ b/src/Qbil/Models/InvoiceLineInterface.php @@ -13,5 +13,6 @@ public function getEstimatedAmount(); public function getPrice(); public function getType(); public function getAllocatedInvoice(); + public function setAllocatedInvoice(string $allocatedInvoice); public function getPurchaseContract(); -} \ No newline at end of file +}