Class AuthenticationResultRequest


  • public class AuthenticationResultRequest
    extends Object
    AuthenticationResultRequest
    • Constructor Detail

      • AuthenticationResultRequest

        public AuthenticationResultRequest()
    • Method Detail

      • getMerchantAccount

        public String getMerchantAccount()
        The merchant account identifier, with which the authentication was processed.
        Returns:
        merchantAccount
      • setMerchantAccount

        public void setMerchantAccount​(String merchantAccount)
      • getPspReference

        public String getPspReference()
        The pspReference identifier for the transaction.
        Returns:
        pspReference
      • setPspReference

        public void setPspReference​(String pspReference)
      • 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 AuthenticationResultRequest
      • fromJson

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

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