Package com.adyen.model.binlookup
Class DSPublicKeyDetail
- java.lang.Object
-
- com.adyen.model.binlookup.DSPublicKeyDetail
-
public class DSPublicKeyDetail extends Object
DSPublicKeyDetail
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDSPublicKeyDetail.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_BRANDstatic StringSERIALIZED_NAME_DIRECTORY_SERVER_IDstatic StringSERIALIZED_NAME_FROM_S_D_K_VERSIONstatic StringSERIALIZED_NAME_PUBLIC_KEY
-
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)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.inthashCode()DSPublicKeyDetailpublicKey(byte[] publicKey)voidsetBrand(String brand)voidsetDirectoryServerId(String directoryServerId)voidsetFromSDKVersion(String fromSDKVersion)voidsetPublicKey(byte[] publicKey)StringtoJson()Convert an instance of DSPublicKeyDetail to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_BRAND
public static final String SERIALIZED_NAME_BRAND
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DIRECTORY_SERVER_ID
public static final String SERIALIZED_NAME_DIRECTORY_SERVER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FROM_S_D_K_VERSION
public static final String SERIALIZED_NAME_FROM_S_D_K_VERSION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PUBLIC_KEY
public static final String SERIALIZED_NAME_PUBLIC_KEY
- 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)
-
directoryServerId
public DSPublicKeyDetail directoryServerId(String directoryServerId)
-
getDirectoryServerId
public String getDirectoryServerId()
Directory Server (DS) identifier.- Returns:
- directoryServerId
-
setDirectoryServerId
public void setDirectoryServerId(String 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)
-
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)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to DSPublicKeyDetail
-
fromJson
public static DSPublicKeyDetail fromJson(String jsonString) throws IOException
Create an instance of DSPublicKeyDetail given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DSPublicKeyDetail
- Throws:
IOException- if the JSON string is invalid with respect to DSPublicKeyDetail
-
toJson
public String toJson()
Convert an instance of DSPublicKeyDetail to an JSON string- Returns:
- JSON string
-
-