/home/techb158/ileadtechnology.com/vendor/cartalyst/stripe/src/Api
Edit: /home/techb158/ileadtechnology.com/vendor/cartalyst/stripe/src/Api/Skus.php (1608B)
_post('skus', $parameters);
}
/**
* Retrieves an existing sku.
*
* @param string $skuId
* @return array
*/
public function find($skuId)
{
return $this->_get("skus/{$skuId}");
}
/**
* Updates an existing sku.
*
* @param string $skuId
* @param array $parameters
* @return array
*/
public function update($skuId, array $parameters = [])
{
return $this->_post("skus/{$skuId}", $parameters);
}
/**
* Deletes an existing sku.
*
* @param string $skuId
* @return array
*/
public function delete($skuId)
{
return $this->_delete("skus/{$skuId}");
}
/**
* Returns a list of all the skus.
*
* @param array $parameters
* @return array
*/
public function all(array $parameters = [])
{
return $this->_get('skus', $parameters);
}
}