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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDescribes what to do with the provided data.static enumDefines whether this is a calculation request or a calculation response if the consumer only sends type \"Request\". -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionCode(ARTSCommonHeaderType.ActionCodeEnum actionCode) addAnyItem(Object anyItem) addBusinessUnitItem(BusinessUnitCommonData businessUnitItem) addDateTimeItem(HeaderDateTime dateTimeItem) addRequestedMultiLanguageItem(String requestedMultiLanguageItem) businessUnit(List<BusinessUnitCommonData> businessUnit) dateTime(List<HeaderDateTime> dateTime) booleanDescribes what to do with the provided data.getAny()This is currently not supported.Business units for which prices and promotions should be determined.The date and time when the request was created.Part of the compound key for items, item hierarchy nodes and business units.Get messageIDDefines whether this is a calculation request or a calculation response if the consumer only sends type \"Request\".Uppercase ISO code of the language in which language-dependent texts like a promotion description should be returned.Uppercase ISO codes of the languages in which language dependent-texts like a promotion description should be returned.Identifies the agent which sent this message.Get responseGet workstationIDinthashCode()masterDataSourceSystemID(String masterDataSourceSystemID) messageType(ARTSCommonHeaderType.MessageTypeEnum messageType) requestedLanguage(String requestedLanguage) requestedMultiLanguage(List<String> requestedMultiLanguage) voidsetActionCode(ARTSCommonHeaderType.ActionCodeEnum actionCode) voidvoidsetBusinessUnit(List<BusinessUnitCommonData> businessUnit) voidsetDateTime(List<HeaderDateTime> dateTime) voidsetMasterDataSourceSystemID(String masterDataSourceSystemID) voidsetMessageID(MessageID messageID) voidsetMessageType(ARTSCommonHeaderType.MessageTypeEnum messageType) voidsetRequestedLanguage(String requestedLanguage) voidsetRequestedMultiLanguage(List<String> requestedMultiLanguage) voidsetRequestor(String requestor) voidsetResponse(Response response) voidsetWorkstationID(WorkstationIDCommonData workstationID) toString()workstationID(WorkstationIDCommonData workstationID)
-
Constructor Details
-
ARTSCommonHeaderType
public ARTSCommonHeaderType()
-
-
Method Details
-
messageID
-
getMessageID
Get messageID- Returns:
- messageID
-
setMessageID
-
dateTime
-
addDateTimeItem
-
getDateTime
The date and time when the request was created. Although this is an array, only 1 entry is allowed.- Returns:
- dateTime
-
setDateTime
-
response
-
getResponse
Get response- Returns:
- response
-
setResponse
-
requestor
-
getRequestor
Identifies the agent which sent this message.- Returns:
- requestor
-
setRequestor
-
businessUnit
-
addBusinessUnitItem
-
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
-
workstationID
-
getWorkstationID
Get workstationID- Returns:
- workstationID
-
setWorkstationID
-
requestedLanguage
-
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
-
requestedMultiLanguage
-
addRequestedMultiLanguageItem
-
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
-
any
-
addAnyItem
-
getAny
This is currently not supported.- Returns:
- any
-
setAny
-
masterDataSourceSystemID
-
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
-
actionCode
-
getActionCode
Describes what to do with the provided data.- Returns:
- actionCode
-
setActionCode
-
messageType
-
getMessageType
Defines whether this is a calculation request or a calculation response if the consumer only sends type \"Request\".- Returns:
- messageType
-
setMessageType
-
equals
-
hashCode
public int hashCode() -
toString
-