1 | <?php namespace Arcanedev\Stripe\Bases; |
||
17 | abstract class ExternalAccount extends StripeResource |
||
18 | { |
||
19 | /* ------------------------------------------------------------------------------------------------ |
||
20 | | Getters & Setters |
||
21 | | ------------------------------------------------------------------------------------------------ |
||
22 | */ |
||
23 | /** |
||
24 | * Get The instance URL for this resource. |
||
25 | * It needs to be special cased because it doesn't fit into the standard resource pattern. |
||
26 | * |
||
27 | * @throws InvalidRequestException |
||
28 | * |
||
29 | * @return string |
||
30 | */ |
||
31 | 20 | public function instanceUrl() |
|
68 | |||
69 | /* ------------------------------------------------------------------------------------------------ |
||
70 | | Main Functions |
||
71 | | ------------------------------------------------------------------------------------------------ |
||
72 | */ |
||
73 | /** |
||
74 | * Delete an external account. |
||
75 | * |
||
76 | * @param array|null $params |
||
77 | * @param array|string|null $options |
||
78 | * |
||
79 | * @return self |
||
80 | */ |
||
81 | 6 | public function delete($params = [], $options = null) |
|
85 | |||
86 | /** |
||
87 | * Save an external account. |
||
88 | * |
||
89 | * @param array|string|null $options |
||
90 | * |
||
91 | * @return self |
||
92 | */ |
||
93 | 6 | public function save($options = null) |
|
97 | |||
98 | /** |
||
99 | * Verify the external account. |
||
100 | * |
||
101 | * @param array|null $params |
||
102 | * @param array|string|null $options |
||
103 | * |
||
104 | * @return self |
||
105 | * |
||
106 | * @throws \Arcanedev\Stripe\Exceptions\ApiException |
||
107 | */ |
||
108 | public function verify($params = [], $options = null) |
||
119 | } |
||
120 |