PPPStripeSource

Class Source.

Defined (1)

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

/includes/api/stripe-php/lib/Source.php  
  1. class Source extends ApiResource 
  2. /** 
  3. * @param string $id The ID of the Source to retrieve. 
  4. * @param array|string|null $opts 
  5. * @return Source 
  6. */ 
  7. public static function retrieve($id, $opts = null) 
  8. return self::_retrieve($id, $opts); 
  9.  
  10. /** 
  11. * @param array|null $params 
  12. * @param array|string|null $opts 
  13. * @return Collection of Sources 
  14. */ 
  15. public static function all($params = null, $opts = null) 
  16. return self::_all($params, $opts); 
  17.  
  18. /** 
  19. * @param array|null $params 
  20. * @param array|string|null $opts 
  21. * @return Source The created Source. 
  22. */ 
  23. public static function create($params = null, $opts = null) 
  24. return self::_create($params, $opts);