Class PaymentDetailsRequest


  • public class PaymentDetailsRequest
    extends Object
    PaymentDetailsRequest
    • Constructor Detail

      • PaymentDetailsRequest

        public PaymentDetailsRequest()
    • Method Detail

      • setAuthenticationData

        public void setAuthenticationData​(DetailsRequestAuthenticationData authenticationData)
        authenticationData
        Parameters:
        authenticationData -
      • getPaymentData

        public String getPaymentData()
        Encoded payment data. For [authorizing a payment after using 3D Secure 2 Authentication-only](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only/#authorise-the-payment-with-adyen): If you received `resultCode`: **AuthenticationNotRequired** in the `/payments` response, use the `threeDSPaymentData` from the same response. If you received `resultCode`: **AuthenticationFinished** in the `/payments` response, use the `action.paymentData` from the same response.
        Returns:
        paymentData
      • setPaymentData

        public void setPaymentData​(String paymentData)
        Encoded payment data. For [authorizing a payment after using 3D Secure 2 Authentication-only](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only/#authorise-the-payment-with-adyen): If you received `resultCode`: **AuthenticationNotRequired** in the `/payments` response, use the `threeDSPaymentData` from the same response. If you received `resultCode`: **AuthenticationFinished** in the `/payments` response, use the `action.paymentData` from the same response.
        Parameters:
        paymentData -
      • getThreeDSAuthenticationOnly

        @Deprecated
        public Boolean getThreeDSAuthenticationOnly()
        Deprecated.
        Change the `authenticationOnly` indicator originally set in the `/payments` request. Only needs to be set if you want to modify the value set previously.
        Returns:
        threeDSAuthenticationOnly
      • setThreeDSAuthenticationOnly

        @Deprecated
        public void setThreeDSAuthenticationOnly​(Boolean threeDSAuthenticationOnly)
        Deprecated.
        Change the `authenticationOnly` indicator originally set in the `/payments` request. Only needs to be set if you want to modify the value set previously.
        Parameters:
        threeDSAuthenticationOnly -
      • equals

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

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

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

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