| 1: | <?php |
| 2: | |
| 3: | namespace IPay\Contracts; |
| 4: | |
| 5: | use IPay\Resources\Transactions; |
| 6: | use IPay\ValueObjects\Account; |
| 7: | use IPay\ValueObjects\Customer; |
| 8: | |
| 9: | /** |
| 10: | * @phpstan-type ParametersType = array<string, int|string> |
| 11: | */ |
| 12: | abstract class AbstractApi |
| 13: | { |
| 14: | public Customer $customer; |
| 15: | |
| 16: | /** @var list<Account> */ |
| 17: | public array $accounts; |
| 18: | |
| 19: | abstract public function transactions(?string $accountNumber = null): Transactions; |
| 20: | } |
| 21: |