aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/src/transactions-types.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-03-29 15:14:02 -0300
committerSebastian <sebasjm@gmail.com>2023-03-29 15:14:24 -0300
commit74dba9506dba104d918c5386e67146f71f07436c (patch)
tree2d6434f66e2a14a56f0a748733462a0089bdee44 /packages/taler-util/src/transactions-types.ts
parent329b766ae78405e086e7b6f078168bc0c136d317 (diff)
downloadwallet-core-74dba9506dba104d918c5386e67146f71f07436c.tar.xz
show wire details when the deposit has been wired
Diffstat (limited to 'packages/taler-util/src/transactions-types.ts')
-rw-r--r--packages/taler-util/src/transactions-types.ts13
1 files changed, 12 insertions, 1 deletions
diff --git a/packages/taler-util/src/transactions-types.ts b/packages/taler-util/src/transactions-types.ts
index 9623e25a9..1d7e6ef30 100644
--- a/packages/taler-util/src/transactions-types.ts
+++ b/packages/taler-util/src/transactions-types.ts
@@ -535,7 +535,7 @@ export interface TransactionRefresh extends TransactionCommon {
/**
* Fees, i.e. the effective, negative effect of the refresh
* on the balance.
- *
+ *
* Only applicable for stand-alone refreshes, and zero for
* other refreshes where the transaction itself accounts for the
* refresh fee.
@@ -578,6 +578,17 @@ export interface TransactionDeposit extends TransactionCommon {
* Did all the deposit requests succeed?
*/
deposited: boolean;
+
+ trackingState: Array<{
+ // Raw wire transfer identifier of the deposit.
+ wireTransferId: string;
+ // When was the wire transfer given to the bank.
+ timestampExecuted: TalerProtocolTimestamp;
+ // Total amount transfer for this wtid (including fees)
+ amountRaw: AmountString;
+ // Total amount received for this wtid (without fees)
+ amountEffective: AmountString;
+ }>;
}
export interface TransactionByIdRequest {