Class MGWalletConfiguration.Builder
- java.lang.Object
-
- com.gemalto.mfs.mwsdk.mobilegateway.MGWalletConfiguration.Builder
-
- Enclosing class:
- MGWalletConfiguration
public static class MGWalletConfiguration.Builder extends java.lang.Object
Builder 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 MGWalletConfiguration
build()
MGWalletConfiguration.Builder
setNotification(android.app.Notification notification)
Deprecated.since 6.7.5 : Notification Object is no longer usedMGWalletConfiguration.Builder
setWalletParameters(java.lang.String walletProviderID)
Method to set WalletProviderID of the MG Client Library.MGWalletConfiguration.Builder
setWalletParameters(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.Builder
object.
-
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.Builder
object.
-
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.Builder
object.
-
build
public MGWalletConfiguration build()
- Returns:
MGWalletConfiguration
object.
-
-