|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
---|
boolean isCustomerInvoiceDetailTaxable(CustomerInvoiceDocument document, CustomerInvoiceDetail customerInvoiceDetail)
customer
- customerInvoiceDetail
-
String getPostalCodeForTaxation(CustomerInvoiceDocument document)
document
-
boolean isInvoiceApproved(String invoiceNumber)
invoiceNumber
-
boolean isValidRecurrenceBeginDate(Date beginDate)
invoiceNumber
-
boolean isValidRecurrenceEndDate(Date beginDate, Date endDate)
invoiceNumber
-
boolean isValidEndDateAndTotalRecurrenceNumber(Date beginDate, Date endDate, Integer totalRecurrenceNumber, String intervalCode)
invoiceNumber
-
boolean isValidEndDateOrTotalRecurrenceNumber(Date endDate, Integer totalRecurrenceNumber)
invoiceNumber
-
boolean isValidMaximumNumberOfRecurrences(Integer totalRecurrenceNumber, String intervalCode)
invoiceNumber
-
boolean isValidInitiator(String initiator)
invoiceNumber
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |