getTokenizationParameters

Get Braintree specific tokenization parameters for a Google Pay. Useful for when full control over the PaymentDataRequest is required.

PaymentMethodTokenizationParameters should be supplied to the PaymentDataRequest via PaymentDataRequest.Builder.setPaymentMethodTokenizationParameters and allowedCardNetworks should be supplied to the CardRequirements via CardRequirements.Builder.addAllowedCardNetworks}.

Parameters


fun getTokenizationParameters(configuration: Configuration, authorization: Authorization): PaymentMethodTokenizationParameters