@aigens/aigens-sdk-adyen
v5.0.4
Published
Aigens SDK Adyen
Downloads
7
Readme
aigens-sdk-adyen
Aigens SDK Adyen
Install
npm install aigens-sdk-adyen
npx cap syncAPI
startPayment(...)requestLocalTerminal(...)getInstallationId()clearSession()warmUp()initializeManually()setAuthenticationServiceParameters(...)- Interfaces
startPayment(...)
startPayment(options: AdyenOptions) => Promise<AdyenResult>| Param | Type |
| ------------- | ----------------------------------------------------- |
| options | AdyenOptions |
Returns: Promise<AdyenResult>
requestLocalTerminal(...)
requestLocalTerminal(options: AdyenLocalOptions) => Promise<AdyenResult>| Param | Type |
| ------------- | --------------------------------------------------------------- |
| options | AdyenLocalOptions |
Returns: Promise<AdyenResult>
getInstallationId()
getInstallationId() => Promise<{ installationId: string; }>Returns: Promise<{ installationId: string; }>
clearSession()
clearSession() => Promise<any>Returns: Promise<any>
warmUp()
warmUp() => Promise<any>Returns: Promise<any>
initializeManually()
initializeManually() => Promise<{ isInited: boolean; }>Returns: Promise<{ isInited: boolean; }>
setAuthenticationServiceParameters(...)
setAuthenticationServiceParameters(options: { authenticationServiceObject: AuthenticationServiceObject; }) => Promise<any>| Param | Type |
| ------------- | --------------------------------------------------------------------------------------------------------------------- |
| options | { authenticationServiceObject: AuthenticationServiceObject; } |
Returns: Promise<any>
Interfaces
AdyenResult
| Prop | Type |
| ------------ | -------------------- |
| result | boolean |
| data | string |
AdyenOptions
| Prop | Type |
| --------------------------------- | ----------------------------------------------------------------------------------- |
| authenticationServiceObject | AuthenticationServiceObject |
| paymentObject | PaymentObject |
AuthenticationServiceObject
| Prop | Type |
| ------------------- | ------------------- |
| url | string |
| sid | string |
| authorization | string |
| gateway | string |
| stationId | string |
PaymentObject
| Prop | Type |
| --------------------- | ------------------- |
| nexoRequest | any |
| serviceId | string |
| saleId | string |
| transactionID | string |
| poiId | string |
| currency | string |
| requestedAmount | string |
| timeStamp | string |
AdyenLocalOptions
| Prop | Type |
| ------------------------ | -------------------- |
| nexoRequest | any |
| isPrd | boolean |
| terminalIpUrl | string |
| keyIdentifier | string |
| passphrase | string |
| version | number |
| adyenCryptoVersion | number |
