Package com.portal.app.ccare.comp
Class PIAFUSADirDebitBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.ccare.comp.PIAFUSADirDebitBeanImpl
- All Implemented Interfaces:
PIAFUSADirDebitBean
,PIAPaymentTypePanelBean
,PIACollectionBean
,PControllerBean
,Serializable
,Remote
,Unreferenced
public class PIAFUSADirDebitBeanImpl
extends PIAComponentCollectionBean
implements PIAFUSADirDebitBean
Controller class for getting default Paymentech (FUSA) direct debit
information
- See Also:
-
Field Summary
Fields inherited from class com.portal.bas.PControllerImpl
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new controller for the Paymentech (FUSA) direct debit payment type -
Method Summary
Modifier and TypeMethodDescriptionvoid
defaultsForStoring
(PModelHandle model) Appends additional create-time Paymentech (FUSA) direct debit information onto the model passed in.boolean
defaultsForUpdate
(PModelHandle model) Appends additional update-time Paymentech (FUSA) direct debit information onto the model passed in.void
Appends additional validate-time Paymentech (FUSA) direct debit information onto the model passed in.getNameAddressData
(PModelHandle modelHandle) Gets the contact Name and Address InfoMethods inherited from class com.portal.bas.comp.PIAComponentCollectionBean
addChild, getCollectedData, getSelectionDataFor, removeChild, update
Methods inherited from class com.portal.bas.PControllerImpl
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getRemoteListenerHandle, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferenced
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Constructor Details
-
PIAFUSADirDebitBeanImpl
Creates a new controller for the Paymentech (FUSA) direct debit payment type- Throws:
RemoteException
-
-
Method Details
-
defaultsForUpdate
Appends additional update-time Paymentech (FUSA) direct debit information onto the model passed in. The Payinfo direct debit bill type and the existing Payinfo POID will be appended.
Example showing Direct Debit additional data appended at update-time: 0 PIN_FLD_PAYINFO ARRAY [1] allocated 2, used 2 1 PIN_FLD_PAY_TYPE ENUM [0] 10005 1 PIN_FLD_POID POID [0] 0.0.0.1 /payinfo/dd 26339 13
- Specified by:
defaultsForUpdate
in interfacePIAPaymentTypePanelBean
- Parameters:
model
- the payinfo model that needs to be set- Returns:
- false if the model handle for the view for this component is null; true otherwise
- Throws:
RemoteException
-
defaultsForStoring
Appends additional create-time Paymentech (FUSA) direct debit information onto the model passed in. The Payinfo direct debit type and a Payinfo type-only direct debit POID as well as default direct debit information will be appended.
Example showing Direct Debit defaults appended at commit-time: 0 PIN_FLD_PAYINFO ARRAY [1] allocated 20, used 3 1 PIN_FLD_PAY_TYPE ENUM [0] 10005 1 PIN_FLD_POID POID [0] 0.0.0.1 /payinfo/dd -1 0 1 PIN_FLD_INHERITED_INFO SUBSTRUCT [0] allocated 20, used 1 2 PIN_FLD_DD_INFO ARRAY [0] allocated 20, used 9 3 PIN_FLD_DEBIT_NUM STR [0] "" 3 PIN_FLD_BANK_NO STR [0] "" 3 PIN_FLD_NAME STR [0] "" 3 PIN_FLD_ADDRESS STR [0] "" 3 PIN_FLD_CITY STR [0] "" 3 PIN_FLD_STATE STR [0] "" 3 PIN_FLD_ZIP STR [0] "" 3 PIN_FLD_COUNTRY STR [0] "" 3 PIN_FLD_TYPE ENUM [0] 0
NOTE: At commit-time the server side needs a string for each of the PIN_FLD_DD_INFO array elements.- Specified by:
defaultsForStoring
in interfacePIAPaymentTypePanelBean
- Parameters:
model
- the payinfo model that needs to be set- Throws:
RemoteException
-
defaultsForValidation
Appends additional validate-time Paymentech (FUSA) direct debit information onto the model passed in. The Payinfo direct debit bill type and a Payinfo type-only direct debit POID will be appended.
Example showing Direct Debit defaults appended at validate-time: 0 PIN_FLD_PAYINFO ARRAY [1] allocated 2, used 2 1 PIN_FLD_PAY_TYPE ENUM [0] 10005 1 PIN_FLD_POID POID [0] 0.0.0.1 /payinfo/dd -1 0
- Specified by:
defaultsForValidation
in interfacePIAPaymentTypePanelBean
- Parameters:
model
- the payinfo model that needs to be set- Throws:
RemoteException
-
getNameAddressData
Gets the contact Name and Address Info- Specified by:
getNameAddressData
in interfacePIAPaymentTypePanelBean
- Parameters:
modelHandle
- Model from which name/address etc., are to be extractedmodelhandle
- current account model- Returns:
- NameAddressData data structure containing name and address Info
- Throws:
RemoteException
-