public class OppThreeDSConfig
extends java.lang.Object
OppThreeDSService
initialization phase.Modifier and Type | Class and Description |
---|---|
static class |
OppThreeDSConfig.Builder
Class to build
OppThreeDSConfig class with customized parameters. |
Constructor and Description |
---|
OppThreeDSConfig(OppThreeDSConfig.Builder builder) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAppSignature()
Returns app signature for the merchant app to be verified by the SDK.
|
java.util.EnumSet<ChallengeUiType> |
getChallengeUiTypes()
Returns supported UI types for displaying challenge screens.
|
java.lang.String |
getClientConfigParam(java.lang.String key)
Returns string value of the custom parameter for the /n software
Client component. |
java.lang.String[] |
getDeviceParameterBlacklist()
Returns the list of device parameters that should NOT be collected for the device.
|
java.lang.String |
getLocale()
Returns string that represents the locale for the app's user interface (for example, "en-US").
|
java.lang.String[] |
getMaliciousApps()
Returns list of package names for the apps that should be recognized as malicious.
|
int |
getSdkMaxTimeout()
Returns maximum amount of time (in minutes) for all exchanges for the 3-D Secure authentication.
|
java.lang.String[] |
getTrustedAppStores()
Returns additional list of trusted applications, that would not cause security warnings (SW02).
|
UiCustomization |
getUiCustomization()
Returns UI configuration information that is used to specify the UI layout and theme of
the challenge screens, for example, font style and font size.
|
int |
hashCode() |
public OppThreeDSConfig(OppThreeDSConfig.Builder builder)
public java.util.EnumSet<ChallengeUiType> getChallengeUiTypes()
public int getSdkMaxTimeout()
public java.lang.String getClientConfigParam(java.lang.String key)
Client
component.
See
/n software ClientConfig guide for the keys.
Sample value getClientConfigParam("AcceptAnyACSCert")
.key
- the key for the custom parameterpublic UiCustomization getUiCustomization()
public java.lang.String getLocale()
public java.lang.String[] getDeviceParameterBlacklist()
["A001", "A002"]
.public java.lang.String getAppSignature()
public java.lang.String[] getTrustedAppStores()
public java.lang.String[] getMaliciousApps()
OppThreeDSService.getWarnings()
after service is initialized.
There are some default malicious apps configured inside by default:
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object