Class ConfigurationBuilder
java.lang.Object
com.netcetera.threeds.sdk.api.configparameters.builder.ConfigurationBuilder
Builder class for
ConfigParameters that provides easy to use methods in order to configure the SDK.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets theapiKey.build()Builds theConfigParameters.configureScheme(SchemeConfiguration schemeConfiguration) restrictedParameters(List<String> restrictedParameters) Sets therestrictedParameters.
-
Constructor Details
-
ConfigurationBuilder
public ConfigurationBuilder()Constructor.
-
-
Method Details
-
apiKey
Sets theapiKey.- Parameters:
apiKey-Stringthe provided apiKey.- Returns:
ConfigurationBuilder- Throws:
InvalidInputException- ifapiKeyis null.
-
restrictedParameters
Sets therestrictedParameters.- Parameters:
restrictedParameters-Listcontaining the device info parameters that shall be considered as restricted and thus not collected.- Returns:
ConfigurationBuilder
-
configureScheme
Adds theschemeConfigurationto theListofSchemeConfiguration.Integrator defined
SchemeConfigurationtakes priority over pre-bundled 3DS SDKSchemeConfigurationfor use during EMVCo Authentication.If the integrator wishes to utilise the automatic updates of
SchemeConfigurationprovided by the 3DS SDK, custom encryption certificates for the SDK should not be added/overridden.- Parameters:
schemeConfiguration-SchemeConfiguration- Returns:
ConfigurationBuilder
-
build
Builds theConfigParameters.- Returns:
ConfigParameters.- Throws:
InvalidInputException- if aSchemeConfigurationvalue is invalid.
-