securepay
Version:
https://www.securepay.com.au/
24 lines (23 loc) • 598 B
TypeScript
import { DebugLevel } from "../enums/debug-level.enum";
export declare class SecurePay {
/** Variables */
private clientId;
private clientSecret;
private sandbox;
private debugLevel;
/** Services */
private _auth;
constructor(options: {
clientId: string;
clientSecret: string;
sandbox?: boolean;
debugLevel?: DebugLevel;
});
/**
* Set / Update Credential
*
* @param {string} clientId
* @param {string} clientSecret
*/
setCredential(clientId: string, clientSecret: string): "" | Promise<string>;
}