add request for getting details about contract terms
This commit is contained in:
parent
614a3e3c87
commit
88bdcae030
@ -344,6 +344,11 @@ export interface TransactionTip extends TransactionCommon {
|
|||||||
// Raw amount of the tip, without extra fees that apply
|
// Raw amount of the tip, without extra fees that apply
|
||||||
amountRaw: AmountString;
|
amountRaw: AmountString;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* More information about the merchant
|
||||||
|
*/
|
||||||
|
// merchant: MerchantInfo;
|
||||||
|
|
||||||
// Amount will be (or was) added to the wallet's balance after fees and refreshing
|
// Amount will be (or was) added to the wallet's balance after fees and refreshing
|
||||||
amountEffective: AmountString;
|
amountEffective: AmountString;
|
||||||
|
|
||||||
|
@ -854,6 +854,15 @@ export const codecForAbortProposalRequest = (): Codec<AbortProposalRequest> =>
|
|||||||
.property("proposalId", codecForString())
|
.property("proposalId", codecForString())
|
||||||
.build("AbortProposalRequest");
|
.build("AbortProposalRequest");
|
||||||
|
|
||||||
|
interface GetContractTermsDetailsRequest {
|
||||||
|
proposalId: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export const codecForGetContractTermsDetails = (): Codec<GetContractTermsDetailsRequest> =>
|
||||||
|
buildCodecForObject<GetContractTermsDetailsRequest>()
|
||||||
|
.property("proposalId", codecForString())
|
||||||
|
.build("GetContractTermsDetails");
|
||||||
|
|
||||||
export interface PreparePayRequest {
|
export interface PreparePayRequest {
|
||||||
talerPayUri: string;
|
talerPayUri: string;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user