1 | <?php namespace Arcanedev\Stripe\Resources; |
||
21 | class EphemeralKey extends StripeResource implements EphemeralKeyContract |
||
22 | { |
||
23 | /* ----------------------------------------------------------------- |
||
24 | | Getters & Setters |
||
25 | | ----------------------------------------------------------------- |
||
26 | */ |
||
27 | |||
28 | /** |
||
29 | * Get The name of the class, with namespacing and underscores stripped. |
||
30 | * |
||
31 | * @param string $class |
||
32 | * |
||
33 | * @return string |
||
34 | */ |
||
35 | public static function className($class = '') |
||
39 | |||
40 | /* ----------------------------------------------------------------- |
||
41 | | Main Methods |
||
42 | | ----------------------------------------------------------------- |
||
43 | */ |
||
44 | |||
45 | /** |
||
46 | * Create the Ephemeral Key. |
||
47 | * |
||
48 | * @param array|null $params |
||
49 | * @param array|string|null $options |
||
50 | * |
||
51 | * @return self |
||
52 | */ |
||
53 | 15 | public static function create($params = [], $options = null) |
|
63 | |||
64 | /** |
||
65 | * Delete the Ephemeral Key. |
||
66 | * |
||
67 | * @param array|null $params |
||
68 | * @param array|string|null $options |
||
69 | * |
||
70 | * @return self |
||
71 | */ |
||
72 | 3 | public function delete($params = [], $options = null) |
|
76 | } |
||
77 |