Skip to content
This repository has been archived by the owner on Nov 7, 2021. It is now read-only.

Add dnb credit transfer #41

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
3902432
Add BBAN
Fredrik02 Nov 6, 2018
5d0cf2d
Change package name
Fredrik02 Nov 6, 2018
7fcb8f9
Use account interface
fredrik01 Nov 6, 2018
f8dee1b
Remove check for specific currency in BankTransfer. Add test for BBAN.
fredrik01 Nov 6, 2018
0f51eb8
Change contact details structure
fredrik01 Nov 6, 2018
11f93d0
make it possible to pass in initiatingparty id
Nov 7, 2018
fddeb4b
actually insert the initating party id into header
Nov 7, 2018
b6e0470
Use SESBA in IID class
fredrik01 Nov 7, 2018
2074d80
Allow swedish iban
fredrik01 Nov 7, 2018
5a1de89
Remove test file
fredrik01 Nov 7, 2018
03f91f0
add mpns service level on bankcredittransfers
Nov 14, 2018
b8d9b41
revert servicelevel adjustment on bankcredittransfer. Add SEB specifi…
Nov 14, 2018
aa1651e
add servicelevel and localinstrments as optional arguments to payment…
Nov 14, 2018
dc8e794
actually set the localinstrument and servicelevel to passed in arugments
Nov 14, 2018
3c5c28d
make a proper check for localinstrumentand servicelevel. We want to a…
Nov 15, 2018
9c54e74
swap order of localinstrument and servicelevel on paymentinformation …
Nov 15, 2018
15867fe
swap servicelevel and localinstrument subelement to be correct
Dec 3, 2018
57ca032
add failing string to output when asserting strings
Dec 10, 2018
2d92315
add failing string to output when asserting strings, in the right pla…
Dec 10, 2018
b0caff7
allow for å and Å in text
Dec 10, 2018
8ead300
changes to BBAN structure to comply with SEB
Dec 11, 2018
4a0f390
add Ø as valid text
Dec 12, 2018
e0ee435
add additional logging to IID error message
Dec 12, 2018
f0a64a9
add æ and Æ as valid characters in text
Jan 25, 2019
9302fcf
remove registrationnumber from bban since we put that in IID instead
Jan 31, 2019
72dc823
add character for allowed text
Feb 26, 2019
23ed4f9
add support for Ð and ð as text
Jun 4, 2019
36eac30
Update composer.json
frilansfinans Jun 26, 2019
1716125
Update CHANGELOG.md
frilansfinans Jun 26, 2019
60f72f6
add class to create payment file for DNB
Jun 3, 2020
6fbf5f4
update dnbdom functions
AndreasWiig Sep 7, 2020
2710795
new version 1.1.0
AndreasWiig Sep 10, 2020
fd879db
add closing bracket in CustomerCreditTransfer.php
AndreasWiig Sep 23, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
make a proper check for localinstrumentand servicelevel. We want to a…
…llow for either levels but not both
  • Loading branch information
Stefan Karlsson committed Nov 15, 2018
commit 3c5c28d83e94cb4855ae6487ec61d6c3555da06d
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,10 @@ public function asDom(\DOMDocument $doc)

foreach ($this->transactions as $transaction) {
if ($this->hasPaymentTypeInformation()) {
if ($transaction->getLocalInstrument() !== $localInstrument) {
if (!empty($transaction->getLocalInstrument()) && $transaction->getLocalInstrument() !== $localInstrument) {
throw new \LogicException('You can not set the local instrument on B- and C-level.');
}
if ($transaction->getServiceLevel() !== $serviceLevel) {
if (!empty($transaction->getServiceLevel()) && $transaction->getServiceLevel() !== $serviceLevel) {
throw new \LogicException('You can not set the service level on B- and C-level.');
}
}
Expand Down