Class DisablePermitResult


  • public class DisablePermitResult
    extends Object
    DisablePermitResult
    • Constructor Detail

      • DisablePermitResult

        public DisablePermitResult()
    • Method Detail

      • getPspReference

        public String getPspReference()
        A unique reference associated with the request. This value is globally unique; quote it when communicating with us about this request.
        Returns:
        pspReference
      • setPspReference

        public void setPspReference​(String pspReference)
      • getStatus

        public String getStatus()
        Status of the disable request.
        Returns:
        status
      • setStatus

        public void setStatus​(String status)
      • 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 DisablePermitResult
      • fromJson

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

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