Class MGWalletConfiguration.Builder

  • Enclosing class:
    MGWalletConfiguration

    public static class MGWalletConfiguration.Builder
    extends java.lang.Object
    Builder to build MGWalletConfiguration.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor
    • Method Detail

      • setWalletParameters

        public MGWalletConfiguration.Builder setWalletParameters​(@NonNull
                                                                 java.lang.String walletProviderID,
                                                                 @NonNull
                                                                 java.lang.String walletApplicationID)
        Method to set WalletProviderID & walletApplicationID of the MG Client Library. This method call is mandatory before calling build()
        Parameters:
        walletProviderID - id of wallet provider
        walletApplicationID - to distinguish multiple applications under same walletProvider
        Returns:
        MGWalletConfiguration.Builder object.
      • setNotification

        public MGWalletConfiguration.Builder setNotification​(android.app.Notification notification)
        Deprecated.
        since 6.7.5 : Notification Object is no longer used
        This method call is mandatory before calling build()
        Parameters:
        notification - will be used for posting notification during internal operations. It will be removed from notification tray once the operations are complete
        Returns:
        MGWalletConfiguration.Builder object.