Class MBPBankAccount

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_C_BP_BankAccount, I_Persistent, Evaluatee

public class MBPBankAccount extends X_C_BP_BankAccount
BP Bank Account Model
Version:
$Id: MBPBankAccount.java,v 1.3 2006/07/30 00:51:03 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MBPBankAccount

      public MBPBankAccount(Properties ctx, String C_BP_BankAccount_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      C_BP_BankAccount_UU - UUID key
      trxName - Transaction
    • 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)
      Copy constructor
      Parameters:
      copy -
    • MBPBankAccount

      public MBPBankAccount(Properties ctx, MBPBankAccount copy)
      Copy constructor
      Parameters:
      ctx -
      copy -
    • MBPBankAccount

      public MBPBankAccount(Properties ctx, MBPBankAccount copy, String trxName)
      Copy constructor
      Parameters:
      ctx -
      copy -
      trxName -
  • Method Details

    • getOfBPartner

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

      public boolean isDirectDeposit()
      Is Direct Deposit
      Returns:
      true if account is for direct deposit
    • isDirectDebit

      public boolean isDirectDebit()
      Is Direct Debit
      Returns:
      true if account is for direct debit
    • getBank

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

      public String getRoutingNo()
      Get Routing No
      Specified by:
      getRoutingNo in interface I_C_BP_BankAccount
      Overrides:
      getRoutingNo in class X_C_BP_BankAccount
      Returns:
      bank routing No
    • getSwiftCode

      public String getSwiftCode()
      Get SwiftCode
      Returns:
      bank Swift Code
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Description copied from class: PO
      Called before Save for Pre-Save Operation.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - true if it is a new record
      Returns:
      true if record can be saved
    • toString

      public String toString()
      String Representation
      Overrides:
      toString in class X_C_BP_BankAccount
      Returns:
      info