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

34 lines 1.01 kB
export declare enum GatewayObjectStatus { waiting = "waiting", confirmed = "confirmed", cancelled = "cancelled", declined = "declined", authorized = "authorized", reserved = "reserved", refunded = "refunded", refundpending = "refundpending", 'partially-refunded' = "partially-refunded", chargeback = "chargeback", error = "error", uncaptured = "_" } export type GatewayObject = { status: GatewayObjectStatus; currency: string; amount: number; referenceId: string; invoices: { transactions: { id: string; }[]; }[]; }; export type TransactionObject = any; declare const createPayrexxAPI: (instance: string, secret: string) => { chargePreAuthorized(id: any, params: any): Promise<any>; deleteReservation(id: any): Promise<any>; getGateway(id: any): Promise<GatewayObject>; createGateway(params: any): Promise<GatewayObject>; }; export default createPayrexxAPI; //# sourceMappingURL=index.d.ts.map