Class DetailsRequest


  • public class DetailsRequest
    extends Object
    DetailsRequest
    • Constructor Detail

      • DetailsRequest

        public DetailsRequest()
    • Method Detail

      • getPaymentData

        public String getPaymentData()
        The `paymentData` value from the `/payments` response. Required if the `/payments` response returns this value.
        Returns:
        paymentData
      • setPaymentData

        public void setPaymentData​(String 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.
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates 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 DetailsRequest
      • fromJson

        public static DetailsRequest fromJson​(String jsonString)
                                       throws IOException
        Create an instance of DetailsRequest given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of DetailsRequest
        Throws:
        IOException - if the JSON string is invalid with respect to DetailsRequest
      • toJson

        public String toJson()
        Convert an instance of DetailsRequest to an JSON string
        Returns:
        JSON string