Added stripe package (#1085)
[openemr.git] / vendor / stripe / stripe-php / lib / Token.php
blob93ad748db9db61d1ec260ee94cfc1bf51b337305
1 <?php
3 namespace Stripe;
5 /**
6 * Class Token
8 * @property string $id
9 * @property string $object
10 * @property mixed $bank_account
11 * @property mixed $card
12 * @property mixed $client_ip
13 * @property int $created
14 * @property bool $livemode
15 * @property string $type
16 * @property bool $used
18 * @package Stripe
20 class Token extends ApiResource
22 /**
23 * @param array|string $id The ID of the token to retrieve, or an options
24 * array containing an `id` key.
25 * @param array|string|null $opts
27 * @return Token
29 public static function retrieve($id, $opts = null)
31 return self::_retrieve($id, $opts);
34 /**
35 * @param array|null $params
36 * @param array|string|null $opts
38 * @return Token The created token.
40 public static function create($params = null, $opts = null)
42 return self::_create($params, $opts);