Class MGWalletConfiguration.Builder
java.lang.Object
com.gemalto.mfs.mwsdk.mobilegateway.MGWalletConfiguration.Builder
- Enclosing class:
- MGWalletConfiguration
Builder to build MGWalletConfiguration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()setNotification(android.app.Notification notification) Deprecated.since 6.7.5 : Notification Object is no longer usedsetWalletParameters(String walletProviderID) Method to set WalletProviderID of the MG Client Library.setWalletParameters(String walletProviderID, String walletApplicationID) Method to set WalletProviderID & walletApplicationID of the MG Client Library.
-
Constructor Details
-
Builder
public Builder()Constructor
-
-
Method Details
-
setWalletParameters
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 String walletProviderID, @NonNull 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
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
- Returns:
MGWalletConfigurationobject.
-