PPPStripeFileUpload

Class FileUpload.

Defined (1)

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

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