[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] 01/02: add request for getting details about contrac
From: |
gnunet |
Subject: |
[taler-wallet-core] 01/02: add request for getting details about contract terms |
Date: |
Mon, 08 Aug 2022 18:53:13 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository wallet-core.
commit 88bdcae030ae845f412957f6455e44b009b490e2
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Aug 8 13:51:06 2022 -0300
add request for getting details about contract terms
---
packages/taler-util/src/transactionsTypes.ts | 5 +++++
packages/taler-util/src/walletTypes.ts | 9 +++++++++
2 files changed, 14 insertions(+)
diff --git a/packages/taler-util/src/transactionsTypes.ts
b/packages/taler-util/src/transactionsTypes.ts
index f7383f90..645f0120 100644
--- a/packages/taler-util/src/transactionsTypes.ts
+++ b/packages/taler-util/src/transactionsTypes.ts
@@ -344,6 +344,11 @@ export interface TransactionTip extends TransactionCommon {
// Raw amount of the tip, without extra fees that apply
amountRaw: AmountString;
+ /**
+ * More information about the merchant
+ */
+ // merchant: MerchantInfo;
+
// Amount will be (or was) added to the wallet's balance after fees and
refreshing
amountEffective: AmountString;
diff --git a/packages/taler-util/src/walletTypes.ts
b/packages/taler-util/src/walletTypes.ts
index 245b5654..9f7ba417 100644
--- a/packages/taler-util/src/walletTypes.ts
+++ b/packages/taler-util/src/walletTypes.ts
@@ -854,6 +854,15 @@ export const codecForAbortProposalRequest = ():
Codec<AbortProposalRequest> =>
.property("proposalId", codecForString())
.build("AbortProposalRequest");
+interface GetContractTermsDetailsRequest {
+ proposalId: string;
+}
+
+export const codecForGetContractTermsDetails = ():
Codec<GetContractTermsDetailsRequest> =>
+ buildCodecForObject<GetContractTermsDetailsRequest>()
+ .property("proposalId", codecForString())
+ .build("GetContractTermsDetails");
+
export interface PreparePayRequest {
talerPayUri: string;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.