Class TmaErrorRepresentationWsDto

java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.dto.error.TmaErrorRepresentationWsDto
All Implemented Interfaces:
Serializable

@Validated public class TmaErrorRepresentationWsDto extends Object implements Serializable
Standard TMF error representation
Since:
1810.
See Also:
  • Constructor Details

    • TmaErrorRepresentationWsDto

      public TmaErrorRepresentationWsDto()
  • Method Details

    • code

    • getCode

      @NotNull public @NotNull Integer getCode()
      Application related code (as defined in the API or from a common list)
      Returns:
      code
    • setCode

      public void setCode(Integer code)
    • reason

      public TmaErrorRepresentationWsDto reason(String reason)
    • getReason

      public String getReason()
      Text that explains the reason for error. This can be shown to a client user.
      Returns:
      reason
    • setReason

      public void setReason(String reason)
    • message

      public TmaErrorRepresentationWsDto message(String message)
    • getMessage

      public String getMessage()
      Text that provides more details and corrective actions related to the error. This can be shown to a client user.
      Returns:
      message
    • setMessage

      public void setMessage(String message)
    • status

      public TmaErrorRepresentationWsDto status(String status)
    • getStatus

      public String getStatus()
      http error code extension like 400-2
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • referenceError

      public TmaErrorRepresentationWsDto referenceError(String referenceError)
    • getReferenceError

      public String getReferenceError()
      URL pointing to documentation describing the error
      Returns:
      referenceError
    • setReferenceError

      public void setReferenceError(String referenceError)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object