Class DefaultReturnOrderPartnerContributor
- java.lang.Object
-
- com.sap.hybris.returnsexchange.outbound.impl.DefaultReturnOrderPartnerContributor
-
- All Implemented Interfaces:
RawItemContributor<ReturnRequestModel>
- Direct Known Subclasses:
DefaultB2BReturnOrderPartnerContributor
public class DefaultReturnOrderPartnerContributor extends java.lang.Object implements RawItemContributor<ReturnRequestModel>
-
-
Constructor Summary
Constructors Constructor Description DefaultReturnOrderPartnerContributor()
-
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(ReturnRequestModel model)java.util.List<java.util.Map<java.lang.String,java.lang.Object>>createSoldtoPartyRows(OrderModel order)B2CCustomerHelpergetB2CCustomerHelper()java.util.Set<java.lang.String>getColumns()voidsetB2CCustomerHelper(B2CCustomerHelper b2cCustomerHelper)
-
-
-
Method Detail
-
getColumns
public java.util.Set<java.lang.String> getColumns()
- Specified by:
getColumnsin interfaceRawItemContributor<ReturnRequestModel>- Returns:
- Columns to be included in the CSV string
-
createRows
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> createRows(ReturnRequestModel model)
- Specified by:
createRowsin interfaceRawItemContributor<ReturnRequestModel>- 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
-
createSoldtoPartyRows
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> createSoldtoPartyRows(OrderModel order)
-
getB2CCustomerHelper
public B2CCustomerHelper getB2CCustomerHelper()
-
setB2CCustomerHelper
public void setB2CCustomerHelper(B2CCustomerHelper b2cCustomerHelper)
-
-