Class SapOmsVendorContributor
- java.lang.Object
-
- de.hybris.platform.sap.orderexchange.outbound.impl.DefaultPartnerContributor
-
- de.hybris.platform.sap.saporderexchangeoms.outbound.impl.SapOmsVendorContributor
-
- All Implemented Interfaces:
RawItemContributor<OrderModel>
- Direct Known Subclasses:
SapOmsB2BVendorContributor
public class SapOmsVendorContributor extends DefaultPartnerContributor
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringVENDOR_CODE
-
Constructor Summary
Constructors Constructor Description SapOmsVendorContributor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.util.Map<java.lang.String,java.lang.Object>>createRows(OrderModel order)protected voidenhanceWithVendorRows(OrderModel order, java.util.List<java.util.Map<java.lang.String,java.lang.Object>> result)java.util.Set<java.lang.String>getColumns()protected SapVendorServicegetSapVendorService()voidsetSapVendorService(SapVendorService sapVendorService)-
Methods inherited from class de.hybris.platform.sap.orderexchange.outbound.impl.DefaultPartnerContributor
getB2CCustomerHelper, getBatchIdAttributes, getShipToAddressNumber, getSoldToAddressNumber, mapAddressData, setB2CCustomerHelper, setBatchIdAttributes
-
-
-
-
Field Detail
-
VENDOR_CODE
public static final java.lang.String VENDOR_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getColumns
public java.util.Set<java.lang.String> getColumns()
- Specified by:
getColumnsin interfaceRawItemContributor<OrderModel>- Overrides:
getColumnsin classDefaultPartnerContributor- Returns:
- Columns to be included in the CSV string
-
createRows
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> createRows(OrderModel order)
- Specified by:
createRowsin interfaceRawItemContributor<OrderModel>- Overrides:
createRowsin classDefaultPartnerContributor- 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
-
enhanceWithVendorRows
protected void enhanceWithVendorRows(OrderModel order, java.util.List<java.util.Map<java.lang.String,java.lang.Object>> result)
-
getSapVendorService
protected SapVendorService getSapVendorService()
-
setSapVendorService
public void setSapVendorService(SapVendorService sapVendorService)
-
-