Package com.skava.helper
Class ReturnWindowOtherChargesHelper
java.lang.Object
com.skava.helper.ReturnWindowOtherChargesHelper
The Class ReturnWindowOtherChargesHelper. Used conversion from one entity to
other.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.MessageSource
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Instantiates a new cart properties helper. -
Method Summary
Modifier and TypeMethodDescriptionvoid
processReturnWindowCharges
(long cartId, List<OtherChargesEntity> otherCharges, CartEntity cartEntity, ItemEntity item, String locale) This method is used to process and add return window charges to cart.
-
Field Details
-
messageSource
@Autowired protected org.springframework.context.MessageSource messageSource
-
-
Constructor Details
-
ReturnWindowOtherChargesHelper
protected ReturnWindowOtherChargesHelper()Instantiates a new cart properties helper.
-
-
Method Details
-
processReturnWindowCharges
public void processReturnWindowCharges(long cartId, List<OtherChargesEntity> otherCharges, CartEntity cartEntity, ItemEntity item, String locale) This method is used to process and add return window charges to cart.- Parameters:
cartId
- holds cart unique identifierotherCharges
- holds the list of other charges entitiescartEntity
- holds the cart requestitem
- holds the return item entitylocale
- holds locale information.
-