commit d658ffbf0124b59b173c920ccbcd7ba7a33268fa
parent 9b99c7ad54c1421e35978b632aac5d06ff239092
Author: Sebastian <sebasjm@gmail.com>
Date: Wed, 29 Sep 2021 16:45:25 -0300
complete the contract terms in the example
Diffstat:
1 file changed, 20 insertions(+), 0 deletions(-)
diff --git 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
}
};