public class Venmo
extends java.lang.Object
Constructor and Description |
---|
Venmo() |
Modifier and Type | Method and Description |
---|---|
static void |
authorizeAccount(BraintreeFragment fragment) |
static void |
authorizeAccount(BraintreeFragment fragment,
boolean vault)
Start the Pay With Venmo flow.
|
static boolean |
isVenmoInstalled(android.content.Context context) |
public static boolean isVenmoInstalled(android.content.Context context)
context
- A context to access the installed packages.public static void authorizeAccount(BraintreeFragment fragment, boolean vault)
AppSwitchNotAvailableException
will be sent to BraintreeErrorListener.onError(Exception)
.fragment
- BraintreeFragment
vault
- If true, and you are using Client Token authorization with a customer ID, this payment method will
be added to your customer's vault. @see our
docs on client authorization for more info.public static void authorizeAccount(BraintreeFragment fragment)