mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-24 14:11:18 +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
|
||||
@ -37,20 +37,20 @@ export class CardIO {
|
||||
*
|
||||
*/
|
||||
@Cordova()
|
||||
static canScan(): Promise<boolean> {return; }
|
||||
static canScan(): Promise<boolean> { return; }
|
||||
|
||||
/**
|
||||
* Scan a credit card with card.io.
|
||||
* @param options
|
||||
*/
|
||||
@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.
|
||||
*/
|
||||
@Cordova()
|
||||
static version(): Promise<string> {return; }
|
||||
static version(): Promise<string> { return; }
|
||||
}
|
||||
|
||||
export interface CardIOOptions {
|
||||
|
Loading…
x
Reference in New Issue
Block a user