Class DefaultOrderContributor
java.lang.Object
de.hybris.platform.sap.orderexchange.outbound.impl.DefaultOrderContributor
- All Implemented Interfaces:
RawItemContributor<OrderModel>
- Direct Known Subclasses:
DefaultB2BOrderContributor,SapOmsOrderContributor
Builds the Row map for the CSV files for the Order
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateRows(OrderModel order) voidsetBatchIdAttributes(Map<String, String> batchIdAttributes)
-
Constructor Details
-
DefaultOrderContributor
public DefaultOrderContributor()
-
-
Method Details
-
getColumns
- Specified by:
getColumnsin interfaceRawItemContributor<OrderModel>- Returns:
- Columns to be included in the CSV string
-
getBatchIdAttributes
-
setBatchIdAttributes
-
createRows
- Specified by:
createRowsin interfaceRawItemContributor<OrderModel>- Parameters:
order- The item model from which parts of the CSV string shall be created- Returns:
- Name / value pairs. The names must correspond to the column names as returned in
RawItemContributor.getColumns(). Each list entry corresponds to one line of the CSV string
-