public interface GooglePayGetTokenizationParametersCallback
com.braintreepayments.api.GooglePayClient#tokenize(androidx.fragment.app.FragmentActivity, com.google.android.gms.wallet.PaymentData, com.braintreepayments.api.GooglePayOnActivityResultCallback)| Modifier and Type | Method and Description |
|---|---|
void |
onResult(PaymentMethodTokenizationParameters parameters,
java.util.Collection<java.lang.Integer> allowedCardNetworks)
Called when tokenization parameters for Google Pay are available.
|
void onResult(PaymentMethodTokenizationParameters parameters,
java.util.Collection<java.lang.Integer> allowedCardNetworks)
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
com.google.android.gms.wallet.MaskedWalletRequest.Builder#setPaymentMethodTokenizationParameters(PaymentMethodTokenizationParameters)
and Collection allowedCardNetworks should be supplied to the
com.google.android.gms.wallet.MaskedWalletRequest via
com.google.android.gms.wallet.MaskedWalletRequest.Builder#addAllowedCardNetworks(Collection).parameters - PaymentMethodTokenizationParametersallowedCardNetworks - Collection of card networks supported by the current
Braintree merchant account.