Added missing handling of card refunds for portfolio performance csv export #87
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently, refunds on Visa credit card transactions are not included in the Portfolio Performance CSV.
[ { "id": "bc663404-36f7-5027-b0a6-ca9f856b7acb", "timestamp": "2024-06-28T06:36:08.258+0000", "title": "Amazon", "icon": "logos/merchant-9c4e270f-84f4-4c45-9bfe-026d66d148b1/v2", "badge": null, "subtitle": null, "amount": { "currency": "EUR", "value": 9.99, "fractionDigits": 2 }, "subAmount": null, "status": "EXECUTED", "action": { "type": "timelineDetail", "payload": "bc663404-36f7-5027-b0a6-ca9f856b7acb" }, "eventType": "card_refund", "source": "timelineTransaction", "details": { "id": "bc663404-36f7-5027-b0a6-ca9f856b7acb", "sections": [ { "title": "Du hast 9,99 € erhalten", "data": { "icon": "logos/merchant-9c4e270f-84f4-4c45-9bfe-026d66d148b1/v2", "subtitleText": null, "timestamp": "2024-06-28T06:36:08.258+0000", "status": "executed" }, "action": null, "type": "header" }, { "title": "Übersicht", "data": [ { "title": "Status", "detail": { "text": "Fertig", "functionalStyle": "EXECUTED", "type": "status" }, "style": "plain" }, { "title": "Zahlungsart", "detail": { "text": "Rückerstattung", "trend": null, "action": null, "type": "text" }, "style": "plain" }, { "title": "Händler", "detail": { "text": "Amazon", "trend": null, "action": null, "type": "text" }, "style": "plain" } ], "action": null, "type": "table" } ] } } ]
This pull request implements the handling for these timeline entries.