Class PIAInvoiceRetriever

java.lang.Object
com.portal.app.ccare.comp.PIAInvoiceRetriever

public class PIAInvoiceRetriever extends Object
Controller helper class that retrieves an invoice.

The following opcodes are used by this controller:

  • PortalOp.BILL_VIEW_INVOICE for retrieving an invoice.

  • Constructor Details

    • PIAInvoiceRetriever

      public PIAInvoiceRetriever()
      Constructs an invoice retriever.
  • Method Details

    • getInvoice

      public Object getInvoice(Poid accountPoid, Poid billPoid, PortalContext ctx) throws RemoteException
      Given an account POID and a bill POID, return the corresponding invoice or an error message if an invoice can't be found.
      Parameters:
      accountPoid - account POID
      billPoid - bill POID
      ctx - Portal Context
      Returns:
      The matching invoice is returned if the lookup attempt is successful or an error if the attempt fails. The invoice stream that is returned is built in BuildInvoice
      Throws:
      RemoteException
      See Also:
      • invalid reference
        com.portal.app.cc.comp.PIAInvoiceRetriever#buildInvoice(java.io.InputStream)
    • getInvoice

      public Object getInvoice(Poid accountPoid, Poid billPoid, String billNumber, PortalContext ctx) throws RemoteException
      Given an account POID and a bill POID, return the corresponding invoice or an error message if an invoice can't be found.
      Parameters:
      accountPoid - account POID
      billPoid - bill POID
      billNumber - PIN_FLD_BILL_NO of the selected bill.
      ctx - Portal Context
      Returns:
      The matching invoice is returned if the lookup attempt is successful or an error if the attempt fails. The invoice stream that is returned is built in BuildInvoice
      Throws:
      RemoteException
      See Also:
      • invalid reference
        com.portal.app.cc.comp.PIAInvoiceRetriever#buildInvoice(java.io.InputStream)