Skip to content

Commit

Permalink
fix!: debit currency
Browse files Browse the repository at this point in the history
  • Loading branch information
brokeyourbike committed Apr 19, 2024
1 parent 43e21a8 commit 59e6f45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public function send(TransactionInterface $transaction): ?Response
->withBeneficiaryBankCode($transaction->getRecipientBankCode())
->withBeneficiaryName($transaction->getRecipientName())
->withDebitAccount($this->config->getDebitAccount())
->withDebitCurrency($this->config->getDebitAccountCurrency())
->withTransactionRef($transaction->getReference())
->withPaymentDueDate($transaction->getDueDate()->format('d/m/Y')))
)
Expand Down
1 change: 1 addition & 0 deletions src/Interfaces/ConfigInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ public function getCompanyCode(): string;
public function getUsername(): string;
public function getPassword(): string;
public function getDebitAccount(): string;
public function getDebitAccountCurrency(): string;
}

0 comments on commit 59e6f45

Please sign in to comment.