aboutsummaryrefslogtreecommitdiff
path: root/src/walletTypes.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-08-31 13:27:12 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-08-31 13:27:12 +0200
commitc35b3be7957a90bd1e861c0502736aa1eb7acfbf (patch)
tree0d3277f26ac07131cf94f0600e055b191e88239f /src/walletTypes.ts
parentc3f47e8f5866838b8c58ad8762d636a2b3ec2217 (diff)
downloadwallet-core-c35b3be7957a90bd1e861c0502736aa1eb7acfbf.tar.xz
refund view
Diffstat (limited to 'src/walletTypes.ts')
-rw-r--r--src/walletTypes.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/walletTypes.ts b/src/walletTypes.ts
index 060401c2f..0d18e4a9b 100644
--- a/src/walletTypes.ts
+++ b/src/walletTypes.ts
@@ -502,3 +502,13 @@ export interface AcceptWithdrawalResponse {
reservePub: string;
confirmTransferUrl?: string;
}
+
+/**
+ * Details about a purchase, including refund status.
+ */
+export interface PurchaseDetails {
+ contractTerms: ContractTerms,
+ hasRefund: boolean,
+ totalRefundAmount: AmountJson,
+ totalRefundAndRefreshFees: AmountJson,
+} \ No newline at end of file