Draft: [caissedepargne] Add more info in transaction raw property
This change adds more info to the raw property of transactions, according to what is returned by the CE API.
For example, a direct debit from EDF (French energy company) gives:
-
raw="PRLV EDF clients particuliers"
before this change -
raw="PRLV EDF clients particuliers - Numero de client : xxxx - Numero de compte : xxxx"
now
This change can also help retrieving a bank transfer label that would otherwise be missing.
Coalesce is used here because sometimes parsedData/transactionReason
is not defined, then we fallback to the value provided by parsedData/label2
.
If both are undefined we keep the original behavior and only return parsedData/originalText
.