Braintree/src/main/java/com/braintreepayments/api/LocalPayment.java
public static void approvePayment(BraintreeFragment fragment, LocalPaymentRequest request) {
        fragment.browserSwitch(BraintreeRequestCodes.LOCAL_PAYMENT, request.getApprovalUrl());
        fragment.sendAnalyticsEvent(paymentTypeForAnalytics() + ".local-payment.webswitch.initiate.succeeded");
    }
public static void approvePayment(BraintreeFragment fragment, LocalPaymentRequest request) {
        fragment.browserSwitch(BraintreeRequestCodes.LOCAL_PAYMENT, request.getApprovalUrl());
        fragment.sendAnalyticsEvent(paymentTypeForAnalytics() + ".local-payment.webswitch.initiate.succeeded");
    }
public static void approvePayment ( BraintreeFragment fragment , LocalPaymentRequest request ) { fragment . browserSwitch ( BraintreeRequestCodes . LOCAL_PAYMENT , request . getApprovalUrl ( ) ) ; fragment . sendAnalyticsEvent ( paymentTypeForAnalytics ( ) + ".local-payment.webswitch.initiate.succeeded" ) ; }
Initiates the browser switch for a payment flow by opening a browser where the customer can authenticate with their bank.

@param fragment {@link BraintreeFragment}
@param request {@link LocalPaymentRequest} which has already been sent to {@link #startPayment(BraintreeFragment, LocalPaymentRequest, BraintreeResponseListener)}
and now has an approvalUrl and paymentId.
Initiates the browser switch for a payment flow by opening a browser where the customer can authenticate with their bank .