public interface TokenizationParametersListener
PaymentMethodTokenizationParameters and
Collection allowedCardNetworks.| Modifier and Type | Method and Description |
|---|---|
void |
onResult(PaymentMethodTokenizationParameters parameters,
java.util.Collection<java.lang.Integer> allowedCardNetworks)
Called when tokenization parameters for Android Pay are available.Useful for existing Google
Wallet or Android Pay integrations, or when full control over the
com.google.android.gms.wallet.MaskedWalletRequest and
com.google.android.gms.wallet.FullWalletRequest is required. |
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.