Package 

Interface PrimerInterface

    • Method Detail

      • cleanup

         abstract Unit cleanup()

        This method should be called when disposing the listener in order to free Primer SDK resource. Once instance of Primer has freed up the used resources, it is in the same state as newly created Primer and can be used once again, but should go through configure once again.

      • showUniversalCheckout

         abstract Unit showUniversalCheckout(Context context, String clientToken)

        Initialise and show Primer's Universal Checkout with all configured payment methods.

        Parameters:
        clientToken - base64 string containing information about this Primer session.
      • showVaultManager

         abstract Unit showVaultManager(Context context, String clientToken)

        Initialise and show Primer's Vault Manager.

        Parameters:
        clientToken - base64 string containing information about this Primer session.
      • dismiss

         abstract Unit dismiss(Boolean clearListeners)

        Dismiss the checkout