Class DefenseReason


  • public class DefenseReason
    extends Object
    DefenseReason
    • Constructor Detail

      • DefenseReason

        public DefenseReason()
    • Method Detail

      • getDefenseDocumentTypes

        public List<DefenseDocumentType> getDefenseDocumentTypes()
        Array of defense document types for a specific defense reason. Indicates the document types that you can submit to the schemes to defend this dispute, and whether they are required.
        Returns:
        defenseDocumentTypes
      • setDefenseDocumentTypes

        public void setDefenseDocumentTypes​(List<DefenseDocumentType> defenseDocumentTypes)
        Array of defense document types for a specific defense reason. Indicates the document types that you can submit to the schemes to defend this dispute, and whether they are required.
        Parameters:
        defenseDocumentTypes -
      • getDefenseReasonCode

        public String getDefenseReasonCode()
        The defense reason code that was selected to defend this dispute.
        Returns:
        defenseReasonCode
      • setDefenseReasonCode

        public void setDefenseReasonCode​(String defenseReasonCode)
        The defense reason code that was selected to defend this dispute.
        Parameters:
        defenseReasonCode -
      • getSatisfied

        public Boolean getSatisfied()
        Indicates if sufficient defense material has been supplied.
        Returns:
        satisfied
      • setSatisfied

        public void setSatisfied​(Boolean satisfied)
        Indicates if sufficient defense material has been supplied.
        Parameters:
        satisfied -
      • equals

        public boolean equals​(Object o)
        Return true if this DefenseReason object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

        public static DefenseReason fromJson​(String jsonString)
                                      throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of DefenseReason given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of DefenseReason
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to DefenseReason
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of DefenseReason to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException