commit 5f68f060a67ad36b87a25ca5d182c6f2dd9eb450
parent d6d56479469f0e7fc050976908c7abcacd61bc27
Author: Marcos Gutierrez <gmarcos87@gmail.com>
Date: Fri, 31 Jan 2020 11:21:23 -0300
add fulfillmentUrl to OrderShortInfo
Diffstat:
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git 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
@@ -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;
}
/**