UNPKG

@unchainedshop/plugins

Version:

Because of a Typescript issue with upstream "postfinancecheckout", the Postfinance plugin has been disabled from transpilation, import the source ts files from src and enable node_module tsc or copy over the src/payment/postfinance-checkout to your projec

12 lines 1.12 kB
import * as pf from 'postfinancecheckout'; export declare const getTransaction: (transactionId: string) => Promise<pf.PostFinanceCheckout.model.Transaction>; export declare const getTransactionCompletion: (entityId: string) => Promise<pf.PostFinanceCheckout.model.TransactionCompletion>; export declare const getToken: (spaceId: number, tokenId: number) => Promise<pf.PostFinanceCheckout.model.Token>; export declare const createTransaction: (transaction: pf.PostFinanceCheckout.model.TransactionCreate) => Promise<number | null>; export declare const voidTransaction: (transactionId: string) => Promise<boolean>; export declare const refundTransaction: (transactionId: string, orderId: string, amount: number) => Promise<boolean>; export declare const confirmDeferredTransaction: (transactionId: string) => Promise<boolean>; export declare const getPaymentPageUrl: (transactionId: number) => Promise<string>; export declare const getLightboxJavascriptUrl: (transactionId: number) => Promise<string>; export declare const getIframeJavascriptUrl: (transactionId: number) => Promise<string>; //# sourceMappingURL=api.d.ts.map