setExistingPaymentMethodRequired

open fun setExistingPaymentMethodRequired(existingPaymentMethodRequired: Boolean)

If set to true, then the isReadyToPay method will call the listener with true if the customer is ready to pay with one or more of your supported card networks.

Parameters

existingPaymentMethodRequired

Indicates whether the customer must already have at least one payment method from your supported card networks in order to be considered ready to pay with Google Pay