/home/techb158/ileadtechnology.com/vendor/cartalyst/stripe/src/Api
Edit: /home/techb158/ileadtechnology.com/vendor/cartalyst/stripe/src/Api/CreditNotes.php (1739B)
_post('credit_notes', $parameters);
}
/**
* Retrieves an existing credit note.
*
* @param string $creditNoteId
* @return array
*/
public function find($creditNoteId)
{
return $this->_get("credit_notes/{$creditNoteId}");
}
/**
* Updates an existing credit notes.
*
* @param string $creditNoteId
* @param array $parameters
* @return array
*/
public function update($creditNoteId, array $parameters = [])
{
return $this->_post("credit_notes/{$creditNoteId}", $parameters);
}
/**
* Void the given credit note.
*
* @param string $creditNoteId
* @return array
*/
public function void($creditNoteId)
{
return $this->_post("credit_notes/{$creditNoteId}/void");
}
/**
* Lists all credit notes.
*
* @param array $parameters
* @return array
*/
public function all(array $parameters = [])
{
return $this->_get('credit_notes', $parameters);
}
}