|
2 | 2 |
|
3 | 3 | namespace SpojeNet\KbAccountsApi\Entity; |
4 | 4 |
|
5 | | -use DateTimeImmutable; |
6 | | - |
7 | 5 | class Transaction |
8 | 6 | { |
9 | 7 | public function __construct( |
10 | | - public readonly DateTimeImmutable $lastUpdated, |
11 | | - public readonly ?DateTimeImmutable $bookingDate, |
| 8 | + public readonly \DateTimeImmutable $lastUpdated, |
| 9 | + public readonly TransactionAccountType $accountType, |
| 10 | + public readonly ?string $entryReference, |
| 11 | + public readonly string $iban, |
12 | 12 | public readonly CreditDebit $creditDebitIndicator, |
13 | 13 | public readonly TransactionType $transactionType, |
| 14 | + public readonly BankTransactionCode $bankTransactionCode, |
| 15 | + public readonly Amount $amount, |
| 16 | + public readonly ?\DateTimeImmutable $bookingDate, |
| 17 | + public readonly ?\DateTimeImmutable $valueDate, |
| 18 | + public readonly ?Amount $instructed, |
| 19 | + public readonly ?bool $reversalIndicator, |
14 | 20 | public readonly ?TransactionStatus $status, |
15 | | - public readonly string $counterPartyIban, |
16 | | - public readonly string $counterPartyName, |
17 | | - public readonly float $amountValue, |
18 | | - public readonly string $currency, |
19 | | - public readonly string $variable, |
20 | | - public readonly string $constant, |
21 | | - public readonly string $specific, |
22 | | - public readonly string $note, |
23 | | - public readonly string $additionalTransactionInformation, |
| 21 | + public readonly ?TransactionCounterParty $counterParty, |
| 22 | + public readonly ?TransactionReferences $references, |
| 23 | + public readonly ?string $additionalTransactionInformation, |
| 24 | + public readonly ?TransactionCardDetails $cardTransactionDetails, |
24 | 25 | ) { |
25 | 26 | } |
26 | 27 | } |
0 commit comments