maxipago-sdk-js
Version:
SDK Node.js for maxiPago! gateway
20 lines (19 loc) • 2.27 kB
TypeScript
import { Options } from 'xml2js';
import * as types from './types';
export declare const buildCreateCustomer: (customer: Omit<types.Customer, 'customerId'>, MPAuth: types.MaxiPagoAuth, XMLOptions: Options) => string;
export declare const buildUpdateCustomer: (customer: types.Customer, MPAuth: types.MaxiPagoAuth, XMLOptions: Options) => string;
export declare const buildDeleteCustomer: (customer: types.Customer, MPAuth: types.MaxiPagoAuth, XMLOptions: Options) => string;
export declare const buildAddCard: (card: types.CreateCard, MPAuth: types.MaxiPagoAuth, XMLOptions: Options) => string;
export declare const buildDeleteCard: (card: types.DeleteCard, MPAuth: types.MaxiPagoAuth, XMLOptions: Options) => string;
export declare const buildAuthorization: (order: types.Order, MPAuth: types.MaxiPagoAuth, XMLOptions: Options) => string;
export declare const buildCapture: (capture: types.OrderCapture, MPAuth: types.MaxiPagoAuth, XMLOptions: Options) => string;
export declare const buildSale: (sale: types.Order, MPAuth: types.MaxiPagoAuth, XMLOptions: Options) => string;
export declare const buildVoid: (_void: types.Void, MPAuth: types.MaxiPagoAuth, XMLOptions: Options) => string;
export declare const buildChargeback: (chargeback: types.ChargebackModel, MPAuth: types.MaxiPagoAuth, XMLOptions: Options) => string;
export declare const buildCreateRecurrence: (recurrence: types.Order, MPAuth: types.MaxiPagoAuth, XMLOptions: Options) => string;
export declare const buildUpdateRecorrence: (recurrence: types.Recurrence, MPAuth: types.MaxiPagoAuth, XMLOptions: Options) => string;
export declare const buildCancelRecurrence: (recurrence: types.DeleteRecurrence, MPAuth: types.MaxiPagoAuth, XMLOptions: Options) => string;
export declare const buildGetTransaction: (transaction: types.TransactionQuery, MPAuth: types.MaxiPagoAuth, XMLOptions: Options) => string;
export declare const buildZeroDollar: (zeroDollar: types.ZeroDollar, MPAuth: types.MaxiPagoAuth, XMLOptions: Options) => string;
export declare const buildZeroDollarToken: (zeroDollarToken: types.ZeroDollarToken, MPAuth: types.MaxiPagoAuth, XMLOptions: Options) => string;
export declare const buildSaleWithToken: (sale: types.SaleWithToken, MPAuth: types.MaxiPagoAuth, XMLOptions: Options) => string;