Class ARTSCommonHeaderType

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

@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2022-09-26T19:16:22.658615400+05:30[Asia/Calcutta]") public class ARTSCommonHeaderType extends Object
Contains basic information for the request or the response.
  • Constructor Details

    • ARTSCommonHeaderType

      public ARTSCommonHeaderType()
  • Method Details

    • messageID

      public ARTSCommonHeaderType messageID(MessageID messageID)
    • getMessageID

      public MessageID getMessageID()
      Get messageID
      Returns:
      messageID
    • setMessageID

      public void setMessageID(MessageID messageID)
    • dateTime

      public ARTSCommonHeaderType dateTime(List<HeaderDateTime> dateTime)
    • addDateTimeItem

      public ARTSCommonHeaderType addDateTimeItem(HeaderDateTime dateTimeItem)
    • getDateTime

      public List<HeaderDateTime> getDateTime()
      The date and time when the request was created. Although this is an array, only 1 entry is allowed.
      Returns:
      dateTime
    • setDateTime

      public void setDateTime(List<HeaderDateTime> dateTime)
    • response

      public ARTSCommonHeaderType response(Response response)
    • getResponse

      public Response getResponse()
      Get response
      Returns:
      response
    • setResponse

      public void setResponse(Response response)
    • requestor

      public ARTSCommonHeaderType requestor(String requestor)
    • getRequestor

      public String getRequestor()
      Identifies the agent which sent this message.
      Returns:
      requestor
    • setRequestor

      public void setRequestor(String requestor)
    • businessUnit

      public ARTSCommonHeaderType businessUnit(List<BusinessUnitCommonData> businessUnit)
    • addBusinessUnitItem

      public ARTSCommonHeaderType addBusinessUnitItem(BusinessUnitCommonData businessUnitItem)
    • getBusinessUnit

      public List<BusinessUnitCommonData> getBusinessUnit()
      Business units for which prices and promotions should be determined. Until client API version 5.0, exactly 1 entry is allowed. Starting with client API version 6.0, maximal 2 entries are allowed. If there is more than 1 business unit, one of them must be a distribution chain. In case it is a distribution chain, there must be a pipe ('|') as delimiter to split between sales organisation and distribution channel.
      Returns:
      businessUnit
    • setBusinessUnit

      public void setBusinessUnit(List<BusinessUnitCommonData> businessUnit)
    • workstationID

      public ARTSCommonHeaderType workstationID(WorkstationIDCommonData workstationID)
    • getWorkstationID

      public WorkstationIDCommonData getWorkstationID()
      Get workstationID
      Returns:
      workstationID
    • setWorkstationID

      public void setWorkstationID(WorkstationIDCommonData workstationID)
    • requestedLanguage

      public ARTSCommonHeaderType requestedLanguage(String requestedLanguage)
    • getRequestedLanguage

      public String getRequestedLanguage()
      Uppercase ISO code of the language in which language-dependent texts like a promotion description should be returned. Uppercase representation. RequestedLanguage is not applied in conjunction with RequestedMultiLanguage. If not set, any language found will be used with Client API version 1.0. As of Client API version 2.0, use RequestedMultiLanguage instead.
      Returns:
      requestedLanguage
    • setRequestedLanguage

      public void setRequestedLanguage(String requestedLanguage)
    • requestedMultiLanguage

      public ARTSCommonHeaderType requestedMultiLanguage(List<String> requestedMultiLanguage)
    • addRequestedMultiLanguageItem

      public ARTSCommonHeaderType addRequestedMultiLanguageItem(String requestedMultiLanguageItem)
    • getRequestedMultiLanguage

      public List<String> getRequestedMultiLanguage()
      Uppercase ISO codes of the languages in which language dependent-texts like a promotion description should be returned. Not to be used in conjunction with RequestedLanguage. Requires at least API version 2.0. If not set, all languages found will be used.
      Returns:
      requestedMultiLanguage
    • setRequestedMultiLanguage

      public void setRequestedMultiLanguage(List<String> requestedMultiLanguage)
    • any

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

      public ARTSCommonHeaderType addAnyItem(Object anyItem)
    • getAny

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

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

      public ARTSCommonHeaderType masterDataSourceSystemID(String masterDataSourceSystemID)
    • getMasterDataSourceSystemID

      public String getMasterDataSourceSystemID()
      Part of the compound key for items, item hierarchy nodes and business units. Each price record and each promotion refers to exactly one master data source system. Supported with Client API version 2.1 or higher. This field is required when using the cloud version of the price calculation.
      Returns:
      masterDataSourceSystemID
    • setMasterDataSourceSystemID

      public void setMasterDataSourceSystemID(String masterDataSourceSystemID)
    • actionCode

    • getActionCode

      public ARTSCommonHeaderType.ActionCodeEnum getActionCode()
      Describes what to do with the provided data.
      Returns:
      actionCode
    • setActionCode

      public void setActionCode(ARTSCommonHeaderType.ActionCodeEnum actionCode)
    • messageType

    • getMessageType

      public ARTSCommonHeaderType.MessageTypeEnum getMessageType()
      Defines whether this is a calculation request or a calculation response if the consumer only sends type \"Request\".
      Returns:
      messageType
    • setMessageType

      public void setMessageType(ARTSCommonHeaderType.MessageTypeEnum messageType)
    • 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