Class DefaultB2BOrderContributor
java.lang.Object
de.hybris.platform.sap.orderexchange.outbound.impl.DefaultOrderContributor
de.hybris.platform.sap.orderexchangeb2b.outbound.impl.DefaultB2BOrderContributor
- All Implemented Interfaces:
RawItemContributor<OrderModel>
- Direct Known Subclasses:
SapOmsB2BOrderContributor
Order header contributor for B2B orders to be replicated to SAP ERP system. Enhances B2C contributor by channel and
external PO number
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateRows(OrderModel model) enhanceRowsByB2BFields(OrderModel model, List<Map<String, Object>> rows) Methods inherited from class de.hybris.platform.sap.orderexchange.outbound.impl.DefaultOrderContributor
getBatchIdAttributes, setBatchIdAttributes
-
Constructor Details
-
DefaultB2BOrderContributor
public DefaultB2BOrderContributor()
-
-
Method Details
-
getColumns
- Specified by:
getColumnsin interfaceRawItemContributor<OrderModel>- Overrides:
getColumnsin classDefaultOrderContributor- Returns:
- Columns to be included in the CSV string
-
createRows
- Specified by:
createRowsin interfaceRawItemContributor<OrderModel>- Overrides:
createRowsin classDefaultOrderContributor- Parameters:
model- 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
-
enhanceRowsByB2BFields
-