Package com.adyen.threeds2.util
Class AdyenConfigParameters
-
- All Implemented Interfaces:
public final class AdyenConfigParameters
This utility class helps with creating ConfigParameters out of given directory server information.
Created by timon on 10/09/2018.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
AdyenConfigParameters.Builder
This class is an helper class to build AdyenConfigParameters.
public final class
AdyenConfigParameters.Parameter
This class represents a single AdyenConfigParameters's parameter, the parameter is defined by a group ¶meter name, to add the parameter to the default global group pass a
null
as a group name.
-
Field Summary
Fields Modifier and Type Field Description public final static AdyenConfigParameters.Parameter
DIRECTORY_SERVER_ID
public final static AdyenConfigParameters.Parameter
DIRECTORY_SERVER_PUBLIC_KEY
public final static AdyenConfigParameters.Parameter
DIRECTORY_SERVER_ROOT_CERTIFICATES
public final static AdyenConfigParameters.Parameter
SECURITY_APP_SIGNATURE
public final static AdyenConfigParameters.Parameter
SECURITY_TRUSTED_APP_STORES
public final static AdyenConfigParameters.Parameter
SECURITY_MALICIOUS_APPS
public final static AdyenConfigParameters.Parameter
DEVICE_PARAMETER_BLOCK_LIST
-
Method Summary
Modifier and Type Method Description static Collection<String>
getParamValues(ConfigParameters configParameters, AdyenConfigParameters.Parameter parameter)
Returns a given parameter's values. static String
getParamValue(ConfigParameters configParameters, AdyenConfigParameters.Parameter parameter)
Returns a given parameter's value. -
-
Method Detail
-
getParamValues
static Collection<String> getParamValues(ConfigParameters configParameters, AdyenConfigParameters.Parameter parameter)
Returns a given parameter's values.
- Parameters:
configParameters
- A ConfigParameters represents the config parameters from which the parameter's value needed to be retrieved.parameter
- A Parameter represents a given parameter which it's value needed to be retrieved.- Returns:
A Collection represents the Parameter's values.
-
getParamValue
static String getParamValue(ConfigParameters configParameters, AdyenConfigParameters.Parameter parameter)
Returns a given parameter's value.
- Parameters:
configParameters
- A ConfigParameters represents the config parameters from which the parameter's value needed to be retrieved.parameter
- A Parameter represents a given parameter which it's value needed to be retrieved.- Returns:
-
-
-
-