Search in sources :

Example 1 with FptiManager

use of com.paypal.android.sdk.onetouch.core.fpti.FptiManager in project braintree_android by braintree.

the class PayPalOneTouchCore method initService.

private static void initService(Context context) {
    if (sConfigManager == null || sFptiManager == null) {
        PayPalHttpClient httpClient = new PayPalHttpClient().setBaseUrl(EnvironmentManager.LIVE_API_M_ENDPOINT);
        sConfigManager = new ConfigManager(getContextInspector(context), httpClient);
        sFptiManager = new FptiManager(getContextInspector(context), httpClient);
    }
    // always refresh configuration
    sConfigManager.refreshConfiguration();
}
Also used : FptiManager(com.paypal.android.sdk.onetouch.core.fpti.FptiManager) PayPalHttpClient(com.paypal.android.sdk.onetouch.core.network.PayPalHttpClient) ConfigManager(com.paypal.android.sdk.onetouch.core.config.ConfigManager)

Aggregations

ConfigManager (com.paypal.android.sdk.onetouch.core.config.ConfigManager)1 FptiManager (com.paypal.android.sdk.onetouch.core.fpti.FptiManager)1 PayPalHttpClient (com.paypal.android.sdk.onetouch.core.network.PayPalHttpClient)1