summaryrefslogtreecommitdiff
path: root/packages/taler-util/src/wallet-types.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-03-25 12:06:57 +0100
committerFlorian Dold <florian@dold.me>2024-03-25 12:06:57 +0100
commite9bdeb71b7e66d2fbbeab869b3115de88b626890 (patch)
tree879791d46fe7dbcd710840d7319a760143c3af8f /packages/taler-util/src/wallet-types.ts
parentbc29fc73aed60c83b4e508754a40c1deed798cbd (diff)
downloadwallet-core-e9bdeb71b7e66d2fbbeab869b3115de88b626890.tar.gz
wallet-core-e9bdeb71b7e66d2fbbeab869b3115de88b626890.tar.bz2
wallet-core-e9bdeb71b7e66d2fbbeab869b3115de88b626890.zip
wallet-core: pass extended bank account info to UI
Also pre-sort accounts by priority
Diffstat (limited to 'packages/taler-util/src/wallet-types.ts')
-rw-r--r--packages/taler-util/src/wallet-types.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts
index 5916eb968..0b09b0dbf 100644
--- a/packages/taler-util/src/wallet-types.ts
+++ b/packages/taler-util/src/wallet-types.ts
@@ -3020,6 +3020,16 @@ export interface WithdrawalExchangeAccountDetails {
creditRestrictions?: AccountRestriction[];
/**
+ * Label given to the account or the account's bank by the exchange.
+ */
+ bankLabel?: string;
+
+ /*
+ * Display priority assigned to this bank account by the exchange.
+ */
+ priority?: number;
+
+ /**
* Error that happened when attempting to request the conversion rate.
*/
conversionError?: TalerErrorDetail;