Class TransferNotificationValidationFact


  • public class TransferNotificationValidationFact
    extends Object
    TransferNotificationValidationFact
    • Constructor Detail

      • TransferNotificationValidationFact

        public TransferNotificationValidationFact()
    • Method Detail

      • getResult

        public String getResult()
        The evaluation result of the validation fact.
        Returns:
        result
      • setResult

        public void setResult​(String result)
      • getType

        public String getType()
        The type of the validation fact.
        Returns:
        type
      • setType

        public void setType​(String type)
      • 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 TransferNotificationValidationFact
      • fromJson

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

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