PPPStripeRefund

Class Refund.

Defined (1)

The class is defined in the following location(s).

/includes/api/stripe-php/lib/Refund.php  
  1. class Refund extends ApiResource 
  2.  
  3. /** 
  4. * @param string $id The ID of the refund to retrieve. 
  5. * @param array|string|null $options 
  6. * @return Refund 
  7. */ 
  8. public static function retrieve($id, $options = null) 
  9. return self::_retrieve($id, $options); 
  10.  
  11. /** 
  12. * @param string $id The ID of the refund to update. 
  13. * @param array|null $params 
  14. * @param array|string|null $options 
  15. * @return Refund The updated refund. 
  16. */ 
  17. public static function update($id, $params = null, $options = null) 
  18. return self::_update($id, $params, $options); 
  19.  
  20. /** 
  21. * @param array|null $params 
  22. * @param array|string|null $options 
  23. * @return Collection of Refunds 
  24. */ 
  25. public static function all($params = null, $options = null) 
  26. return self::_all($params, $options); 
  27.  
  28. /** 
  29. * @param array|null $params 
  30. * @param array|string|null $options 
  31. * @return Refund The created refund. 
  32. */ 
  33. public static function create($params = null, $options = null) 
  34. return self::_create($params, $options); 
  35.  
  36. /** 
  37. * @param array|string|null $opts 
  38. * @return Refund The saved refund. 
  39. */ 
  40. public function save($opts = null) 
  41. return $this->_save($opts);