Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/order/orderData/orderData.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public function init() {
$this->__addProperty("consolidatedInvoice");
$this->__addProperty("tax");
$this->__addProperty("instructions");
$this->__addProperty("tags");

}

Expand Down Expand Up @@ -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;
}
}

?>
1 change: 1 addition & 0 deletions tests/order/orderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public function testCanBuildASingleItemOrder()
'param1' => 'value1',
'param2' => 'value2'
]);
$orderData->setTags(['123', '345']);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

an assertion here would be great


$item = $orderData->newSKUItem('skuCode', 'itemId', 5);
$item->setPrintQuantity(1);
Expand Down