Class MGWalletConfiguration.Builder

java.lang.Object
com.gemalto.mfs.mwsdk.mobilegateway.MGWalletConfiguration.Builder
Enclosing class:
MGWalletConfiguration

public static class MGWalletConfiguration.Builder extends Object
Builder to build MGWalletConfiguration.
  • Constructor Details

    • Builder

      public Builder()
      Constructor
  • Method Details

    • setWalletParameters

      public MGWalletConfiguration.Builder setWalletParameters(@NonNull String walletProviderID)
      Method to set WalletProviderID of the MG Client Library. This method call is mandatory before calling build().
      Parameters:
      walletProviderID -
      Returns:
      MGWalletConfiguration.Builder object.
    • setWalletParameters

      public MGWalletConfiguration.Builder setWalletParameters(@NonNull String walletProviderID, @NonNull 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.
    • build

      public MGWalletConfiguration build()
      Returns:
      MGWalletConfiguration object.