Skip to content

Commit

Permalink
add support for 1822-DIREKT-HELADEF1822 transaction information (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-fidd authored Nov 9, 2024
1 parent 266de16 commit b1bf7ee
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/app-gocardless/banks/1822-direkt-heladef1822.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import Fallback from './integration-bank.js';

/** @type {import('./bank.interface.js').IBank} */
export default {
...Fallback,

institutionIds: ['DIREKT_HELADEF1822'],

normalizeTransaction(transaction, booked) {
transaction.remittanceInformationUnstructured =
transaction.remittanceInformationUnstructured ??
transaction.remittanceInformationStructured;

return Fallback.normalizeTransaction(transaction, booked);
},
};
6 changes: 6 additions & 0 deletions upcoming-release-notes/484.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Enhancements
authors: [matt-fidd]
---

Add support for `1822-DIREKT-HELADEF1822` transaction information

0 comments on commit b1bf7ee

Please sign in to comment.