Skip to content

Add support for BBAN credit transfers#112

Open
olleolleolle wants to merge 1 commit into
salesking:masterfrom
barsoom:add-support-for-bban
Open

Add support for BBAN credit transfers#112
olleolleolle wants to merge 1 commit into
salesking:masterfrom
barsoom:add-support-for-bban

Conversation

@olleolleolle

@olleolleolle olleolleolle commented Jun 8, 2022

Copy link
Copy Markdown
Contributor

This is a reformulation of #101 - with fewer changes in the same Pull Request.

This PR adds support for credit transfer transactions to BBAN accounts.

This improves support for Swedish users who may not have user accounts in IBAN format.

Details

Here's a short list of what changes have been included.

  • IBANValidator: an empty IBAN is not checked within this validator, but is checked as a separate concern.
  • Account: validate presence of iban.
  • Transaction: validate iban or bban being present.
  • Transaction gains a few new attributes to support BBAN account numbers, and how to express them.
    • :bban for things like Swedish Bankgiro, in the form 5748964.
    • :bban_proprietary for naming the kind of BBAN account (defaults to BBAN), e.g. BGNR.
    • :clearing_code e.g. SESBA (Sweden Bankgiro Clearing Code).
    • :clearing_bank_identifier e.g. 9900 (clearing number for transactions with BankGiro, Bankgirocentralen (BGC)) or 9960 (clearing number for transactions with Plusgiro).

The files that were created in tests were validated with the proprietary SEB Test Bench.

@olleolleolle olleolleolle marked this pull request as ready for review June 8, 2022 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants