FileUpload.php 629 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace Stripe;
  3. /**
  4. * Class FileUpload
  5. *
  6. * @property string $id
  7. * @property string $object
  8. * @property int $created
  9. * @property string $filename
  10. * @property string $purpose
  11. * @property int $size
  12. * @property string $type
  13. * @property string $url
  14. *
  15. * @package Stripe
  16. */
  17. class FileUpload extends ApiResource
  18. {
  19. const OBJECT_NAME = "file_upload";
  20. use ApiOperations\All;
  21. use ApiOperations\Create;
  22. use ApiOperations\Retrieve;
  23. public static function baseUrl()
  24. {
  25. return Stripe::$apiUploadBase;
  26. }
  27. public static function classUrl()
  28. {
  29. return '/v1/files';
  30. }
  31. }