Class OrderPositionFinalizeVoucherMethod
java.lang.Object
ch.tocco.nice2.optional.order.impl.service.OrderPositionFinalizeVoucherMethod
- All Implemented Interfaces:
FinalizeVoucherMethod
@Component
public class OrderPositionFinalizeVoucherMethod
extends Object
implements FinalizeVoucherMethod
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckSetTotals(Entity voucher) checks if the totals of the voucher should be set
-
Constructor Details
-
OrderPositionFinalizeVoucherMethod
public OrderPositionFinalizeVoucherMethod()
-
-
Method Details
-
checkSetTotals
Description copied from interface:FinalizeVoucherMethodchecks if the totals of the voucher should be set- Specified by:
checkSetTotalsin interfaceFinalizeVoucherMethod- Parameters:
voucher- the voucher to finalize
-