Class MBankAccountProcessor

    • Constructor Detail

      • MBankAccountProcessor

        public MBankAccountProcessor​(Properties ctx,
                                     int ignored,
                                     String trxName)
      • MBankAccountProcessor

        public MBankAccountProcessor​(Properties ctx,
                                     int C_BankAccount_ID,
                                     int C_PaymentProcessor_ID,
                                     String trxName)
    • Method Detail

      • find

        public static MBankAccountProcessor[] find​(Properties ctx,
                                                   String tender,
                                                   String CCType,
                                                   int AD_Client_ID,
                                                   int C_Currency_ID,
                                                   BigDecimal Amt,
                                                   String trxName)
        Get Bank Account Processor
        Parameters:
        ctx - context
        tender - optional Tender see TENDER_
        CCType - optional CC Type see CC_
        AD_Client_ID - Client
        C_Currency_ID - Currency (ignored)
        Amt - Amount (ignored)
        trxName - transaction
        Returns:
        Array of BankAccount[0] and PaymentProcessor[1] or null
      • beforeSave

        protected boolean beforeSave​(boolean newRecord)
        Description copied from class: PO
        Called before Save for Pre-Save Operation
        Overrides:
        beforeSave in class PO
        Parameters:
        newRecord - new record
        Returns:
        true if record can be saved
      • accepts

        public boolean accepts​(String TenderType,
                               String CreditCardType)
        Does Payment Processor accepts tender / CC
        Parameters:
        TenderType - tender type
        CreditCardType - credit card type
        Returns:
        true if acceptes
      • getHostAddress

        public String getHostAddress()
      • getHostPort

        public int getHostPort()
      • getProxyAddress

        public String getProxyAddress()
      • getProxyPort

        public int getProxyPort()
      • getProxyLogon

        public String getProxyLogon()
      • getProxyPassword

        public String getProxyPassword()