public class ReadyForGooglePaymentRequest
extends java.lang.Object
| Constructor and Description |
|---|
ReadyForGooglePaymentRequest() |
| Modifier and Type | Method and Description |
|---|---|
ReadyForGooglePaymentRequest |
existingPaymentMethodRequired(boolean existingPaymentMethodRequired)
If set to true, then the
GooglePayment#isReadyToPay(BraintreeFragment, ReadyForGooglePaymentRequest, BraintreeResponseListener)
method will call the listener with true if the customer is ready to pay with one or more of your
supported card networks. |
boolean |
isExistingPaymentMethodRequired() |
public ReadyForGooglePaymentRequest existingPaymentMethodRequired(boolean existingPaymentMethodRequired)
GooglePayment#isReadyToPay(BraintreeFragment, ReadyForGooglePaymentRequest, BraintreeResponseListener)
method will call the listener with true if the customer is ready to pay with one or more of your
supported card networks.existingPaymentMethodRequired - Indicates whether the customer must already have at least one payment method from your supported
card networks in order to be considered ready to pay with Google PayReadyForGooglePaymentRequestpublic boolean isExistingPaymentMethodRequired()