netopia-client
Version:
A fully-typed, TypeScript-based client for the Netopia payments API V2.
10 lines (9 loc) • 515 B
TypeScript
export declare class NetopiaError extends Error {
constructor(message: string);
}
export declare function missingField(fieldName: string): NetopiaError;
export declare function invalidPayment(message: string): NetopiaError;
export declare function invalidBrowser(message: string): NetopiaError;
export declare function invalidOrder(message: string): NetopiaError;
export declare function invalidProducts(message: string): NetopiaError;
export declare function failedPaymentStart(message: string): NetopiaError;