Class Error
java.lang.Object
com.liferay.headless.commerce.delivery.cart.dto.v1_0.Error
- All Implemented Interfaces:
Serializable
- See Also:
- Generated:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidsetErrorCode(com.liferay.petra.function.UnsafeSupplier<Integer, Exception> errorCodeUnsafeSupplier) voidsetErrorCode(Integer errorCode) voidsetErrorDescription(com.liferay.petra.function.UnsafeSupplier<String, Exception> errorDescriptionUnsafeSupplier) voidsetErrorDescription(String errorDescription) voidsetMessage(com.liferay.petra.function.UnsafeSupplier<String, Exception> messageUnsafeSupplier) voidsetMessage(String message) voidvoidstatic ErrortoString()static ErrorunsafeToDTO(String json)
-
Field Details
-
errorCode
-
errorDescription
-
message
-
status
-
xClassName
-
-
Constructor Details
-
Error
public Error()
-
-
Method Details
-
toDTO
-
unsafeToDTO
-
getErrorCode
-
setErrorCode
-
setErrorCode
-
getErrorDescription
-
setErrorDescription
-
setErrorDescription
-
getMessage
-
setMessage
-
setMessage
-
getStatus
-
setStatus
-
setStatus
-
equals
-
hashCode
public int hashCode() -
toString
-