Enum Class MGSDKConfigurationState
- All Implemented Interfaces:
Serializable,Comparable<MGSDKConfigurationState>,Constable
This class encapsulates all the different configuration states that SDK can be in.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis will be the configuration state when all ofMGConnectionConfiguration,MGTransactionHistoryConfigurationandMGWalletConfigurationare configured.This will be the configuration state when onlyMGConnectionConfigurationandMGWalletConfigurationare configured.This will be the configuration state when onlyMGTransactionHistoryConfigurationandMGWalletConfigurationare configured.This will be the configuration state when there is no configuration done. -
Method Summary
Modifier and TypeMethodDescriptionstatic MGSDKConfigurationStateReturns the enum constant of this class with the specified name.static MGSDKConfigurationState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_CONFIGURED
This will be the configuration state when there is no configuration done. -
MG_CARD_DIGITIZATION_CONFIGURED
This will be the configuration state when onlyMGConnectionConfigurationandMGWalletConfigurationare configured. This means digitization APIs of Payment and Transit cards are configured for usage. But Transaction History and Notifications API is NOT configured for usage. -
MG_TRANSACTION_HISTORY_CONFIGURED
This will be the configuration state when onlyMGTransactionHistoryConfigurationandMGWalletConfigurationare configured. This means Transaction History and Notifications API is configured for usage. But digitization APIs of Payment and Transit cards are NOT configured for usage -
CONFIGURED
This will be the configuration state when all ofMGConnectionConfiguration,MGTransactionHistoryConfigurationandMGWalletConfigurationare configured.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-