Class SecureRemoteCommerceCheckoutData


  • public class SecureRemoteCommerceCheckoutData
    extends Object
    SecureRemoteCommerceCheckoutData
    • Constructor Detail

      • SecureRemoteCommerceCheckoutData

        public SecureRemoteCommerceCheckoutData()
    • Method Detail

      • checkoutPayload

        public SecureRemoteCommerceCheckoutData checkoutPayload​(String checkoutPayload)
        The Secure Remote Commerce checkout payload to process the payment with.
        Parameters:
        checkoutPayload -
        Returns:
        the current SecureRemoteCommerceCheckoutData instance, allowing for method chaining
      • getCheckoutPayload

        public String getCheckoutPayload()
        The Secure Remote Commerce checkout payload to process the payment with.
        Returns:
        checkoutPayload
      • setCheckoutPayload

        public void setCheckoutPayload​(String checkoutPayload)
        The Secure Remote Commerce checkout payload to process the payment with.
        Parameters:
        checkoutPayload -
      • correlationId

        public SecureRemoteCommerceCheckoutData correlationId​(String correlationId)
        This is the unique identifier generated by SRC system to track and link SRC messages. Available within the present checkout session (e.g. received in an earlier API response during the present session).
        Parameters:
        correlationId -
        Returns:
        the current SecureRemoteCommerceCheckoutData instance, allowing for method chaining
      • getCorrelationId

        public String getCorrelationId()
        This is the unique identifier generated by SRC system to track and link SRC messages. Available within the present checkout session (e.g. received in an earlier API response during the present session).
        Returns:
        correlationId
      • setCorrelationId

        public void setCorrelationId​(String correlationId)
        This is the unique identifier generated by SRC system to track and link SRC messages. Available within the present checkout session (e.g. received in an earlier API response during the present session).
        Parameters:
        correlationId -
      • cvc

        public SecureRemoteCommerceCheckoutData cvc​(String cvc)
        The [card verification code](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#card-security-code-cvc-cvv-cid).
        Parameters:
        cvc -
        Returns:
        the current SecureRemoteCommerceCheckoutData instance, allowing for method chaining
      • getCvc

        public String getCvc()
        The [card verification code](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#card-security-code-cvc-cvv-cid).
        Returns:
        cvc
      • setCvc

        public void setCvc​(String cvc)
        The [card verification code](https://docs.adyen.com/get-started-with-adyen/payment-glossary/#card-security-code-cvc-cvv-cid).
        Parameters:
        cvc -
      • digitalCardId

        public SecureRemoteCommerceCheckoutData digitalCardId​(String digitalCardId)
        A unique identifier that represents the token associated with a card enrolled. Required for scheme 'mc'.
        Parameters:
        digitalCardId -
        Returns:
        the current SecureRemoteCommerceCheckoutData instance, allowing for method chaining
      • getDigitalCardId

        public String getDigitalCardId()
        A unique identifier that represents the token associated with a card enrolled. Required for scheme 'mc'.
        Returns:
        digitalCardId
      • setDigitalCardId

        public void setDigitalCardId​(String digitalCardId)
        A unique identifier that represents the token associated with a card enrolled. Required for scheme 'mc'.
        Parameters:
        digitalCardId -
      • tokenReference

        public SecureRemoteCommerceCheckoutData tokenReference​(String tokenReference)
        A unique identifier that represents the token associated with a card enrolled. Required for scheme 'visa'.
        Parameters:
        tokenReference -
        Returns:
        the current SecureRemoteCommerceCheckoutData instance, allowing for method chaining
      • getTokenReference

        public String getTokenReference()
        A unique identifier that represents the token associated with a card enrolled. Required for scheme 'visa'.
        Returns:
        tokenReference
      • setTokenReference

        public void setTokenReference​(String tokenReference)
        A unique identifier that represents the token associated with a card enrolled. Required for scheme 'visa'.
        Parameters:
        tokenReference -
      • equals

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

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

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

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