summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2021-09-29 16:45:25 -0300
committerSebastian <sebasjm@gmail.com>2021-09-29 16:45:25 -0300
commitd658ffbf0124b59b173c920ccbcd7ba7a33268fa (patch)
tree40499227b93aa1ebe0914e76ec9291526f44a8df
parent9b99c7ad54c1421e35978b632aac5d06ff239092 (diff)
downloadmerchant-backoffice-d658ffbf0124b59b173c920ccbcd7ba7a33268fa.tar.gz
merchant-backoffice-d658ffbf0124b59b173c920ccbcd7ba7a33268fa.tar.bz2
merchant-backoffice-d658ffbf0124b59b173c920ccbcd7ba7a33268fa.zip
complete the contract terms in the example
-rw-r--r--packages/backend/src/pages/ShowOrderDetails.stories.tsx20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/backend/src/pages/ShowOrderDetails.stories.tsx b/packages/backend/src/pages/ShowOrderDetails.stories.tsx
index 5274a71..616af7f 100644
--- a/packages/backend/src/pages/ShowOrderDetails.stories.tsx
+++ b/packages/backend/src/pages/ShowOrderDetails.stories.tsx
@@ -48,6 +48,26 @@ const defaultContractTerms: MerchantBackend.ContractTerms = {
name: 'the merchant (inc)',
address: {},
jurisdiction: {},
+ },
+ max_fee: '',
+ max_wire_fee: '',
+ wire_fee_amortization: 1,
+ products: [],
+ timestamp: {
+ t_ms: new Date().getTime()
+ },
+ auditors: [],
+ exchanges: [],
+ h_wire: '',
+ merchant_base_url : '://merchant.base.url/',
+ merchant_pub: 'QWEASDQWEASD',
+ nonce: 'NONCE',
+ refund_deadline: {
+ t_ms: new Date().getTime() + 6 * 24 * 60 * 60 * 1000
+ },
+ wire_method: 'x-taler-bank',
+ wire_transfer_deadline: {
+ t_ms: new Date().getTime() + 3 * 24 * 60 * 60 * 1000
}
};