Class SapOmsB2BVendorContributor
java.lang.Object
de.hybris.platform.sap.orderexchange.outbound.impl.DefaultPartnerContributor
de.hybris.platform.sap.saporderexchangeoms.outbound.impl.SapOmsVendorContributor
de.hybris.platform.sap.saporderexchangeomsb2b.outbound.impl.SapOmsB2BVendorContributor
- All Implemented Interfaces:
RawItemContributor<OrderModel>
Partner contributor for B2B orders to be replicated to SAP ERP system. Considers partner roles soldTo (AG), contact
(AP), billTo (RE), shipTo (WE) and vendor (LF)
-
Field Summary
Fields inherited from class de.hybris.platform.sap.saporderexchangeoms.outbound.impl.SapOmsVendorContributor
VENDOR_CODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateRows(OrderModel order) voidsetB2bPartnerContributor(RawItemContributor<OrderModel> b2bPartnerContributor) Methods inherited from class de.hybris.platform.sap.saporderexchangeoms.outbound.impl.SapOmsVendorContributor
enhanceWithVendorRows, getColumns, getSapVendorService, setSapVendorServiceMethods inherited from class de.hybris.platform.sap.orderexchange.outbound.impl.DefaultPartnerContributor
getB2CCustomerHelper, getBatchIdAttributes, getShipToAddressNumber, getSoldToAddressNumber, mapAddressData, setB2CCustomerHelper, setBatchIdAttributes
-
Constructor Details
-
SapOmsB2BVendorContributor
public SapOmsB2BVendorContributor()
-
-
Method Details
-
createRows
- Specified by:
createRowsin interfaceRawItemContributor<OrderModel>- Overrides:
createRowsin classSapOmsVendorContributor- 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
-
getB2bPartnerContributor
- Returns:
- the b2bPartnerContributor
-
setB2bPartnerContributor
- Parameters:
b2bPartnerContributor- the b2bPartnerContributor to set
-