[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] 02/03: add fulfillmentUrl to OrderShortInfo
From: |
gnunet |
Subject: |
[taler-wallet-core] 02/03: add fulfillmentUrl to OrderShortInfo |
Date: |
Fri, 31 Jan 2020 15:51:13 +0100 |
This is an automated email from the git hooks/post-receive script.
marcos-gutierrez pushed a commit to branch master
in repository wallet-core.
commit 5f68f060a67ad36b87a25ca5d182c6f2dd9eb450
Author: Marcos Gutierrez <address@hidden>
AuthorDate: Fri Jan 31 11:21:23 2020 -0300
add fulfillmentUrl to OrderShortInfo
---
src/operations/history.ts | 1 +
src/types/history.ts | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/src/operations/history.ts b/src/operations/history.ts
index b2b78fe1..2fb7854d 100644
--- a/src/operations/history.ts
+++ b/src/operations/history.ts
@@ -60,6 +60,7 @@ function getOrderShortInfo(
}
return {
amount: Amounts.toString(download.contractData.amount),
+ fulfillmentUrl: download.contractData.fulfillmentUrl,
orderId: download.contractData.orderId,
merchantBaseUrl: download.contractData.merchantBaseUrl,
proposalId: proposal.proposalId,
diff --git a/src/types/history.ts b/src/types/history.ts
index 52148cb0..30fe8e52 100644
--- a/src/types/history.ts
+++ b/src/types/history.ts
@@ -392,6 +392,11 @@ export interface OrderShortInfo {
* Summary of the proposal, given by the merchant.
*/
summary: string;
+
+ /**
+ * URL of the fulfillment, given by the merchant.
+ */
+ fulfillmentUrl: string;
}
/**
--
To stop receiving notification emails like this one, please contact
address@hidden.