Class ConfigParameters
-
- All Implemented Interfaces:
public final class ConfigParameters
This class represents the configuration parameters that are required by the 3DS SDK for initialization. The App should create a ConfigParameters object and sets the required parameter values.
Notice: The com.adyen.threeds2.util.AdyenConfigParameters.Builder utility method can be used to easily create the configuration parameters required by the 3DS SDK.
Created by Ran Haveshush on 24/08/2018.
-
-
Constructor Summary
Constructors Constructor Description ConfigParameters()
-
Method Summary
Modifier and Type Method Description void
addParam(String group, String paramName, String paramValue)
Adds a configuration parameter either to the specified group or to the default group. String
getParamValue(String group, String paramName)
Returns a configuration parameter’s value either from the specified group or from the default group. String
removeParam(String group, String paramName)
Removes a configuration parameter either from the specified group or from the default group. Map<String, String>
getGroup(String group)
Returns a group of configuration parameters value from the specified group. -
-
Method Detail
-
addParam
void addParam(String group, String paramName, String paramValue)
Adds a configuration parameter either to the specified group or to the default group.
- Parameters:
group
- The group to which the configuration parameter is to be added.paramName
- The name of the configuration parameter.paramValue
- The value of the configuration parameter.
-
getParamValue
String getParamValue(String group, String paramName)
Returns a configuration parameter’s value either from the specified group or from the default group.
- Parameters:
group
- The group from which the configuration parameter’s value is to be returned.paramName
- The name of the configuration parameter.- Returns:
The value of the specified configuration parameter.
-
removeParam
String removeParam(String group, String paramName)
Removes a configuration parameter either from the specified group or from the default group. It returns the name of the parameter that it removes.
- Parameters:
group
- The group from which the configuration parameter is to be removed.paramName
- The name of the configuration parameter.- Returns:
The name of the parameter that it removes.
-
-
-
-