Skip to content
Open
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
12 changes: 12 additions & 0 deletions src/TransactionBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,18 @@ public function withEntityUseCode($code)
return $this;
}

/**
* Set client application customer or usage type
*
* @param string code (See API endpoint `/api/v2/definitions/entityusecodes` for a list of allowable values)
* @return TransactionBuilder
*/
public function withSalesPersonCode($code)
{
$this->_model['salespersonCode'] = $code;
return $this;
}

/**
* Set purchase order number
*
Expand Down