| java.lang.Object org.kuali.module.financial.rules.CreditCardReceiptDocumentRuleUtil
CreditCardReceiptDocumentRuleUtil | public class CreditCardReceiptDocumentRuleUtil (Code) | | Common Credit Card Receipt Document rule utilities.
|
Method Summary | |
public static boolean | areCashTotalsInvalid(CreditCardReceiptDocument ccrDocument) Checks whether the CashReceiptDocument's cash totals are invalid, generating global errors if so. | public static boolean | validateCreditCardReceipt(CreditCardDetail creditCardReceipt) This method method will invoke the data dictionary validation for a CreditCardDetail bo instance, in addition to checking
existence of the CreditCardType and CreditCardVendor attributes that hang off of it. |
areCashTotalsInvalid | public static boolean areCashTotalsInvalid(CreditCardReceiptDocument ccrDocument)(Code) | | Checks whether the CashReceiptDocument's cash totals are invalid, generating global errors if so.
Parameters: cashReceiptDocument - submitted cash receipt document true if any of the cash totals on cash credit card receipt document are invalid |
validateCreditCardReceipt | public static boolean validateCreditCardReceipt(CreditCardDetail creditCardReceipt)(Code) | | This method method will invoke the data dictionary validation for a CreditCardDetail bo instance, in addition to checking
existence of the CreditCardType and CreditCardVendor attributes that hang off of it. This method assumes that the document
hierarchy for the error map path is managed outside of this call.
Parameters: creditCardReceipt - credit card detail true if credit card detail amount is non zero and credit card vendor and type references exist |
|
|