@aigens/aigens-sdk-googlepay
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

@aigens/aigens-sdk-googlepay

aigens-sdk-googlepay

Install

npm install @aigens/aigens-sdk-googlepay
npx cap sync

API

echo(...)

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

Returns: Promise<{ value: string; }>


checkNativeGooglePay(...)

checkNativeGooglePay(options: { allowedPaymentMethods: any[]; ENVIRONMENT_PRODUCTION?: boolean; }) => Promise<{ result: boolean; }>
Param Type
options { allowedPaymentMethods: any[]; ENVIRONMENT_PRODUCTION?: boolean; }

Returns: Promise<{ result: boolean; }>


makePaymentRequest(...)

makePaymentRequest(options: GooglePayMakeOption) => Promise<GooglePlayResponse>
Param Type
options GooglePayMakeOption

Returns: Promise<GooglePlayResponse>


Interfaces

GooglePlayResponse

Prop Type
tokenizationData { token: string; }

GooglePayMakeOption

Prop Type
total number
merchantId string
gateway string
currency string
allowedPaymentMethods GooglePayPaymentMethod[]

GooglePayPaymentMethod

Prop Type
type string
parameters { allowedAuthMethods: any[]; allowedCardNetworks: any[]; }
tokenizationSpecification { type: string; parameters: { gateway: string; gatewayMerchantId: string; }; }

Readme

Keywords

Package Sidebar

Install

npm i @aigens/aigens-sdk-googlepay

Weekly Downloads

76

Version

0.0.10

License

MIT

Unpacked Size

61.9 kB

Total Files

31

Last publish

Collaborators

  • aigens