|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BankStatementLoaderInterface
Interface to be implemented by bank statement loader classes Bank statement loader classes that extend this interface can be loaded by the MBankStatementLoader controller class. The usage patter looks like this: -init() is called in order to initialize the loader -validate() is called, allowing the loader to perform data validation if it provides this. -loadLines() is called, request the loader to start loading statement lines -for everu statement line that the loader encounteres, it calls the saveLine() method of the MBankStatement controller object it obtained as part of the call to init() -The MBankStatementLoader controller object can now obtain the data for the current bank statement line by using the corresponding get methods of the loader class.
| Method Summary | |
|---|---|
String |
getBankAccountNo()
The account number of the bank account for the statement line. |
BigDecimal |
getChargeAmt()
Charge amount |
String |
getChargeName()
Charge name |
String |
getCheckNo()
Check number Check number, in case the transaction was initiated by a check. |
String |
getCurrency()
Currency |
Timestamp |
getDateLastRun()
The last time this loader aquired bank statement data. |
BigDecimal |
getInterestAmt()
Interest Amount |
boolean |
getIsReversal()
Indicates whether this transaction is a reversal |
String |
getLastErrorDescription()
Return the most recent error description |
String |
getLastErrorMessage()
Return the most recent error |
String |
getMemo()
Transaction memo |
String |
getPayeeAccountNo()
Payee account Account information of "the other party" If a specific loader class does not provide this, it is allowed to return null. |
String |
getPayeeName()
Payee name Name information, for OFX this is the |
String |
getReference()
Additional reference information Statement line level reference information. |
String |
getRoutingNo()
The routing number of the bank account for the statement line. |
Timestamp |
getStatementDate()
Statement Date Date of the bank statement. |
Timestamp |
getStatementLineDate()
Statement line date This has to be provided by all loader classes. |
String |
getStatementReference()
Additional reference information Statement level reference information. |
BigDecimal |
getStmtAmt()
Statement line amount |
BigDecimal |
getTrxAmt()
Transaction Amount |
String |
getTrxID()
Transaction ID assigned by the bank. |
String |
getTrxType()
Transaction type |
Timestamp |
getValutaDate()
Effective date Date theat the funds became available. |
boolean |
init(MBankStatementLoader controller)
Initialize the loader |
boolean |
isValid()
Verify whether the data to be imported is valid |
boolean |
loadLines()
Start importing statement lines |
| Method Detail |
|---|
boolean init(MBankStatementLoader controller)
controller - Reference to the MBankStatementLoader controller object
boolean isValid()
boolean loadLines()
String getLastErrorMessage()
String getLastErrorDescription()
Timestamp getDateLastRun()
String getRoutingNo()
String getBankAccountNo()
String getStatementReference()
Timestamp getStatementDate()
String getTrxID()
String getReference()
String getCheckNo()
String getPayeeName()
String getPayeeAccountNo()
Timestamp getStatementLineDate()
Timestamp getValutaDate()
String getTrxType()
boolean getIsReversal()
String getCurrency()
BigDecimal getStmtAmt()
BigDecimal getTrxAmt()
BigDecimal getInterestAmt()
String getMemo()
String getChargeName()
BigDecimal getChargeAmt()
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||