Skip navigation links
A B C D E F G I O P R S T V W 

A

allowPrepaidCards(boolean) - Method in class com.braintreepayments.api.GooglePayRequest
Optional.
API_RESOURCE_KEY - Static variable in class com.braintreepayments.api.GooglePayCardNonce
 

B

billingAddressFormat(int) - Method in class com.braintreepayments.api.GooglePayRequest
Optional.
billingAddressFormatToString() - Method in class com.braintreepayments.api.GooglePayRequest
 
billingAddressRequired(boolean) - Method in class com.braintreepayments.api.GooglePayRequest
Optional.

C

com.braintreepayments.api - package com.braintreepayments.api
 
CREATOR - Static variable in class com.braintreepayments.api.GooglePayCardNonce
 
CREATOR - Static variable in class com.braintreepayments.api.GooglePayException
 
CREATOR - Static variable in class com.braintreepayments.api.GooglePayRequest
 

D

describeContents() - Method in class com.braintreepayments.api.GooglePayException
 
describeContents() - Method in class com.braintreepayments.api.GooglePayRequest
 

E

emailRequired(boolean) - Method in class com.braintreepayments.api.GooglePayRequest
Optional.
environment(String) - Method in class com.braintreepayments.api.GooglePayRequest
 
existingPaymentMethodRequired(boolean) - Method in class com.braintreepayments.api.ReadyForGooglePayRequest
If set to true, then the GooglePayClient.isReadyToPay(FragmentActivity, ReadyForGooglePayRequest, GooglePayIsReadyToPayCallback) method will call the listener with true if the customer is ready to pay with one or more of your supported card networks.
EXTRA_ENVIRONMENT - Static variable in class com.braintreepayments.api.GooglePayActivity
 
EXTRA_ENVIRONMENT - Static variable in class com.braintreepayments.api.GooglePayClient
 
EXTRA_PAYMENT_DATA_REQUEST - Static variable in class com.braintreepayments.api.GooglePayActivity
 
EXTRA_PAYMENT_DATA_REQUEST - Static variable in class com.braintreepayments.api.GooglePayClient
 
extractPaymentMethodToken(String) - Static method in class com.braintreepayments.api.PaymentMethodNonceFactory
 

F

finish() - Method in class com.braintreepayments.api.GooglePayActivity
 
fromJson(String) - Static method in class com.braintreepayments.api.GooglePayCardNonce
Convert an API response to a GooglePayCardNonce.
fromJson(JSONObject) - Method in class com.braintreepayments.api.GooglePayCardNonce
 
fromString(String) - Static method in class com.braintreepayments.api.PaymentMethodNonceFactory
 

G

getAllowedAuthMethodsForType(String) - Method in class com.braintreepayments.api.GooglePayRequest
 
getAllowedCardNetworksForType(String) - Method in class com.braintreepayments.api.GooglePayRequest
 
getAllowedPaymentMethod(String) - Method in class com.braintreepayments.api.GooglePayRequest
 
getAllowPrepaidCards() - Method in class com.braintreepayments.api.GooglePayRequest
 
getBillingAddress() - Method in class com.braintreepayments.api.GooglePayCardNonce
 
getBillingAddressFormat() - Method in class com.braintreepayments.api.GooglePayRequest
 
getBinData() - Method in class com.braintreepayments.api.GooglePayCardNonce
 
getCardType() - Method in class com.braintreepayments.api.GooglePayCardNonce
 
getEmail() - Method in class com.braintreepayments.api.GooglePayCardNonce
 
getEnvironment() - Method in class com.braintreepayments.api.GooglePayRequest
 
getErrorCode() - Method in exception com.braintreepayments.api.GoogleApiClientException
 
getErrorType() - Method in exception com.braintreepayments.api.GoogleApiClientException
 
getGoogleMerchantId() - Method in class com.braintreepayments.api.GooglePayRequest
 
getGoogleMerchantName() - Method in class com.braintreepayments.api.GooglePayRequest
 
getLastFour() - Method in class com.braintreepayments.api.GooglePayCardNonce
 
getLastTwo() - Method in class com.braintreepayments.api.GooglePayCardNonce
 
getMessage() - Method in exception com.braintreepayments.api.GoogleApiClientException
 
getShippingAddress() - Method in class com.braintreepayments.api.GooglePayCardNonce
 
getShippingAddressRequirements() - Method in class com.braintreepayments.api.GooglePayRequest
 
getStatus() - Method in class com.braintreepayments.api.GooglePayException
Get the Status object that contains more details about the error and how to resolve it.
getTokenizationParameters(FragmentActivity, GooglePayGetTokenizationParametersCallback) - Method in class com.braintreepayments.api.GooglePayClient
Get Braintree specific tokenization parameters for a Google Pay.
getTokenizationSpecificationForType(String) - Method in class com.braintreepayments.api.GooglePayRequest
 
getTransactionInfo() - Method in class com.braintreepayments.api.GooglePayRequest
 
getTypeLabel() - Method in class com.braintreepayments.api.GooglePayCardNonce
 
GoogleApiClientException - Exception in com.braintreepayments.api
Exception thrown when the com.google.android.gms.common.api.GoogleApiClient has an error connecting.
GoogleApiClientException(GoogleApiClientException.ErrorType, int) - Constructor for exception com.braintreepayments.api.GoogleApiClientException
 
GoogleApiClientException.ErrorType - Enum in com.braintreepayments.api
 
googleMerchantId(String) - Method in class com.braintreepayments.api.GooglePayRequest
 
googleMerchantName(String) - Method in class com.braintreepayments.api.GooglePayRequest
 
GooglePayActivity - Class in com.braintreepayments.api
 
GooglePayActivity() - Constructor for class com.braintreepayments.api.GooglePayActivity
 
GooglePayCapabilities - Class in com.braintreepayments.api
Class representing Google Pay payment capabilities
GooglePayCapabilities() - Constructor for class com.braintreepayments.api.GooglePayCapabilities
 
GooglePayCardNonce - Class in com.braintreepayments.api
PaymentMethodNonce representing a Google Pay card.
GooglePayCardNonce() - Constructor for class com.braintreepayments.api.GooglePayCardNonce
 
GooglePayClient - Class in com.braintreepayments.api
Used to create and tokenize Google Pay payment methods.
GooglePayClient(BraintreeClient) - Constructor for class com.braintreepayments.api.GooglePayClient
 
GooglePayException - Class in com.braintreepayments.api
Error class thrown when a Google Pay exception is encountered.
GooglePayException(String, Status) - Constructor for class com.braintreepayments.api.GooglePayException
 
GooglePayException(Parcel) - Constructor for class com.braintreepayments.api.GooglePayException
 
GooglePayGetTokenizationParametersCallback - Interface in com.braintreepayments.api
Callback for receiving result of com.braintreepayments.api.GooglePayClient#tokenize(androidx.fragment.app.FragmentActivity, com.google.android.gms.wallet.PaymentData, com.braintreepayments.api.GooglePayOnActivityResultCallback)
GooglePayIsReadyToPayCallback - Interface in com.braintreepayments.api
GooglePayOnActivityResultCallback - Interface in com.braintreepayments.api
GooglePayRequest - Class in com.braintreepayments.api
Represents the parameters that are needed to use the Google Pay API.
GooglePayRequest() - Constructor for class com.braintreepayments.api.GooglePayRequest
 
GooglePayRequest(Parcel) - Constructor for class com.braintreepayments.api.GooglePayRequest
 
GooglePayRequestPaymentCallback - Interface in com.braintreepayments.api

I

isBillingAddressRequired() - Method in class com.braintreepayments.api.GooglePayRequest
 
isEmailRequired() - Method in class com.braintreepayments.api.GooglePayRequest
 
isExistingPaymentMethodRequired() - Method in class com.braintreepayments.api.ReadyForGooglePayRequest
 
isGooglePayEnabled(Context, Configuration) - Static method in class com.braintreepayments.api.GooglePayCapabilities
 
isNetworkTokenized() - Method in class com.braintreepayments.api.GooglePayCardNonce
 
isPayPalEnabled() - Method in class com.braintreepayments.api.GooglePayRequest
 
isPhoneNumberRequired() - Method in class com.braintreepayments.api.GooglePayRequest
 
isReadyToPay(FragmentActivity, GooglePayIsReadyToPayCallback) - Method in class com.braintreepayments.api.GooglePayClient
Before starting the Google Pay flow, use this method to check whether the Google Pay API is supported and set up on the device.
isReadyToPay(FragmentActivity, ReadyForGooglePayRequest, GooglePayIsReadyToPayCallback) - Method in class com.braintreepayments.api.GooglePayClient
Before starting the Google Pay flow, use this method to check whether the Google Pay API is supported and set up on the device.
isShippingAddressRequired() - Method in class com.braintreepayments.api.GooglePayRequest
 

O

onActivityResult(int, int, Intent) - Method in class com.braintreepayments.api.GooglePayActivity
 
onActivityResult(FragmentActivity, int, Intent, GooglePayOnActivityResultCallback) - Method in class com.braintreepayments.api.GooglePayClient
 
onCreate(Bundle) - Method in class com.braintreepayments.api.GooglePayActivity
 
onResult(PaymentMethodTokenizationParameters, Collection<Integer>) - Method in interface com.braintreepayments.api.GooglePayGetTokenizationParametersCallback
Called when tokenization parameters for Google Pay are available.
onResult(Boolean, Exception) - Method in interface com.braintreepayments.api.GooglePayIsReadyToPayCallback
 
onResult(PaymentMethodNonce, Exception) - Method in interface com.braintreepayments.api.GooglePayOnActivityResultCallback
 
onResult(boolean, Exception) - Method in interface com.braintreepayments.api.GooglePayRequestPaymentCallback
 
onSaveInstanceState(Bundle) - Method in class com.braintreepayments.api.GooglePayActivity
 

P

PaymentMethodNonceFactory - Class in com.braintreepayments.api
 
PaymentMethodNonceFactory() - Constructor for class com.braintreepayments.api.PaymentMethodNonceFactory
 
paypalEnabled(boolean) - Method in class com.braintreepayments.api.GooglePayRequest
Defines if PayPal should be an available payment method in Google Pay.
phoneNumberRequired(boolean) - Method in class com.braintreepayments.api.GooglePayRequest
Optional.
postalAddressFromJson(JSONObject) - Static method in class com.braintreepayments.api.GooglePayCardNonce
 

R

ReadyForGooglePayRequest - Class in com.braintreepayments.api
Optional parameters to use when checking whether Google Pay is supported and set up on the customer's device.
ReadyForGooglePayRequest() - Constructor for class com.braintreepayments.api.ReadyForGooglePayRequest
 
requestPayment(FragmentActivity, GooglePayRequest, GooglePayRequestPaymentCallback) - Method in class com.braintreepayments.api.GooglePayClient
Launch a Google Pay request.

S

setAllowedAuthMethods(String, JSONArray) - Method in class com.braintreepayments.api.GooglePayRequest
Simple wrapper to configure the GooglePayRequest's allowedAuthMethods
setAllowedCardNetworks(String, JSONArray) - Method in class com.braintreepayments.api.GooglePayRequest
Simple wrapper to configure the GooglePayRequest's cardNetworks
setAllowedPaymentMethod(String, JSONObject) - Method in class com.braintreepayments.api.GooglePayRequest
Simple wrapper to assign given parameters to specified paymentMethod
setTokenizationSpecificationForType(String, JSONObject) - Method in class com.braintreepayments.api.GooglePayRequest
Simple wrapper to configure the GooglePayRequest's tokenizationSpecification
shippingAddressRequired(boolean) - Method in class com.braintreepayments.api.GooglePayRequest
Optional.
shippingAddressRequirements(ShippingAddressRequirements) - Method in class com.braintreepayments.api.GooglePayRequest
Optional.

T

toJson() - Method in class com.braintreepayments.api.GooglePayRequest
Assemble all declared parts of a GooglePayRequest to a JSON string for use in making requests against Google
tokenize(FragmentActivity, PaymentData, GooglePayOnActivityResultCallback) - Method in class com.braintreepayments.api.GooglePayClient
Call this method when you've received a successful PaymentData response in your activity or fragment's onActivityResult method to get a GooglePayCardNonce or PayPalAccountNonce.
toString() - Method in exception com.braintreepayments.api.GoogleApiClientException
 
transactionInfo(TransactionInfo) - Method in class com.braintreepayments.api.GooglePayRequest
Details and the price of the transaction.

V

valueOf(String) - Static method in enum com.braintreepayments.api.GoogleApiClientException.ErrorType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.braintreepayments.api.GoogleApiClientException.ErrorType
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeToParcel(Parcel, int) - Method in class com.braintreepayments.api.GooglePayCardNonce
 
writeToParcel(Parcel, int) - Method in class com.braintreepayments.api.GooglePayException
 
writeToParcel(Parcel, int) - Method in class com.braintreepayments.api.GooglePayRequest
 
A B C D E F G I O P R S T V W 
Skip navigation links