Package com.adyen.model.binlookup
Class DSPublicKeyDetail
- java.lang.Object
-
- com.adyen.model.binlookup.DSPublicKeyDetail
-
public class DSPublicKeyDetail extends Object
DSPublicKeyDetail
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BRANDstatic StringJSON_PROPERTY_DIRECTORY_SERVER_IDstatic StringJSON_PROPERTY_FROM_S_D_K_VERSIONstatic StringJSON_PROPERTY_PUBLIC_KEYstatic StringJSON_PROPERTY_ROOT_CERTIFICATES
-
Constructor Summary
Constructors Constructor Description DSPublicKeyDetail()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DSPublicKeyDetailbrand(String brand)DSPublicKeyDetaildirectoryServerId(String directoryServerId)booleanequals(Object o)Return true if this DSPublicKeyDetail object is equal to o.static DSPublicKeyDetailfromJson(String jsonString)Create an instance of DSPublicKeyDetail given an JSON stringDSPublicKeyDetailfromSDKVersion(String fromSDKVersion)StringgetBrand()Card brand.StringgetDirectoryServerId()Directory Server (DS) identifier.StringgetFromSDKVersion()The version of the mobile 3D Secure 2 SDK.byte[]getPublicKey()Public key.StringgetRootCertificates()Directory Server root certificates.inthashCode()DSPublicKeyDetailpublicKey(byte[] publicKey)DSPublicKeyDetailrootCertificates(String rootCertificates)voidsetBrand(String brand)Card brand.voidsetDirectoryServerId(String directoryServerId)Directory Server (DS) identifier.voidsetFromSDKVersion(String fromSDKVersion)The version of the mobile 3D Secure 2 SDK.voidsetPublicKey(byte[] publicKey)Public key.voidsetRootCertificates(String rootCertificates)Directory Server root certificates.StringtoJson()Convert an instance of DSPublicKeyDetail to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_BRAND
public static final String JSON_PROPERTY_BRAND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DIRECTORY_SERVER_ID
public static final String JSON_PROPERTY_DIRECTORY_SERVER_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FROM_S_D_K_VERSION
public static final String JSON_PROPERTY_FROM_S_D_K_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PUBLIC_KEY
public static final String JSON_PROPERTY_PUBLIC_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ROOT_CERTIFICATES
public static final String JSON_PROPERTY_ROOT_CERTIFICATES
- See Also:
- Constant Field Values
-
-
Method Detail
-
brand
public DSPublicKeyDetail brand(String brand)
-
getBrand
public String getBrand()
Card brand.- Returns:
- brand
-
setBrand
public void setBrand(String brand)
Card brand.- Parameters:
brand-
-
directoryServerId
public DSPublicKeyDetail directoryServerId(String directoryServerId)
-
getDirectoryServerId
public String getDirectoryServerId()
Directory Server (DS) identifier.- Returns:
- directoryServerId
-
setDirectoryServerId
public void setDirectoryServerId(String directoryServerId)
Directory Server (DS) identifier.- Parameters:
directoryServerId-
-
fromSDKVersion
public DSPublicKeyDetail fromSDKVersion(String fromSDKVersion)
-
getFromSDKVersion
public String getFromSDKVersion()
The version of the mobile 3D Secure 2 SDK. For the possible values, refer to the versions in [Adyen 3DS2 Android](https://github.com/Adyen/adyen-3ds2-android/releases) and [Adyen 3DS2 iOS](https://github.com/Adyen/adyen-3ds2-ios/releases).- Returns:
- fromSDKVersion
-
setFromSDKVersion
public void setFromSDKVersion(String fromSDKVersion)
The version of the mobile 3D Secure 2 SDK. For the possible values, refer to the versions in [Adyen 3DS2 Android](https://github.com/Adyen/adyen-3ds2-android/releases) and [Adyen 3DS2 iOS](https://github.com/Adyen/adyen-3ds2-ios/releases).- Parameters:
fromSDKVersion-
-
publicKey
public DSPublicKeyDetail publicKey(byte[] publicKey)
-
getPublicKey
public byte[] getPublicKey()
Public key. The 3D Secure 2 SDK encrypts the device information by using the DS public key.- Returns:
- publicKey
-
setPublicKey
public void setPublicKey(byte[] publicKey)
Public key. The 3D Secure 2 SDK encrypts the device information by using the DS public key.- Parameters:
publicKey-
-
rootCertificates
public DSPublicKeyDetail rootCertificates(String rootCertificates)
-
getRootCertificates
public String getRootCertificates()
Directory Server root certificates. The 3D Secure 2 SDK verifies the ACS signed content using the rootCertificates.- Returns:
- rootCertificates
-
setRootCertificates
public void setRootCertificates(String rootCertificates)
Directory Server root certificates. The 3D Secure 2 SDK verifies the ACS signed content using the rootCertificates.- Parameters:
rootCertificates-
-
equals
public boolean equals(Object o)
Return true if this DSPublicKeyDetail object is equal to o.
-
fromJson
public static DSPublicKeyDetail fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of DSPublicKeyDetail given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DSPublicKeyDetail
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to DSPublicKeyDetail
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of DSPublicKeyDetail to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-