Skip to content

Commit

Permalink
Update SalesReceipt.php
Browse files Browse the repository at this point in the history
  • Loading branch information
awalls authored Sep 12, 2017
1 parent bf9713f commit 096b134
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/Services/SalesReceipt.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,4 @@
class SalesReceipt extends Service
{
use Attachable;

/**
* Void an entity.
*
* @param string $id Item information.
* @param int $syncToken
*/
public function void($id, $syncToken = 0)
{
return parent::post($this->getResourceName().'?operation=void', [
'Id' => $id,
'SyncToken' => $syncToken,
])->{$this->getEntityName()};
}
}

0 comments on commit 096b134

Please sign in to comment.