onResult

abstract fun onResult(@Nullable parameters: PaymentMethodTokenizationParameters, @Nullable allowedCardNetworks: Collection<Integer>)

Called when tokenization parameters for Google Pay are available. Useful for existing Google Wallet or Google Pay integrations, or when full control over the com.google.android.gms.wallet.MaskedWalletRequest and com.google.android.gms.wallet.FullWalletRequest is required. PaymentMethodTokenizationParameters should be supplied to the com.google.android.gms.wallet.MaskedWalletRequest via setPaymentMethodTokenizationParameters and < allowedCardNetworks should be supplied to the com.google.android.gms.wallet.MaskedWalletRequest via addAllowedCardNetworks.

Parameters

parameters

PaymentMethodTokenizationParameters

allowedCardNetworks

< of card networks supported by the current Braintree merchant account.