aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/src/transactionsTypes.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-05-26 15:55:14 -0300
committerSebastian <sebasjm@gmail.com>2022-05-26 15:57:12 -0300
commit24162c1086c017305253c78280a82bfa9a572b1e (patch)
tree6842f44dad3fc029d44349527df8d0b09b92852d /packages/taler-util/src/transactionsTypes.ts
parent72d936eaf99ad1d5ee156ba8f156a983f4ec613c (diff)
downloadwallet-core-24162c1086c017305253c78280a82bfa9a572b1e.tar.xz
transaction details template
mayor change in the template of the transaction details for every transaction more work needs to be done in wallet core for tip and refund to show more information about the merchant like logo and website
Diffstat (limited to 'packages/taler-util/src/transactionsTypes.ts')
-rw-r--r--packages/taler-util/src/transactionsTypes.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/taler-util/src/transactionsTypes.ts b/packages/taler-util/src/transactionsTypes.ts
index 37c1c7ef1..dcaa56675 100644
--- a/packages/taler-util/src/transactionsTypes.ts
+++ b/packages/taler-util/src/transactionsTypes.ts
@@ -33,6 +33,7 @@ import {
codecForInternationalizedString,
codecForMerchantInfo,
codecForProduct,
+ Location,
} from "./talerTypes.js";
import {
Codec,
@@ -277,6 +278,17 @@ export interface OrderShortInfo {
products: Product[] | undefined;
/**
+ * Time indicating when the order should be delivered.
+ * May be overwritten by individual products.
+ */
+ delivery_date?: TalerProtocolTimestamp;
+
+ /**
+ * Delivery location for (all!) products.
+ */
+ delivery_location?: Location;
+
+ /**
* URL of the fulfillment, given by the merchant
*/
fulfillmentUrl?: string;