@aigens/aigens-sdk-alipay
v0.5.0
Published
Aigens SDK Alipay
Readme
aigens-sdk-alipayhk
Aigens SDK AlipayHK
Install
npm install aigens-sdk-alipayhk
npx cap syncAPI
makePaymentRequest(...)
makePaymentRequest(options: { options: AlipayOptions; }) => Promise<AlipayResultOptions>| Param | Type |
| ------------- | --------------------------------------------------------------------- |
| options | { options: AlipayOptions; } |
Returns: Promise<AlipayResultOptions>
isAlipayHKAvailabe(...)
isAlipayHKAvailabe(options?: { key: string; } | undefined) => Promise<{ install: boolean; }>| Param | Type |
| ------------- | ----------------------------- |
| options | { key: string; } |
Returns: Promise<{ install: boolean; }>
isAlipayCNAvailabe(...)
isAlipayCNAvailabe(options?: { key: string; } | undefined) => Promise<{ install: boolean; }>| Param | Type |
| ------------- | ----------------------------- |
| options | { key: string; } |
Returns: Promise<{ install: boolean; }>
reset()
reset() => Promise<any>Returns: Promise<any>
Interfaces
AlipayResultOptions
| Prop | Type |
| ------------------- | -------------------- |
| result | any |
| success | boolean |
| userCancelled | boolean |
| resultStatus | string |
AlipayOptions
| Prop | Type |
| ------------------------- | -------------------- |
| orderString | string |
| appScheme | string |
| iosListeningOpenUrl | boolean |
