summaryrefslogtreecommitdiff
path: root/src/types
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-05-15 16:39:40 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-05-15 16:39:40 +0530
commit79d0c2f928e3b9a73d07f30a9ab63468c5f3634b (patch)
treeb1ab1e53231d0c15a4867984926df2755ad238a7 /src/types
parent3eb88574bcf327672c34120becfb511eac4e06cd (diff)
downloadwallet-core-79d0c2f928e3b9a73d07f30a9ab63468c5f3634b.tar.gz
wallet-core-79d0c2f928e3b9a73d07f30a9ab63468c5f3634b.tar.bz2
wallet-core-79d0c2f928e3b9a73d07f30a9ab63468c5f3634b.zip
include refund fees in effective refund amount calculation
Diffstat (limited to 'src/types')
-rw-r--r--src/types/dbTypes.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/types/dbTypes.ts b/src/types/dbTypes.ts
index 79966eb34..82649d9f6 100644
--- a/src/types/dbTypes.ts
+++ b/src/types/dbTypes.ts
@@ -1270,6 +1270,11 @@ export interface PurchaseRecord {
refundsFailed: { [refundKey: string]: RefundInfo };
/**
+ * Refresh cost for each refund permission.
+ */
+ refundsRefreshCost: { [refundKey: string]: AmountJson };
+
+ /**
* When was the last refund made?
* Set to 0 if no refund was made on the purchase.
*/