Class AdyenConfigParameters.Builder
-
- All Implemented Interfaces:
public final class AdyenConfigParameters.Builder
This class is an helper class to build AdyenConfigParameters.
-
-
Constructor Summary
Constructors Constructor Description AdyenConfigParameters.Builder(String directoryServerId, String directoryServerPublicKey, String directoryServerRootCertificates)
A builder class for the creation of ConfigParameters required in the 3DS SDK service initialization.
-
Method Summary
Modifier and Type Method Description AdyenConfigParameters.Builder
appSignature(String appSignature)
Pass the App's signature to validate the App authenticity. AdyenConfigParameters.Builder
trustedAppStores(Set<String> trustedAppStores)
In case the App is published in other app stores than Google Play Store, pass the trusted app stores. AdyenConfigParameters.Builder
maliciousApps(Set<String> maliciousApps)
In case the App should run in a safe environment, pass the malicious apps the App shouldn't work with other than Xposed and Cydia substrate. AdyenConfigParameters.Builder
deviceParameterBlockList(Set<String> deviceParameterBlockList)
In case you do not wish to collect specific device parameters, you may specify these parameters here. ConfigParameters
build()
Creates the ConfigParameters required in the 3DS SDK service initialization. -
-
Constructor Detail
-
AdyenConfigParameters.Builder
AdyenConfigParameters.Builder(String directoryServerId, String directoryServerPublicKey, String directoryServerRootCertificates)
A builder class for the creation of ConfigParameters required in the 3DS SDK service initialization.
-
-
Method Detail
-
appSignature
AdyenConfigParameters.Builder appSignature(String appSignature)
Pass the App's signature to validate the App authenticity.
The 3DS SDK validates the given App's signature with the current one, if the later is not valid, the 3DS SDK registers an SDK integrity security warning.
For security reasons don't store the App's signature in the App, instead get it from the server via secure protocol like HTTPS.
Notice: after the 3DS SDK initialization, it is possible to get the 3DS SDK registered security warning and act accordingly by calling getWarnings.
- Parameters:
appSignature
- The App's signing keystore SHA256 fingerprint.- Returns:
The Builder.
-
trustedAppStores
AdyenConfigParameters.Builder trustedAppStores(Set<String> trustedAppStores)
In case the App is published in other app stores than Google Play Store, pass the trusted app stores.
The 3DS SDK validates the App's installation app store source, if the app was installed form an untrusted app store the 3DS SDK registers an SDK integrity security warning.
Notice: after the 3DS SDK initialization, it is possible to get the 3DS SDK registered security warning and act accordingly by calling getWarnings.
- Parameters:
trustedAppStores
- The trusted app stores package names the app is available at, defaults to Google Play Store.- Returns:
The Builder.
-
maliciousApps
AdyenConfigParameters.Builder maliciousApps(Set<String> maliciousApps)
In case the App should run in a safe environment, pass the malicious apps the App shouldn't work with other than Xposed and Cydia substrate.
The 3DS SDK validates malicious apps are not installed on the device, if one of the malicious apps is installed, the 3DS SDK registers an SDK integrity security warning.
Notice: after the 3DS SDK initialization, it is possible to get the 3DS SDK registered security warning and act accordingly by calling getWarnings.
- Parameters:
maliciousApps
- The malicious apps package names the SDK should validate are not installed on the device.- Returns:
The Builder.
-
deviceParameterBlockList
AdyenConfigParameters.Builder deviceParameterBlockList(Set<String> deviceParameterBlockList)
In case you do not wish to collect specific device parameters, you may specify these parameters here.
- Parameters:
deviceParameterBlockList
- The parameters that should not be collected.- Returns:
The Builder.
-
build
ConfigParameters build()
Creates the ConfigParameters required in the 3DS SDK service initialization. The 3DS SDK is initialized with initialize.
- Returns:
The ConfigParameters required in the 3DS SDK service initialization.
-
-
-
-