Package com.portal.app.ccare.comp
Interface PPaymentPageBean
- All Superinterfaces:
Remote
- All Known Implementing Classes:
PPaymentPageBeanImpl
This is the public interfaced used by PPaymentPage
- Author:
- subhendhu, savitha, ramaprasad, manjunatha l
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
deletePayInfo
(int index) com.portal.app.util.CustomerValErrorData[]
deletePayInfo
(PModelHandle payModel) Returns the model handle of the account.void
getARBillinfo
(PModelHandle billMH, int[] billIndex) getBalanceGroupsAndServicesArray
(Poid tempBillInfoPoid) getbalGrpAndSvcFromPlanPoid
(FList modelHandle) getBillInfo
(boolean refresh, PModelHandle parentMH) getBillInfos
(FList accFList) getDefaultBalGrp
(PModelHandle modelHandle) getDefaultPaymentInfo
(PModelHandle billhandle, int[] paymentIndex) getDetailedBillInfos
(FList accFList) getExemptionsTableModel
(PModelHandle exmtipTblModel, PTaxExemptionData pTaxData, boolean bIsChanging, String vatCertificate) Gets the list of exemptions for this accountint
Gets the exemption type of a row selected in the exemption table.getModelForSettingNextBillingStartAndEnd
(Date start, Date end) Returns the model containing the fields for next billing start and end datesget the model handle.Returns Newly created payment info object detailsReturns the parent account number, i.e., contents of PIN_FLD_ACCOUNT_NO of /account objectlong
getPaymentTblModel
(PModelHandle arMh, boolean bIsSub, PARPaymentSearchCriteria pPmtSearchCriteria) Gets the list of payments that satisfy the search criteriagetPurchasedDataInfo
(Poid aPoid) getServicesForBillInfo
(PModelHandle pm, PModelHandle[] servHandle) getServicesFromMH
(PModelHandle mhandle) boolean
Determines if this account is direct debit or notboolean
Determines if this account is incorporated inside a cityboolean
boolean
isInvoiceNameExists
(FList inFlist) returns true if the invoice name mentioned in the inFlist already existscom.portal.app.util.CustomerValErrorData[]
modifyPayInfo
(PModelHandle payModel, int index) populateBalanceGroupInfo
(PModelHandle mh, boolean isPlanOption, boolean isCollectData) method used to populate PIN_FLD_BALINFO array to the plan model handle, if isPlanOption is true then it will remove non-purchased deals from the original model handlevoid
readARBillInfoObj
(boolean isPayingHierarchy) Reads the /payinfo/dd objectreadPaymentDetails
(PModelHandle payHandle) void
refreshPaymentMH
(Vector paymentInfo) void
refreshPayMH
(int payIndex, boolean isSubordinate) void
removeBalInfoIndex
(PModelHandle model) This method will remove 'PIN_FLD_BAL_INFO_INDEX' under Services FList during Plan Purchase If there are multiple services,get the index of PIN_FLD_BAL_INFO_INDEX in each service,search for an balinfo array at that index in the main flist and if it does not exist remove the PIN_FLD_BAL_INFO_INDEX from the services flist If there is only one service array and if it contains PIN_FLD_BAL_INFO_INDEX and if the main flist does not contain the balinfo array,then also remove the PIN_FLD_BAL_INFO_INDEX from the service flistcom.portal.app.util.CustomerValErrorData[]
save
(PModelHandle modelHandle, PTaxExemptionData pTaxData, PModelHandle modl) void
setModelHandle
(PModelHandle mHandle) to set the model handle.com.portal.app.util.CustomerValErrorData[]
setPayInfo
(PModelHandle accModel, PModelHandle payModel) boolean
updateBillInfoDetails
(PModelHandle billMH, int payType, int billType, boolean isSubordinate) boolean
updateBillInfoDetails
(FList billInfo) void
updatePaymentOptions
(String debitNo, String maskedDebitNo) This method will update the hashmap of payment options with the masked debit Nosvoid
updatePaymentToMH
(int payDefault, PModelHandle billMH, PModelHandle eventMH) com.portal.app.util.CustomerValErrorData[]
validatePayInfo
(PModelHandle payModel)
-
Method Details
-
getPaymentTblModel
PModelHandle getPaymentTblModel(PModelHandle arMh, boolean bIsSub, PARPaymentSearchCriteria pPmtSearchCriteria) throws RemoteException Gets the list of payments that satisfy the search criteria- Parameters:
arMh
- AR account modelhandlebIsSub
- Is this a subordinate accountpPmtSearchCriteria
- Class that has the saved payment search criteria from the dialog- Returns:
- the model handle for the list of payments
- Throws:
RemoteException
-
getExemptionsTableModel
PModelHandle getExemptionsTableModel(PModelHandle exmtipTblModel, PTaxExemptionData pTaxData, boolean bIsChanging, String vatCertificate) throws RemoteException Gets the list of exemptions for this account- Parameters:
exmtipTblModel
- model handle of the exemptions tablepTaxData
- Tax Exemption Data that needs to be added.bIsChanging
- True if changing or deleting. False if adding exemptions- Returns:
- the model handle of the list of exemptions
- Throws:
RemoteException
-
save
com.portal.app.util.CustomerValErrorData[] save(PModelHandle modelHandle, PTaxExemptionData pTaxData, PModelHandle modl) throws RemoteException - Parameters:
modelHandle
- model handle of the payment pagepTaxData
- Tax Data that needs to be updated.bIsChanging
- True if changing or deleting. False if adding exemptions- Returns:
- the model handle
- Throws:
RemoteException
-
getAccountModel
Returns the model handle of the account.- Returns:
- model handle of the account
- Throws:
RemoteException
-
getExemptionType
Gets the exemption type of a row selected in the exemption table.- Parameters:
mh
- model handle of the row selected in the exemptions table- Returns:
- Returns the exemption type of the row selected in the exemption table.
- Throws:
RemoteException
-
IsAccountDDebit
Determines if this account is direct debit or not- Returns:
- true if account os direct debit, false otherwise
- Throws:
RemoteException
-
readPayinfoDdObj
Reads the /payinfo/dd object- Returns:
- model handle for the /payinfo/dd object
- Throws:
RemoteException
-
isAccountIncorporated
Determines if this account is incorporated inside a city- Returns:
- true if account is incorporated
- Throws:
RemoteException
-
getModelForSettingNextBillingStartAndEnd
Returns the model containing the fields for next billing start and end dates- Parameters:
start
- begining date of the next billing cycleend
- date of the next billing cycle- Returns:
- model handle containing FldNextBillT and FldActgFutureT
- Throws:
RemoteException
-
getDefaultPaymentInfo
PModelHandle getDefaultPaymentInfo(PModelHandle billhandle, int[] paymentIndex) throws RemoteException - Throws:
RemoteException
-
readPaymentDetails
- Throws:
RemoteException
-
getPayments
Hashtable getPayments() -
getPayInfo
- Throws:
RemoteException
-
getServicesForBillInfo
- Throws:
RemoteException
-
getPaymentOptions
- Throws:
RemoteException
-
validatePayInfo
com.portal.app.util.CustomerValErrorData[] validatePayInfo(PModelHandle payModel) throws RemoteException - Throws:
RemoteException
-
deletePayInfo
com.portal.app.util.CustomerValErrorData[] deletePayInfo(PModelHandle payModel) throws RemoteException - Throws:
RemoteException
-
setPayInfo
com.portal.app.util.CustomerValErrorData[] setPayInfo(PModelHandle accModel, PModelHandle payModel) throws RemoteException - Throws:
RemoteException
-
getServicesFromMH
- Throws:
RemoteException
-
deletePayInfo
- Throws:
RemoteException
-
updatePaymentToMH
void updatePaymentToMH(int payDefault, PModelHandle billMH, PModelHandle eventMH) throws RemoteException - Throws:
RemoteException
-
updateBillInfoDetails
- Throws:
RemoteException
-
updateBillInfoDetails
boolean updateBillInfoDetails(PModelHandle billMH, int payType, int billType, boolean isSubordinate) throws RemoteException - Throws:
RemoteException
-
getARBillinfo
- Throws:
RemoteException
-
getParentBills
Hashtable getParentBills() -
isAccountInHierarchy
- Throws:
RemoteException
-
readARBillInfoObj
void readARBillInfoObj(boolean isPayingHierarchy) -
getBillInfo
- Throws:
RemoteException
-
getParentBillInfo
- Throws:
RemoteException
-
refreshPayMH
void refreshPayMH(int payIndex, boolean isSubordinate) -
modifyPayInfo
com.portal.app.util.CustomerValErrorData[] modifyPayInfo(PModelHandle payModel, int index) throws RemoteException - Throws:
RemoteException
-
clear
- Throws:
RemoteException
-
refreshPaymentMH
- Throws:
RemoteException
-
getParentAcctNum
long getParentAcctNum() -
getbalGrpAndSvcFromPlanPoid
- Throws:
RemoteException
-
getDefaultBalGrp
- Throws:
RemoteException
-
populateBalanceGroupInfo
method used to populate PIN_FLD_BALINFO array to the plan model handle, if isPlanOption is true then it will remove non-purchased deals from the original model handle- Parameters:
mh
- plan modelhandleisPlanOption
- flag to indicate if the selected plan is plan with optionisCollectData
- flag to indicate if method is called during collectData- Returns:
- new FList after populating the Balance Group information
-
getBillInfos
-
getBalanceGroupsAndServicesArray
- Throws:
RemoteException
-
getDetailedBillInfos
-
getPurchasedDataInfo
- Throws:
RemoteException
-
getDefaultBillInfo
- Throws:
RemoteException
-
getPaymentMethods
Vector getPaymentMethods() -
getPaymentInfo
- Throws:
RemoteException
-
getNewPayInfoObject
Poid getNewPayInfoObject()Returns Newly created payment info object details- Returns:
- Poid
-
setModelHandle
to set the model handle.- Parameters:
mHandle
- PModelHandle
-
getModelHandle
PModelHandle getModelHandle()get the model handle.- Returns:
- PModelHandle
-
getParentAccountNumber
String getParentAccountNumber()Returns the parent account number, i.e., contents of PIN_FLD_ACCOUNT_NO of /account object- Returns:
- String parent account number
-
isInvoiceNameExists
returns true if the invoice name mentioned in the inFlist already exists- Parameters:
inFlist
- FList- Returns:
- boolean
-
updatePaymentOptions
This method will update the hashmap of payment options with the masked debit Nos- Parameters:
actualNo
-maskedNo
-
-
removeBalInfoIndex
This method will remove 'PIN_FLD_BAL_INFO_INDEX' under Services FList during Plan Purchase If there are multiple services,get the index of PIN_FLD_BAL_INFO_INDEX in each service,search for an balinfo array at that index in the main flist and if it does not exist remove the PIN_FLD_BAL_INFO_INDEX from the services flist If there is only one service array and if it contains PIN_FLD_BAL_INFO_INDEX and if the main flist does not contain the balinfo array,then also remove the PIN_FLD_BAL_INFO_INDEX from the service flist- Parameters:
model
-
-