Class MGWalletConfiguration.Builder
- java.lang.Object
-
- com.gemalto.mfs.mwsdk.mobilegateway.MGWalletConfiguration.Builder
-
- Enclosing class:
- MGWalletConfiguration
public static class MGWalletConfiguration.Builder extends java.lang.ObjectBuilder to build MGWalletConfiguration.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MGWalletConfigurationbuild()MGWalletConfiguration.BuildersetNotification(android.app.Notification notification)Deprecated.since 6.7.5 : Notification Object is no longer usedMGWalletConfiguration.BuildersetWalletParameters(java.lang.String walletProviderID)Method to set WalletProviderID of the MG Client Library.MGWalletConfiguration.BuildersetWalletParameters(java.lang.String walletProviderID, java.lang.String walletApplicationID)Method to set WalletProviderID & walletApplicationID of the MG Client Library.
-
-
-
Method Detail
-
setWalletParameters
public MGWalletConfiguration.Builder setWalletParameters(@NonNull java.lang.String walletProviderID)
Method to set WalletProviderID of the MG Client Library. This method call is mandatory before callingbuild().- Parameters:
walletProviderID-- Returns:
MGWalletConfiguration.Builderobject.
-
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 callingbuild()- Parameters:
walletProviderID- id of wallet providerwalletApplicationID- to distinguish multiple applications under same walletProvider- Returns:
MGWalletConfiguration.Builderobject.
-
setNotification
public MGWalletConfiguration.Builder setNotification(android.app.Notification notification)
Deprecated.since 6.7.5 : Notification Object is no longer usedThis method call is mandatory before callingbuild()- 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.Builderobject.
-
build
public MGWalletConfiguration build()
- Returns:
MGWalletConfigurationobject.
-
-