Class PIASepaBeanImpl

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

public class PIASepaBeanImpl extends PIAComponentCollectionBean implements PIASepaBean
Sepa Implementation Class
Author:
mmunilak
See Also:
  • Constructor Details

  • Method Details

    • defaultsForUpdate

      public boolean defaultsForUpdate(PModelHandle model) throws RemoteException
      Appends additional maintenance-time SEPA information onto the model passed in. . (See the following example.)
       Example showing SEPA additional data appended at update-time:
       0 PIN_FLD_PAYINFO       ARRAY [1] allocated 2, used 2
       1     PIN_FLD_POID           POID [0] 0.0.0.1 /payinfo/sepa 26339 13
       1     PIN_FLD_PAY_TYPE      ENUM [0] 10018
       

      Specified by:
      defaultsForUpdate in interface PIAPaymentTypePanelBean
      Parameters:
      model - the model that needs to be updated
      Returns:
      false if the model handle for the view for this component is null; true otherwise
      Throws:
      RemoteException
    • defaultsForStoring

      public void defaultsForStoring(PModelHandle model) throws RemoteException
      Appends additional create-time Sepa information onto the model passed in. (See the following example.)
       Example showing SEPA defaults appended at commit-time:
       0 PIN_FLD_PAYINFO                  ARRAY [1] allocated 4, used 4
       1     PIN_FLD_POID                  POID [0] 0.0.0.1 /payinfo/sepa -1 0
       1     PIN_FLD_INHERITED_INFO   SUBSTRUCT [0] allocated 1, used 1
       2         PIN_FLD_SEPA_INFO        ARRAY [0] allocated 11, used 11
       3             PIN_FLD_MANDATE_TYPE  ENUM [0] 3
       3             PIN_FLD_MANDATE_SIGNED_PLACE    STR [0] ""
       3             PIN_FLD_CREDITOR_ID    STR [0] ""
       3             PIN_FLD_BIC            STR [0] ""
       3             PIN_FLD_IBAN           STR [0] ""
       3             PIN_FLD_MANDATE_SIGNED_T    TSTAMP [0] 
       3             PIN_FLD_MANDATE_UNIQUE_REFERENCE    STR [0] ""
       3             PIN_FLD_MANDATE_CONTRACT_DESCR    STR [0] ""
       3             PIN_FLD_MANDATE_CONTRACT_ID    STR [0] ""
       3             PIN_FLD_CREDITOR_NAME  STR [0] " "
       3             PIN_FLD_DEBTOR_INFO  ARRAY [0] allocated 3, used 3
       4                 PIN_FLD_REF_PARTY  STR [0] ""
       4                 PIN_FLD_IDENTIFICATION_CODE    STR [0] ""
       4                 PIN_FLD_REF_PARTY_ID_CODE    STR [0] ""
       1     PIN_FLD_FLAGS                  INT [0] 1
       1     PIN_FLD_PAY_TYPE              ENUM [0] 10018
       

      NOTE: At commit-time the server side needs a string for each of the PIN_FLD_SEPA_INFO array elements.
      Specified by:
      defaultsForStoring in interface PIAPaymentTypePanelBean
      Parameters:
      model - the model that needs to be updated
      Throws:
      RemoteException
    • defaultsForValidation

      public void defaultsForValidation(PModelHandle model) throws RemoteException
      Appends additional validate-time SEPA information onto the model passed in.
      Specified by:
      defaultsForValidation in interface PIAPaymentTypePanelBean
      Parameters:
      model - the model that needs to be updated
      Throws:
      RemoteException
    • getNameAddressData

      public NameAddressData getNameAddressData(PModelHandle modelHandle) throws RemoteException
      Gets the contact Name and Address Info
      Specified by:
      getNameAddressData in interface PIAPaymentTypePanelBean
      Parameters:
      modelHandle - Model from which name/address etc., are to be extracted
      modelhandle - current account model
      Returns:
      NameAddressData data structure containing name and address Info
      Throws:
      RemoteException