Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class Card |
||
8 | { |
||
9 | 3 | public function __construct(protected Client $client) |
|
11 | } |
||
12 | |||
13 | /** |
||
14 | * Create card token. |
||
15 | * |
||
16 | * @see https://developer.vivawallet.com/apis-for-payments/payment-api/#tag/Transactions/paths/~1acquiring~1v1~1cards~1tokens/post |
||
17 | * |
||
18 | * @param array<string,mixed> $guzzleOptions |
||
19 | */ |
||
20 | 6 | public function createToken(string $transactionId, array $guzzleOptions = []): string |
|
36 |