| 1 |
<?php |
| 2 |
|
| 3 |
// File generated from our OpenAPI spec |
| 4 |
|
| 5 |
namespace Stripe; |
| 6 |
|
| 7 |
/** |
| 8 |
* To share the contents of a <code>File</code> object with non-Stripe users, you |
| 9 |
* can create a <code>FileLink</code>. <code>FileLink</code>s contain a URL that |
| 10 |
* can be used to retrieve the contents of the file without authentication. |
| 11 |
* |
| 12 |
* @property string $id Unique identifier for the object. |
| 13 |
* @property string $object String representing the object's type. Objects of the same type share the same value. |
| 14 |
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. |
| 15 |
* @property bool $expired Whether this link is already expired. |
| 16 |
* @property null|int $expires_at Time at which the link expires. |
| 17 |
* @property string|\Stripe\File $file The file object this link points to. |
| 18 |
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode. |
| 19 |
* @property \Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format. |
| 20 |
* @property null|string $url The publicly accessible URL to download the file. |
| 21 |
*/ |
| 22 |
class FileLink extends ApiResource |
| 23 |
{ |
| 24 |
const OBJECT_NAME = 'file_link'; |
| 25 |
|
| 26 |
use ApiOperations\All; |
| 27 |
use ApiOperations\Create; |
| 28 |
use ApiOperations\Retrieve; |
| 29 |
use ApiOperations\Update; |
| 30 |
} |
| 31 |
|