/home/techb158/ileadtechnology.com/vendor/cartalyst/stripe/src/Api
Edit: /home/techb158/ileadtechnology.com/vendor/cartalyst/stripe/src/Api/Topup.php (1854B)
_post('topups', $parameters);
}
/**
* Retrieves an existing top-up.
*
* @param string $topupId
* @return array
*/
public function find($topupId)
{
return $this->_get("topups/{$topupId}");
}
/**
* Updates an existing top-up.
*
* @param string $topupId
* @param array $parameters
* @return array
*/
public function update($topupId, array $parameters = [])
{
return $this->_post("topups/{$topupId}", $parameters);
}
/**
* Cancels an existing top-up.
*
* @param string $topupId
* @return array
*/
public function cancel($topupId)
{
return $this->_post("topups/{$topupId}/cancel");
}
/**
* Deletes an existing top-up.
*
* @param string $topupId
* @return array
*/
public function delete($topupId)
{
return $this->_delete("topups/{$topupId}");
}
/**
* Lists all top-ups.
*
* @param array $parameters
* @return array
*/
public function all(array $parameters = [])
{
return $this->_get('topups', $parameters);
}
}