0.0.1 • Published 7 months ago

capacitor-sumup-plugin-6 v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

capacitor-sumup-plugin-6

SumUp Capacitor Plugin for capacitor 6, Only for Android Platform

Install

npm install capacitor-sumup-plugin-6
npx cap sync

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>


login(...)

login(options: LoginOptions) => Promise<SumUpResponse>
ParamType
optionsLoginOptions

Returns: Promise<SumUpResponse>


checkout(...)

checkout(options: CheckoutOptions) => Promise<SumUpResponse>
ParamType
optionsCheckoutOptions

Returns: Promise<SumUpResponse>


Interfaces

SumUpResponse

PropType
codenumber
messagestring

LoginOptions

PropType
affiliateKeystring
accessTokenstring

CheckoutOptions

PropType
totalnumber
currencystring
titlestring
tipstring
tipOnCardReaderboolean
receiptEmailstring
receiptSMSstring
additionalInfo{ key: string: string; }
foreignTransactionIdstring
skipSuccessScreenboolean
skipFailedScreenboolean
0.0.1

7 months ago