Class MBPBankAccount

    • Constructor Detail

      • MBPBankAccount

        public MBPBankAccount​(Properties ctx,
                              int C_BP_BankAccount_ID,
                              String trxName)
        Constructor
        Parameters:
        ctx - context
        C_BP_BankAccount_ID - BP bank account
        trxName - transaction
      • MBPBankAccount

        public MBPBankAccount​(Properties ctx,
                              ResultSet rs,
                              String trxName)
        Constructor
        Parameters:
        ctx - context
        rs - result set
        trxName - transaction
      • MBPBankAccount

        public MBPBankAccount​(Properties ctx,
                              MBPartner bp,
                              MUser bpc,
                              MLocation location)
        Constructor
        Parameters:
        ctx - context
        bp - BP
        bpc - BP Contact
        location - Location
      • MBPBankAccount

        public MBPBankAccount​(MBPBankAccount copy)
        Parameters:
        copy -
    • Method Detail

      • getOfBPartner

        public static MBPBankAccount[] getOfBPartner​(Properties ctx,
                                                     int C_BPartner_ID)
        Get Accounts Of BPartner
        Parameters:
        ctx - context
        C_BPartner_ID - bpartner
        Returns:
      • isDirectDeposit

        public boolean isDirectDeposit()
        Is Direct Deposit
        Returns:
        true if dd
      • isDirectDebit

        public boolean isDirectDebit()
        Is Direct Debit
        Returns:
        true if dd
      • getBank

        public MBank getBank()
        Get Bank
        Returns:
        bank
      • getSwiftCode

        public String getSwiftCode()
        Get SwiftCode
        Returns:
        SwiftCode
      • beforeSave

        protected boolean beforeSave​(boolean newRecord)
        Before Save
        Overrides:
        beforeSave in class PO
        Parameters:
        newRecord - new
        Returns:
        true