summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/types
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-08-10 16:48:38 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-08-10 16:48:38 +0530
commit66d76a35912d7687d76b349f1cac462306306d3f (patch)
tree3cdfce8178c3928dbcfc13263f8752b3f9ca9c7b /packages/taler-wallet-core/src/types
parent5f8714091aac80144be118fa6427d65222e7509c (diff)
downloadwallet-core-66d76a35912d7687d76b349f1cac462306306d3f.tar.gz
wallet-core-66d76a35912d7687d76b349f1cac462306306d3f.tar.bz2
wallet-core-66d76a35912d7687d76b349f1cac462306306d3f.zip
simplify refunds a bit, show in transaction history, add integration tests
Diffstat (limited to 'packages/taler-wallet-core/src/types')
-rw-r--r--packages/taler-wallet-core/src/types/transactions.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/taler-wallet-core/src/types/transactions.ts b/packages/taler-wallet-core/src/types/transactions.ts
index de378f51a..fe5580f85 100644
--- a/packages/taler-wallet-core/src/types/transactions.ts
+++ b/packages/taler-wallet-core/src/types/transactions.ts
@@ -218,7 +218,7 @@ export interface TransactionPayment extends TransactionCommon {
amountEffective: AmountString;
}
-interface PaymentShortInfo {
+export interface PaymentShortInfo {
/**
* Order ID, uniquely identifies the order within a merchant instance
*/
@@ -259,9 +259,6 @@ interface TransactionRefund extends TransactionCommon {
// Additional information about the refunded payment
info: PaymentShortInfo;
- // Part of the refund that couldn't be applied because the refund permissions were expired
- amountInvalid: AmountString;
-
// Amount that has been refunded by the merchant
amountRaw: AmountString;