java.lang.Object
com.sap.retail.sapppspricing.swagger.businessobject.dto.Response

@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2022-09-26T19:16:22.658615400+05:30[Asia/Calcutta]") public class Response extends Object
Holds response specific information of an ARTSHeader.
  • Constructor Details

    • Response

      public Response()
  • Method Details

    • any

      public Response any(List<Object> any)
    • addAnyItem

      public Response addAnyItem(Object anyItem)
    • getAny

      public List<Object> getAny()
      This is currently not supported.
      Returns:
      any
    • setAny

      public void setAny(List<Object> any)
    • requestID

      public Response requestID(String requestID)
    • getRequestID

      public String getRequestID()
      Identfier of the request to which this response relates.
      Returns:
      requestID
    • setRequestID

      public void setRequestID(String requestID)
    • responseTimestamp

      public Response responseTimestamp(String responseTimestamp)
    • getResponseTimestamp

      public String getResponseTimestamp()
      Timestamp of the request to which this response relates.
      Returns:
      responseTimestamp
    • setResponseTimestamp

      public void setResponseTimestamp(String responseTimestamp)
    • businessError

      public Response businessError(List<BusinessError> businessError)
    • addBusinessErrorItem

      public Response addBusinessErrorItem(BusinessError businessErrorItem)
    • getBusinessError

      public List<BusinessError> getBusinessError()
      The list of business errors created during the processing of the corresponding request.
      Returns:
      businessError
    • setBusinessError

      public void setBusinessError(List<BusinessError> businessError)
    • responseCode

      public Response responseCode(Response.ResponseCodeEnum responseCode)
    • getResponseCode

      public Response.ResponseCodeEnum getResponseCode()
      Indicates if the message was successful (OK) or not (Rejected).
      Returns:
      responseCode
    • setResponseCode

      public void setResponseCode(Response.ResponseCodeEnum responseCode)
    • 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