diff options
author | Marcos Gutierrez <gmarcos87@gmail.com> | 2020-01-31 11:21:23 -0300 |
---|---|---|
committer | Marcos Gutierrez <gmarcos87@gmail.com> | 2020-01-31 11:21:23 -0300 |
commit | 5f68f060a67ad36b87a25ca5d182c6f2dd9eb450 (patch) | |
tree | 59c399fdebdeb9a8a89b8dac5c5cd420f2029b2b | |
parent | d6d56479469f0e7fc050976908c7abcacd61bc27 (diff) |
add fulfillmentUrl to OrderShortInfo
-rw-r--r-- | src/operations/history.ts | 1 | ||||
-rw-r--r-- | src/types/history.ts | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/operations/history.ts b/src/operations/history.ts index b2b78fe13..2fb7854d2 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 52148cb04..30fe8e529 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; } /** |