Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

Commit

Permalink
add write-off method to API
Browse files Browse the repository at this point in the history
  • Loading branch information
Railslide committed Jan 14, 2015
1 parent 2e06702 commit cc211e6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Billogram/Api/Objects/BillogramObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,4 +254,15 @@ public function attachPdf($filepath)

return $this->performEvent('attach', array('filename' => $filename, 'content' => base64_encode($content)));
}

/**
* Write-off remaining fees from a billogram.
*
* @return $this
*/
public function writeOff()
{
return $this->performEvent('writeoff');
}

}

0 comments on commit cc211e6

Please sign in to comment.