public class DefaultConsignmentBasedReturnableCheck extends AbstractBusinessService implements ReturnableCheck
DefaultReturnService to provide information, if
specified product is returnable.AbstractService.SerializableDTOsessionService, txManagertenant| Constructor and Description |
|---|
DefaultConsignmentBasedReturnableCheck() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
perform(OrderModel order,
AbstractOrderEntryModel orderentry,
long returnQuantity)
Determines if the product is 'returnable'.
|
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerafterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, setTenantScope, writeReplacepublic DefaultConsignmentBasedReturnableCheck()
public boolean perform(OrderModel order, AbstractOrderEntryModel orderentry, long returnQuantity)
perform in interface ReturnableCheckorder - the related original orderorderentry - the ordered product which will be returnedreturnQuantity - the quantity of entries to be returnedCopyright © 2017 SAP SE. All Rights Reserved.