summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/types/dbTypes.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-08-20 14:34:56 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-08-20 14:34:56 +0530
commita8fb16021d6f71e6d0c7fae6b440e5c3197b8867 (patch)
treeff893a899e34d7f94dad420b0a6907e95f2942cb /packages/taler-wallet-core/src/types/dbTypes.ts
parent786976e5a8e10f6a3eab50cacbefe98d8b2364f5 (diff)
downloadwallet-core-a8fb16021d6f71e6d0c7fae6b440e5c3197b8867.tar.gz
wallet-core-a8fb16021d6f71e6d0c7fae6b440e5c3197b8867.tar.bz2
wallet-core-a8fb16021d6f71e6d0c7fae6b440e5c3197b8867.zip
handle withdrawals aborted by the bank, add test
Diffstat (limited to 'packages/taler-wallet-core/src/types/dbTypes.ts')
-rw-r--r--packages/taler-wallet-core/src/types/dbTypes.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/types/dbTypes.ts b/packages/taler-wallet-core/src/types/dbTypes.ts
index 42192dd9a..82260963b 100644
--- a/packages/taler-wallet-core/src/types/dbTypes.ts
+++ b/packages/taler-wallet-core/src/types/dbTypes.ts
@@ -76,6 +76,11 @@ export enum ReserveRecordStatus {
* by the user.
*/
DORMANT = "dormant",
+
+ /**
+ * The bank aborted the withdrawal.
+ */
+ BANK_ABORTED = "bank-aborted",
}
export interface RetryInfo {