Class PVoucherPaymentBeanImpl

All Implemented Interfaces:
PIACollectionBean, PControllerBean, Serializable, Remote, Unreferenced

public class PVoucherPaymentBeanImpl extends PIAComponentCollectionBean
Controller class for obtaining Voucher payment related information Opcodes used PortalOp.BAL_GET_ACCT_BAL_GRP_AND_SVC PortalOp.BAL_GET_BALANCES PortalOp.PYMT_TOPUP
See Also:
  • Constructor Details

  • Method Details

    • getModelDataForBillInfo

      public HashMap getModelDataForBillInfo(PModelHandle accModel, Poid BillinfoPoid, Poid AcctPoid) throws RemoteException
      Parameters:
      accModel -
      AccPoid -
      billinfoPoid -
      Returns:
      Hashtable
      Throws:
      RemoteException
    • getBEIDDescription

      public Object getBEIDDescription(int index) throws RemoteException
      Throws:
      RemoteException
    • isCurrency

      public boolean isCurrency(int id) throws RemoteException
      Throws:
      RemoteException
    • searchVoucherDetails

      public ArrayList searchVoucherDetails(PModelHandle accModel, Poid billinfoPoid, Poid balanceGroupPoid, String voucher_id, String voucher_pin) throws RemoteException
      This method is called from webkit to search voucher details.
      Parameters:
      accModel -
      billinfoPoid -
      balanceGroupPoid -
      voucher_id -
      voucher_pin -
      billinfoPoid -
      Returns:
      Vector
      Throws:
      RemoteException
    • applyVoucherDetails

      public ArrayList applyVoucherDetails(PModelHandle accModel, Poid billinfoPoid, Poid balanceGroupPoid, String voucher_id, String voucher_pin, boolean allocateNow) throws RemoteException
      This method does the smae function as doVoucherPayment . This method is called from webkit to apply voucher topup
      Parameters:
      accModel -
      billinfoPoid -
      balanceGroupPoid -
      voucher_id -
      voucher_pin -
      billinfoPoid -
      Returns:
      ArrayList
      Throws:
      RemoteException
    • getVoucherErrorMessage

      public ArrayList getVoucherErrorMessage(EBufException e)
      This method will parse the EBufException invalid input: '&' returns the error code as a String All these error code strings are stored in Webkit.properties file.
      Parameters:
      EBufException - e
      Returns:
      ArrayList arrayErrMsg