mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-26 07:01:14 +08:00
refactor(CardIO):
This commit is contained in:
parent
8e91f2128f
commit
ff9b500938
@ -1,4 +1,4 @@
|
|||||||
import {Plugin, Cordova} from './plugin';
|
import { Cordova, Plugin } from './plugin';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name CardIO
|
* @name CardIO
|
||||||
@ -37,20 +37,20 @@ export class CardIO {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
static canScan(): Promise<boolean> {return; }
|
static canScan(): Promise<boolean> { return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Scan a credit card with card.io.
|
* Scan a credit card with card.io.
|
||||||
* @param options
|
* @param options
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
static scan(options?: CardIOOptions): Promise<any> {return; }
|
static scan(options?: CardIOOptions): Promise<any> { return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieve the version of the card.io library. Useful when contacting support.
|
* Retrieve the version of the card.io library. Useful when contacting support.
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
static version(): Promise<string> {return; }
|
static version(): Promise<string> { return; }
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface CardIOOptions {
|
export interface CardIOOptions {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user