Class BusinessError
java.lang.Object
com.sap.retail.sapppspricing.swagger.businessobject.dto.BusinessError
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2022-09-26T19:16:22.658615400+05:30[Asia/Calcutta]")
public class BusinessError
extends Object
Additional information for the consumer about issues during the price calculation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIssues with severity error or higher lead to an HTTP response code 400. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAnyItem(Object anyItem) description(DescriptionCommonData description) booleanerrorSerialNumber(Integer errorSerialNumber) getAny()This is currently not supported.Get descriptionCan be used for client side checks.The error serial number, unique for every single business error within one specific Error Number.Identifies the Sequence Number of the line item that caused the business error.Get messageVariablesIssues with severity error or higher lead to an HTTP response code 400.inthashCode()lineItemSequenceNumber(Integer lineItemSequenceNumber) messageVariables(MessageVariables messageVariables) voidvoidsetDescription(DescriptionCommonData description) voidsetErrorID(String errorID) voidsetErrorSerialNumber(Integer errorSerialNumber) voidsetLineItemSequenceNumber(Integer lineItemSequenceNumber) voidsetMessageVariables(MessageVariables messageVariables) voidsetSeverity(BusinessError.SeverityEnum severity) severity(BusinessError.SeverityEnum severity) toString()
-
Constructor Details
-
BusinessError
public BusinessError()
-
-
Method Details
-
any
-
addAnyItem
-
getAny
This is currently not supported.- Returns:
- any
-
setAny
-
errorID
-
getErrorID
Can be used for client side checks. For a complete list of possible error codes see the Troubleshooting section in the administriation guide for SAP Omnichannel Promotion Pricing under https://help.sap.com/viewer/7c87270e23c64c2aa922ce297a6df23d/Cloud/en-US/16b90f4819b546f39f29b664d6259641.html- Returns:
- errorID
-
setErrorID
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
severity
-
getSeverity
Issues with severity error or higher lead to an HTTP response code 400.- Returns:
- severity
-
setSeverity
-
errorSerialNumber
-
getErrorSerialNumber
The error serial number, unique for every single business error within one specific Error Number. Decimal representation of a 16 bit integer value. minimum: 0 maximum: 32767- Returns:
- errorSerialNumber
-
setErrorSerialNumber
-
lineItemSequenceNumber
-
getLineItemSequenceNumber
Identifies the Sequence Number of the line item that caused the business error. minimum: 0 maximum: 32767- Returns:
- lineItemSequenceNumber
-
setLineItemSequenceNumber
-
messageVariables
-
getMessageVariables
Get messageVariables- Returns:
- messageVariables
-
setMessageVariables
-
equals
-
hashCode
public int hashCode() -
toString
-