diff --git a/src/order/orderData/orderData.php b/src/order/orderData/orderData.php index f532995..c4503d0 100644 --- a/src/order/orderData/orderData.php +++ b/src/order/orderData/orderData.php @@ -48,6 +48,7 @@ public function init() { $this->__addProperty("consolidatedInvoice"); $this->__addProperty("tax"); $this->__addProperty("instructions"); + $this->__addProperty("tags"); } @@ -229,6 +230,16 @@ public function setInstructions($instructions) { $this->instructions = $instructions; } + + /** + * @access public + * @param mixed $tags + * @return void + */ + public function setTags($tags) + { + $this->tags = $tags; + } } ?> diff --git a/tests/order/orderTest.php b/tests/order/orderTest.php index a216559..6566388 100644 --- a/tests/order/orderTest.php +++ b/tests/order/orderTest.php @@ -18,6 +18,7 @@ public function testCanBuildASingleItemOrder() 'param1' => 'value1', 'param2' => 'value2' ]); + $orderData->setTags(['123', '345']); $item = $orderData->newSKUItem('skuCode', 'itemId', 5); $item->setPrintQuantity(1);