Class DSPublicKeyDetail


  • public class DSPublicKeyDetail
    extends Object
    DSPublicKeyDetail
    • Constructor Detail

      • DSPublicKeyDetail

        public DSPublicKeyDetail()
    • Method Detail

      • brand

        public DSPublicKeyDetail brand​(String brand)
        Card brand.
        Parameters:
        brand -
        Returns:
        the current DSPublicKeyDetail instance, allowing for method chaining
      • getBrand

        public String getBrand()
        Card brand.
        Returns:
        brand
      • setBrand

        public void setBrand​(String brand)
        Card brand.
        Parameters:
        brand -
      • directoryServerId

        public DSPublicKeyDetail directoryServerId​(String directoryServerId)
        Directory Server (DS) identifier.
        Parameters:
        directoryServerId -
        Returns:
        the current DSPublicKeyDetail instance, allowing for method chaining
      • 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)
        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 -
        Returns:
        the current DSPublicKeyDetail instance, allowing for method chaining
      • 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)
        Public key. The 3D Secure 2 SDK encrypts the device information by using the DS public key.
        Parameters:
        publicKey -
        Returns:
        the current DSPublicKeyDetail instance, allowing for method chaining
      • 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)
        Directory Server root certificates. The 3D Secure 2 SDK verifies the ACS signed content using the rootCertificates.
        Parameters:
        rootCertificates -
        Returns:
        the current DSPublicKeyDetail instance, allowing for method chaining
      • 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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