Class ScheduleAccountUpdaterResult


  • public class ScheduleAccountUpdaterResult
    extends Object
    ScheduleAccountUpdaterResult
    • Constructor Detail

      • ScheduleAccountUpdaterResult

        public ScheduleAccountUpdaterResult()
    • Method Detail

      • getPspReference

        public String getPspReference()
        Adyen's 16-character unique reference associated with the transaction. This value is globally unique; quote it when communicating with us about this request.
        Returns:
        pspReference
      • setPspReference

        public void setPspReference​(String pspReference)
      • getResult

        public String getResult()
        The result of scheduling an Account Updater. If scheduling was successful, this field returns **Success**; otherwise it contains the error message.
        Returns:
        result
      • setResult

        public void setResult​(String result)
      • 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 ScheduleAccountUpdaterResult
      • fromJson

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

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