org.kuali.kfs.module.ar.util
Class CustomerInvoiceBalanceHelper

java.lang.Object
  extended by org.kuali.kfs.module.ar.util.CustomerInvoiceBalanceHelper

public class CustomerInvoiceBalanceHelper
extends Object


Constructor Summary
CustomerInvoiceBalanceHelper()
           
CustomerInvoiceBalanceHelper(CustomerInvoiceDocument invoice, Collection<InvoicePaidApplied> invoicePaidApplieds)
           
 
Method Summary
 org.kuali.rice.kns.util.KualiDecimal getCalculatedBalance()
          This method calculates the invoice document balance as the difference between the open amount and the total applied amount
 CustomerInvoiceDocument getInvoice()
          This method gets the invoice
 Collection<InvoicePaidApplied> getInvoicePaidApplieds()
          This method gets the invoice paid applieds
 org.kuali.rice.kns.util.KualiDecimal getOpenAmount()
          This method gets the open amount of the ustomer invoice document
 org.kuali.rice.kns.util.KualiDecimal getTotalAppliedAmountForAppDoc()
          This method gets the total applied amount
 void setInvoice(CustomerInvoiceDocument invoice)
          This method sets the invoice
 void setInvoicePaidApplieds(Collection<InvoicePaidApplied> invoicePaidApplieds)
          This method sets the invoice paid applieds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomerInvoiceBalanceHelper

public CustomerInvoiceBalanceHelper()

CustomerInvoiceBalanceHelper

public CustomerInvoiceBalanceHelper(CustomerInvoiceDocument invoice,
                                    Collection<InvoicePaidApplied> invoicePaidApplieds)
Method Detail

getCalculatedBalance

public org.kuali.rice.kns.util.KualiDecimal getCalculatedBalance()
This method calculates the invoice document balance as the difference between the open amount and the total applied amount

Returns:
the balance of the customer invoice document

getOpenAmount

public org.kuali.rice.kns.util.KualiDecimal getOpenAmount()
This method gets the open amount of the ustomer invoice document

Returns:
the open amount of the invoice

getTotalAppliedAmountForAppDoc

public org.kuali.rice.kns.util.KualiDecimal getTotalAppliedAmountForAppDoc()
This method gets the total applied amount

Returns:
the total applied amount

getInvoice

public CustomerInvoiceDocument getInvoice()
This method gets the invoice

Returns:

setInvoice

public void setInvoice(CustomerInvoiceDocument invoice)
This method sets the invoice

Parameters:
invoice -

getInvoicePaidApplieds

public Collection<InvoicePaidApplied> getInvoicePaidApplieds()
This method gets the invoice paid applieds

Returns:

setInvoicePaidApplieds

public void setInvoicePaidApplieds(Collection<InvoicePaidApplied> invoicePaidApplieds)
This method sets the invoice paid applieds

Parameters:
invoicePaidApplieds -


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