1
0
mirror of https://gitlab.com/openlp/website.git synced 2024-12-22 04:52:49 +00:00
website/files/stripe/lib/FileUpload.php

63 lines
1.3 KiB
PHP

<?php
namespace Stripe;
/**
* Class FileUpload
*
* @property string $id
* @property string $object
* @property int $created
* @property string $purpose
* @property int $size
* @property string $type
*
* @package Stripe
*/
class FileUpload extends ApiResource
{
public static function baseUrl()
{
return Stripe::$apiUploadBase;
}
public static function className()
{
return 'file';
}
/**
* @param array|string $id The ID of the file upload to retrieve, or an
* options array containing an `id key.
* @param array|string|null $opts
*
* @return FileUpload
*/
public static function retrieve($id, $opts = null)
{
return self::_retrieve($id, $opts);
}
/**
* @param array|null $params
* @param array|string|null $opts
*
* @return FileUpload The created file upload.
*/
public static function create($params = null, $opts = null)
{
return self::_create($params, $opts);
}
/**
* @param array|null $params
* @param array|string|null $opts
*
* @return Collection of FileUploads
*/
public static function all($params = null, $opts = null)
{
return self::_all($params, $opts);
}
}