From 77a3d6f14d7ac9fb6a62dd5e052538f2a7d7cd0c Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 28 Jul 2020 20:23:11 +0530 Subject: syntax --- taler-wallet.rst | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/taler-wallet.rst b/taler-wallet.rst index 12fee3cd..ab204389 100644 --- a/taler-wallet.rst +++ b/taler-wallet.rst @@ -658,41 +658,41 @@ Prepare Pay :Response: .. ts:def:: PreparePayResponse - type PreparePayResponse = - | PreparePayPaymentPossibleResponse - | PreparePayAlreadyConfirmedResponse - | PreparePayInsufficientBalanceResponse; + type PreparePayResponse = + | PreparePayPaymentPossibleResponse + | PreparePayAlreadyConfirmedResponse + | PreparePayInsufficientBalanceResponse; - interface PreparePayPaymentPossibleResponse { - status: "payment-possible"; + interface PreparePayPaymentPossibleResponse { + status: "payment-possible"; - proposalId: string; + proposalId: string; - // Verbatim contract terms as generated by the merchant. - contractTermsRaw: any; - } + // Verbatim contract terms as generated by the merchant. + contractTermsRaw: any; + } - interface PreparePayInsufficientBalanceResponse { - status: "insufficient-balance"; + interface PreparePayInsufficientBalanceResponse { + status: "insufficient-balance"; - proposalId: string; + proposalId: string; - // Verbatim contract terms as generated by the merchant. - contractTermsRaw: any; - } + // Verbatim contract terms as generated by the merchant. + contractTermsRaw: any; + } - interface PreparePayAlreadyConfirmedResponse { - status: "already-confirmed"; + interface PreparePayAlreadyConfirmedResponse { + status: "already-confirmed"; - proposalId: string; + proposalId: string; - // Did the payment succeed? - paid: boolean; + // Did the payment succeed? + paid: boolean; - // Redirect URL for the fulfillment page, - // only given if paid==true. - nextUrl?: string; - } + // Redirect URL for the fulfillment page, + // only given if paid==true. + nextUrl?: string; + } Confirm Payment -- cgit v1.2.3