shredder-ash
Version:
An AngularJS library for RavePay Payment Gateway.
43 lines (42 loc) • 1.05 kB
TypeScript
import { OnInit, EventEmitter } from '@angular/core';
interface IRaveOptions {
PBFPubKey: string;
txref: string;
amount: number;
currency: string;
country: string;
customer_email: string;
customer_firstname: string;
customer_lastname: string;
custom_title: string;
custom_description: string;
custom_logo: string;
meta?: any;
callback: (response: object) => void;
onclose: () => void;
}
export declare class ShredderAshComponent implements OnInit {
text: string;
style: object;
className: string;
callback: EventEmitter<object>;
close: EventEmitter<any>;
key: string;
email: string;
amount: number;
reference: string;
meta: any;
currency: string;
country: string;
customer_firstname: string;
customer_lastname: string;
custom_title: string;
custom_description: string;
custom_logo: string;
raveOptions: IRaveOptions;
constructor();
ngOnInit(): void;
madePayment(): void;
prepRaveOptions(): void;
}
export {};