public class PaymentRequestTotalsValidation extends GenericValidation
Constructor and Description |
---|
PaymentRequestTotalsValidation() |
Modifier and Type | Method and Description |
---|---|
protected void |
flagLineItemTotals(List<PurApItem> itemList)
Flags with an erorr the item totals whos calculated extended price does not equal its extended price.
|
protected org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalExcludingItemTypes(List<PurApItem> itemList,
List<String> excludedItemTypes)
Calculates a total but excludes passed in item types from the totalling.
|
boolean |
validate(AttributedDocumentEvent event)
This method validates that certain parameters
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public PaymentRequestTotalsValidation()
public boolean validate(AttributedDocumentEvent event)
Validation
protected org.kuali.rice.core.api.util.type.KualiDecimal getTotalExcludingItemTypes(List<PurApItem> itemList, List<String> excludedItemTypes)
itemList
- - list of purap itemsexcludedItemTypes
- - list of item types to exclude from totallingprotected void flagLineItemTotals(List<PurApItem> itemList)
itemList
- - list of purap itemsCopyright © 2004–2015 The Kuali Foundation. All rights reserved.