Class DefaultPartnerContributor
java.lang.Object
de.hybris.platform.sap.orderexchange.outbound.impl.DefaultPartnerContributor
- All Implemented Interfaces:
RawItemContributor<OrderModel>
- Direct Known Subclasses:
DefaultB2BPartnerContributor,SapCpiOaaPartnerContributor,SapOmsVendorContributor
Builds the Row map for the CSV files for the Partner in an Order
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateRows(OrderModel order) protected Stringprotected StringmapAddressData(OrderModel order, AddressModel address) voidsetB2CCustomerHelper(B2CCustomerHelper b2cCustomerHelper) voidsetBatchIdAttributes(Map<String, String> batchIdAttributes)
-
Constructor Details
-
DefaultPartnerContributor
public DefaultPartnerContributor()
-
-
Method Details
-
getBatchIdAttributes
-
setBatchIdAttributes
-
getColumns
- Specified by:
getColumnsin interfaceRawItemContributor<OrderModel>- Returns:
- Columns to be included in the CSV string
-
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
-
getSoldToAddressNumber
-
getShipToAddressNumber
-
mapAddressData
-
getB2CCustomerHelper
-
setB2CCustomerHelper
-