Builder

class Builder(supportedNetworks: List<PaymentMethodType>, merchantName: String)

The builder of GooglePayConfig As the support networks and merchant name are mandatory they are required in the constructor

Parameters

supportedNetworks

The supported card acquirers (e.g. PaymentMethodType.VISA)

merchantName

The displayed merchant name

Constructors

Link copied to clipboard
constructor(supportedNetworks: List<PaymentMethodType>, merchantName: String)

Functions

Link copied to clipboard

Defines the allowed authentication methods (if undefined the default list contains PAN_ONLY and CRYPTOGRAM_3DS)

Link copied to clipboard

Builds a GooglePayConfig object

Link copied to clipboard

Defines that credit cards are disabled (undefined is enabled)

Link copied to clipboard

Defines that prepaid cards are disabled (undefined is enabled)

Link copied to clipboard

Defines that an existing payment method on the Google Pay is required for it to be available (undefined is false)

Link copied to clipboard

Returns the customer info from Google Pay customer account (undefined doesn't return)

Link copied to clipboard

Use this option to show a custom label instead of the text "Pay ".

Link copied to clipboard

Shows Google Pay additionally on the saved payment method selection screen as an 'alias' (undefined is false)

Link copied to clipboard

Use this option to show Google Pay as a payment button instead of a listed payment method (undefined is false)