org.kuali.kfs.module.ar.document.service
Interface InvoiceRecurrenceDocumentService

All Known Implementing Classes:
InvoiceRecurrenceDocumentServiceImpl

public interface InvoiceRecurrenceDocumentService


Method Summary
 String getPostalCodeForTaxation(CustomerInvoiceDocument document)
          This method returns the appropriate postal code for taxation
 boolean isCustomerInvoiceDetailTaxable(CustomerInvoiceDocument document, CustomerInvoiceDetail customerInvoiceDetail)
          This method returns true if customer invoice detail amount can be taxed.
 boolean isInvoiceApproved(String invoiceNumber)
          This method returns true if the invoice has an approved status.
 boolean isValidEndDateAndTotalRecurrenceNumber(Date beginDate, Date endDate, Integer totalRecurrenceNumber, String intervalCode)
          This method returns true if the end date and number of recurrences are valid if entered together.
 boolean isValidEndDateOrTotalRecurrenceNumber(Date endDate, Integer totalRecurrenceNumber)
          This method returns true if one of the end date or the number of recurrences is entered.
 boolean isValidInitiator(String initiator)
          This method returns true if the initiator is valid.
 boolean isValidMaximumNumberOfRecurrences(Integer totalRecurrenceNumber, String intervalCode)
          This method returns true if the number of recurrences is not more than the maximum allowed.
 boolean isValidRecurrenceBeginDate(Date beginDate)
          This method returns true if the bein date is valid.
 boolean isValidRecurrenceEndDate(Date beginDate, Date endDate)
          This method returns true if the end date is valid.
 

Method Detail

isCustomerInvoiceDetailTaxable

boolean isCustomerInvoiceDetailTaxable(CustomerInvoiceDocument document,
                                       CustomerInvoiceDetail customerInvoiceDetail)
This method returns true if customer invoice detail amount can be taxed.

Parameters:
customer -
customerInvoiceDetail -
Returns:

getPostalCodeForTaxation

String getPostalCodeForTaxation(CustomerInvoiceDocument document)
This method returns the appropriate postal code for taxation

Parameters:
document -
Returns:

isInvoiceApproved

boolean isInvoiceApproved(String invoiceNumber)
This method returns true if the invoice has an approved status.

Parameters:
invoiceNumber -
Returns:

isValidRecurrenceBeginDate

boolean isValidRecurrenceBeginDate(Date beginDate)
This method returns true if the bein date is valid.

Parameters:
invoiceNumber -
Returns:

isValidRecurrenceEndDate

boolean isValidRecurrenceEndDate(Date beginDate,
                                 Date endDate)
This method returns true if the end date is valid.

Parameters:
invoiceNumber -
Returns:

isValidEndDateAndTotalRecurrenceNumber

boolean isValidEndDateAndTotalRecurrenceNumber(Date beginDate,
                                               Date endDate,
                                               Integer totalRecurrenceNumber,
                                               String intervalCode)
This method returns true if the end date and number of recurrences are valid if entered together.

Parameters:
invoiceNumber -
Returns:

isValidEndDateOrTotalRecurrenceNumber

boolean isValidEndDateOrTotalRecurrenceNumber(Date endDate,
                                              Integer totalRecurrenceNumber)
This method returns true if one of the end date or the number of recurrences is entered.

Parameters:
invoiceNumber -
Returns:

isValidMaximumNumberOfRecurrences

boolean isValidMaximumNumberOfRecurrences(Integer totalRecurrenceNumber,
                                          String intervalCode)
This method returns true if the number of recurrences is not more than the maximum allowed.

Parameters:
invoiceNumber -
Returns:

isValidInitiator

boolean isValidInitiator(String initiator)
This method returns true if the initiator is valid.

Parameters:
invoiceNumber -
Returns:


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.