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