ValueList.php
36 lines
| 1 | <?php |
| 2 | |
| 3 | // File generated from our OpenAPI spec |
| 4 | |
| 5 | namespace Stripe\Radar; |
| 6 | |
| 7 | /** |
| 8 | * Value lists allow you to group values together which can then be referenced in |
| 9 | * rules. |
| 10 | * |
| 11 | * Related guide: <a |
| 12 | * href="https://stripe.com/docs/radar/lists#managing-list-items">Default Stripe |
| 13 | * Lists</a>. |
| 14 | * |
| 15 | * @property string $id Unique identifier for the object. |
| 16 | * @property string $object String representing the object's type. Objects of the same type share the same value. |
| 17 | * @property string $alias The name of the value list for use in rules. |
| 18 | * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. |
| 19 | * @property string $created_by The name or email address of the user who created this value list. |
| 20 | * @property string $item_type The type of items in the value list. One of <code>card_fingerprint</code>, <code>card_bin</code>, <code>email</code>, <code>ip_address</code>, <code>country</code>, <code>string</code>, <code>case_sensitive_string</code>, or <code>customer_id</code>. |
| 21 | * @property \Stripe\Collection<\Stripe\Radar\ValueListItem> $list_items List of items contained within this value list. |
| 22 | * @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. |
| 23 | * @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. |
| 24 | * @property string $name The name of the value list. |
| 25 | */ |
| 26 | class ValueList extends \Stripe\ApiResource |
| 27 | { |
| 28 | const OBJECT_NAME = 'radar.value_list'; |
| 29 | |
| 30 | use \Stripe\ApiOperations\All; |
| 31 | use \Stripe\ApiOperations\Create; |
| 32 | use \Stripe\ApiOperations\Delete; |
| 33 | use \Stripe\ApiOperations\Retrieve; |
| 34 | use \Stripe\ApiOperations\Update; |
| 35 | } |
| 36 |