Package com.portal.app.ccare.comp
Interface PTopupBean
- All Superinterfaces:
Remote
- All Known Implementing Classes:
PTopupBeanImpl
This is the controller used by Topup
-
Method Summary
Modifier and TypeMethodDescriptioncom.portal.app.util.CustomerValErrorData[]creditCardPayment(PModelHandle payModel, PModelHandle accModel, BillinfoNode billinfo, boolean allocateNow) does credit card payment.Returns the data of current account's billinfos and balance groupscom.portal.app.util.CustomerValErrorData[]onFlilePayment(PModelHandle payModel, PModelHandle accModel, BillinfoNode billinfo, boolean allocateNow) does onFilePayment.com.portal.app.util.CustomerValErrorData[]validateCreditCardInfo(PModelHandle payModel, PModelHandle accModel) validateVoucher(PModelHandle payModel, PModelHandle accModel) Validates voucher against the given voucher id and pin number.com.portal.app.util.CustomerErrorvoucherPayment(PModelHandle payModel, PModelHandle accModel, BillinfoNode billinfo, boolean allocateNow) does voucher topup.
-
Method Details
-
getModelData
Returns the data of current account's billinfos and balance groups- Returns:
- the data of current account's billinfos and balance groups
- Throws:
RemoteException
-
creditCardPayment
com.portal.app.util.CustomerValErrorData[] creditCardPayment(PModelHandle payModel, PModelHandle accModel, BillinfoNode billinfo, boolean allocateNow) throws RemoteException does credit card payment. calls PCM_OP_PYMT_TOPUP- Parameters:
payModel- payinfo model containing the credit card detailaccModel- current account modelbillinfo- billinfo which need to be impactedallocateNow- boolean indicating if topup need to be allocated immediately or it can be deferred- Returns:
- error data if any else null
- Throws:
RemoteException
-
validateCreditCardInfo
com.portal.app.util.CustomerValErrorData[] validateCreditCardInfo(PModelHandle payModel, PModelHandle accModel) throws RemoteException - Parameters:
payModel-accModel-- Returns:
- Throws:
RemoteException
-
voucherPayment
com.portal.app.util.CustomerError voucherPayment(PModelHandle payModel, PModelHandle accModel, BillinfoNode billinfo, boolean allocateNow) throws RemoteException does voucher topup. calls PCM_OP_PYMT_TOPUP- Parameters:
payModel- payinfo model containing the voucher detailaccModel- current account modelbillinfo- billinfo which need to be impactedallocateNow- boolean indicating if topup need to be allocated immediately or it can be deferred- Returns:
- error data if any else null
- Throws:
RemoteException
-
onFlilePayment
com.portal.app.util.CustomerValErrorData[] onFlilePayment(PModelHandle payModel, PModelHandle accModel, BillinfoNode billinfo, boolean allocateNow) throws RemoteException does onFilePayment. calls PCM_OP_PYMT_TOPUP- Parameters:
payModel- payinfo model containing the payment method detailsaccModel- current account modelbillinfo- billinfo which need to be impactedallocateNow- boolean indicating if topup need to be allocated immediately or it can be deferred- Returns:
- error data if any else null
- Throws:
RemoteException
-
validateVoucher
Validates voucher against the given voucher id and pin number.- Parameters:
payModel- voucher detailsaccModel- current account model- Returns:
- details of the voucher such as resources associated with it. If the voucher is not found returns null
- Throws:
RemoteException
-