UNPKG

nativescript-mpesa

Version:

Nativescript plugin to make payment with mpesa.

11 lines (10 loc) 413 B
import { Common, LNMResult, LNMExpress } from './mpesa.common'; export declare class Mpesa extends Common { private customerKey; private customerSecret; private daraja; initialize(customerKey: string, customerSecret: string, env: 'SANDBOX' | 'PRODUCTION'): Promise<string>; requestMPESAExpress(lnmExpress: LNMExpress): Promise<LNMResult>; private getTransactionType; private getENV; }