Class Checkout3DSService

  • All Implemented Interfaces:

    
    public final class Checkout3DSService
    
                        

    This is the main class of the SDK that performs payment authentication with the authenticate method. It only needs to be initialized once for the lifetime of the application, and is initialized with a set of constructor parameters.

    • Constructor Detail

      • Checkout3DSService

        Checkout3DSService(Context context, Environment environment, Locale locale, UICustomization uiCustomization, Uri appUrl)
        Parameters:
        context - The app context.
        environment - The Checkout.com environment that the SDK will connect to.
        locale - The customer’s locale and preferred language, used to localise the user interface.
        uiCustomization - The customizations for the challenge user interface.
        appUrl - A URL that can be used to open and move your app to the foreground.
      • Checkout3DSService

        Checkout3DSService(Context context, Environment environment, Locale locale, UICustomization uiCustomization)
        Parameters:
        context - The app context.
        environment - The Checkout.com environment that the SDK will connect to.
        locale - The customer’s locale and preferred language, used to localise the user interface.
        uiCustomization - The customizations for the challenge user interface.
      • Checkout3DSService

        Checkout3DSService(Context context, Environment environment, Locale locale)
        Parameters:
        context - The app context.
        environment - The Checkout.com environment that the SDK will connect to.
        locale - The customer’s locale and preferred language, used to localise the user interface.
      • Checkout3DSService

        Checkout3DSService(Context context, Environment environment)
        Parameters:
        context - The app context.
        environment - The Checkout.com environment that the SDK will connect to.
      • Checkout3DSService

        Checkout3DSService(Context context)
        Parameters:
        context - The app context.
    • Method Detail

      • getWarnings

         final List<Warning> getWarnings()

        Method to check for warnings of any potential security warnings or of rejected configuration requests. Use when initializing the SDK, or any time afterwards.

        Returns:

        a collection of any warnings gathered by the 3DS SDK.