Class PinChangeRequest


  • public class PinChangeRequest
    extends Object
    PinChangeRequest
    • Constructor Detail

      • PinChangeRequest

        public PinChangeRequest()
    • Method Detail

      • encryptedKey

        public PinChangeRequest encryptedKey​(String encryptedKey)
        The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen.
        Parameters:
        encryptedKey -
        Returns:
        the current PinChangeRequest instance, allowing for method chaining
      • getEncryptedKey

        public String getEncryptedKey()
        The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen.
        Returns:
        encryptedKey
      • setEncryptedKey

        public void setEncryptedKey​(String encryptedKey)
        The symmetric session key that you encrypted with the [public key](https://docs.adyen.com/api-explorer/balanceplatform/2/get/publicKey) that you received from Adyen.
        Parameters:
        encryptedKey -
      • encryptedPinBlock

        public PinChangeRequest encryptedPinBlock​(String encryptedPinBlock)
        The encrypted [PIN block](https://www.pcisecuritystandards.org/glossary/pin-block).
        Parameters:
        encryptedPinBlock -
        Returns:
        the current PinChangeRequest instance, allowing for method chaining
      • getEncryptedPinBlock

        public String getEncryptedPinBlock()
        The encrypted [PIN block](https://www.pcisecuritystandards.org/glossary/pin-block).
        Returns:
        encryptedPinBlock
      • setEncryptedPinBlock

        public void setEncryptedPinBlock​(String encryptedPinBlock)
        The encrypted [PIN block](https://www.pcisecuritystandards.org/glossary/pin-block).
        Parameters:
        encryptedPinBlock -
      • paymentInstrumentId

        public PinChangeRequest paymentInstrumentId​(String paymentInstrumentId)
        The unique identifier of the payment instrument, which is the card for which you are managing the PIN.
        Parameters:
        paymentInstrumentId -
        Returns:
        the current PinChangeRequest instance, allowing for method chaining
      • getPaymentInstrumentId

        public String getPaymentInstrumentId()
        The unique identifier of the payment instrument, which is the card for which you are managing the PIN.
        Returns:
        paymentInstrumentId
      • setPaymentInstrumentId

        public void setPaymentInstrumentId​(String paymentInstrumentId)
        The unique identifier of the payment instrument, which is the card for which you are managing the PIN.
        Parameters:
        paymentInstrumentId -
      • token

        public PinChangeRequest token​(String token)
        The 16-digit token that you used to generate the `encryptedPinBlock`.
        Parameters:
        token -
        Returns:
        the current PinChangeRequest instance, allowing for method chaining
      • getToken

        public String getToken()
        The 16-digit token that you used to generate the `encryptedPinBlock`.
        Returns:
        token
      • setToken

        public void setToken​(String token)
        The 16-digit token that you used to generate the `encryptedPinBlock`.
        Parameters:
        token -
      • equals

        public boolean equals​(Object o)
        Return true if this PinChangeRequest object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static PinChangeRequest fromJson​(String jsonString)
                                         throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of PinChangeRequest given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of PinChangeRequest
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to PinChangeRequest
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of PinChangeRequest to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException