diff --git a/src/Qbil/Models/InvoiceLine.php b/src/Qbil/Models/InvoiceLine.php index b96a2c0..3a0734f 100644 --- a/src/Qbil/Models/InvoiceLine.php +++ b/src/Qbil/Models/InvoiceLine.php @@ -10,13 +10,14 @@ class InvoiceLine { - public function __construct($order, $quantity, $amount, $price, $type) + public function __construct($order, $quantity, $amount, $price, $type, $allocatedInvoice = null) { $this->order = $order; $this->quantity = $quantity; $this->amount = $amount; $this->price = $price; $this->type = $type; + $this->allocatedInvoice = $allocatedInvoice; } private $order; @@ -24,6 +25,7 @@ public function __construct($order, $quantity, $amount, $price, $type) private $amount; private $price; private $type; + private $allocatedInvoice; /** * @return mixed @@ -65,6 +67,14 @@ public function getType() return $this->type; } + /** + * @return mixed + */ + public function getAllocatedInvoice() + { + return $this->allocatedInvoice; + } + /** * @param mixed $type */ @@ -72,4 +82,12 @@ public function setType($type) { $this->type = $type; } + + /** + * @param mixed $type + */ + public function setAllocatedInvoice($allocatedInvoice) + { + $this->allocatedInvoice = $allocatedInvoice; + } }