@@ 24-32 (lines=9) @@ | ||
21 | * |
|
22 | * @return $this |
|
23 | */ |
|
24 | public function all(): self |
|
25 | { |
|
26 | // Set HTTP params |
|
27 | $this->type = 'get'; |
|
28 | $this->endpoint = '/customers' . '?' . $this->getQuery(); |
|
29 | $this->response = CustomersList::class; |
|
30 | ||
31 | return $this; |
|
32 | } |
|
33 | ||
34 | /** |
|
35 | * Create a new customer. |
@@ 23-31 (lines=9) @@ | ||
20 | * |
|
21 | * @return $this |
|
22 | */ |
|
23 | public function all(): self |
|
24 | { |
|
25 | // Set HTTP params |
|
26 | $this->type = 'get'; |
|
27 | $this->endpoint = '/webhooks' . '?' . $this->getQuery(); |
|
28 | $this->response = WebhooksList::class; |
|
29 | ||
30 | return $this; |
|
31 | } |
|
32 | ||
33 | /** |
|
34 | * Create a new webhook |