istoun-plugin
v0.1.17
Published
Istoun Plugin
Readme
istoun-plugin
Istoun Plugin
Install
npm install istoun-plugin
npx cap syncAPI
onReady(...)getFromDB(...)push(...)payOrder(...)payOrder2(...)exceptionHandler(...)checkoutMake(...)close()getLocalStorageData()get(...)sendAction(...)- Type Aliases
onReady(...)
onReady(value: string) => Promise<void>| Param | Type |
| ----------- | ------------------- |
| value | string |
getFromDB(...)
getFromDB(value: string) => Promise<void>| Param | Type |
| ----------- | ------------------- |
| value | string |
push(...)
push(data: any) => Promise<void>| Param | Type |
| ---------- | ---------------- |
| data | any |
payOrder(...)
payOrder(order: any) => Promise<{ order: any; }>| Param | Type |
| ----------- | ---------------- |
| order | any |
Returns: Promise<{ order: any; }>
payOrder2(...)
payOrder2(options: { header: any; data: any; }) => Promise<void>| Param | Type |
| ------------- | ---------------------------------------- |
| options | { header: any; data: any; } |
exceptionHandler(...)
exceptionHandler(exception: any) => Promise<void>| Param | Type |
| --------------- | ---------------- |
| exception | any |
checkoutMake(...)
checkoutMake(response: any) => Promise<void>| Param | Type |
| -------------- | ---------------- |
| response | any |
close()
close() => Promise<void>getLocalStorageData()
getLocalStorageData() => Promise<{ length: number; data: Record<string, string>; }>Returns: Promise<{ length: number; data: Record<string, string>; }>
get(...)
get(value: string) => Promise<void>| Param | Type |
| ----------- | ------------------- |
| value | string |
sendAction(...)
sendAction(value: string) => Promise<void>| Param | Type |
| ----------- | ------------------- |
| value | string |
Type Aliases
Record
Construct a type with a set of properties K of type T
{ [P in K]: T; }
