java.lang.Object
de.hybris.platform.billingaccounttmfwebservices.v1.dto.Error

@Validated @Generated(value="de.hybris.platform.billingaccounttmfwebservices.swagger.BaBillingAccountCodegen", date="2022-10-21T20:35:18.164Z") public class Error extends Object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
  • Constructor Details

    • Error

      public Error()
  • Method Details

    • code

      public Error code(String code)
    • getCode

      @NotNull public @NotNull String getCode()
      Application relevant detail, defined in the API or a common list.
      Returns:
      code
    • setCode

      public void setCode(String code)
    • reason

      public Error reason(String reason)
    • getReason

      public String getReason()
      Explanation of the reason for the error which can be shown to a client user.
      Returns:
      reason
    • setReason

      public void setReason(String reason)
    • message

      public Error message(String message)
    • getMessage

      @NotNull public @NotNull String getMessage()
      More details and corrective actions related to the error which can be shown to a client user.
      Returns:
      message
    • setMessage

      public void setMessage(String message)
    • status

      public Error status(String status)
    • getStatus

      public String getStatus()
      HTTP Error code extension
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • referenceError

      public Error referenceError(String referenceError)
    • getReferenceError

      public String getReferenceError()
      URI of documentation describing the error.
      Returns:
      referenceError
    • setReferenceError

      public void setReferenceError(String referenceError)
    • atbaseType

      public Error atbaseType(String atbaseType)
    • getAtbaseType

      public String getAtbaseType()
      When sub-classing, this defines the super-class.
      Returns:
      atbaseType
    • setAtbaseType

      public void setAtbaseType(String atbaseType)
    • atschemaLocation

      public Error atschemaLocation(String atschemaLocation)
    • getAtschemaLocation

      public String getAtschemaLocation()
      A URI to a JSON-Schema file that defines additional attributes and relationships
      Returns:
      atschemaLocation
    • setAtschemaLocation

      public void setAtschemaLocation(String atschemaLocation)
    • attype

      public Error attype(String attype)
    • getAttype

      public String getAttype()
      When sub-classing, this defines the sub-class entity name.
      Returns:
      attype
    • setAttype

      public void setAttype(String attype)
    • 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