/home/techb158/ileadtechnology.com/vendor/cartalyst/stripe/src/Api
Edit: /home/techb158/ileadtechnology.com/vendor/cartalyst/stripe/src/Api/Plans.php (1612B)
_post('plans', $parameters);
}
/**
* Retrieves an existing plan.
*
* @param string $planId
* @return array
*/
public function find($planId)
{
return $this->_get("plans/{$planId}");
}
/**
* Updates an existing plan.
*
* @param string $planId
* @param array $parameters
* @return array
*/
public function update($planId, array $parameters = [])
{
return $this->_post("plans/{$planId}", $parameters);
}
/**
* Deletes an existing plan.
*
* @param string $planId
* @return array
*/
public function delete($planId)
{
return $this->_delete("plans/{$planId}");
}
/**
* Lists all plans.
*
* @param array $parameters
* @return array
*/
public function all(array $parameters = [])
{
return $this->_get('plans', $parameters);
}
}