add request for getting details about contract terms

This commit is contained in:
Sebastian 2022-08-08 13:51:06 -03:00
parent 614a3e3c87
commit 88bdcae030
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1
2 changed files with 14 additions and 0 deletions

View File

@ -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;

View File

@ -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;
}