0.0.1 • Published 1 year ago
capacitor-sumup-plugin-6 v0.0.1
capacitor-sumup-plugin-6
SumUp Capacitor Plugin for capacitor 6, Only for Android Platform
Install
npm install capacitor-sumup-plugin-6
npx cap syncAPI
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
|---|---|
options | { value: string; } |
Returns: Promise<{ value: string; }>
login(...)
login(options: LoginOptions) => Promise<SumUpResponse>| Param | Type |
|---|---|
options | LoginOptions |
Returns: Promise<SumUpResponse>
checkout(...)
checkout(options: CheckoutOptions) => Promise<SumUpResponse>| Param | Type |
|---|---|
options | CheckoutOptions |
Returns: Promise<SumUpResponse>
Interfaces
SumUpResponse
| Prop | Type |
|---|---|
code | number |
message | string |
LoginOptions
| Prop | Type |
|---|---|
affiliateKey | string |
accessToken | string |
CheckoutOptions
| Prop | Type |
|---|---|
total | number |
currency | string |
title | string |
tip | string |
tipOnCardReader | boolean |
receiptEmail | string |
receiptSMS | string |
additionalInfo | { key: string: string; } |
foreignTransactionId | string |
skipSuccessScreen | boolean |
skipFailedScreen | boolean |
0.0.1
1 year ago