#include <standingorder.h>
Inheritance diagram for HBCI::StandingOrder:
Public Methods | |
StandingOrder (const string &s, Pointer< Account > account) | |
StandingOrder (Pointer< Account > account) | |
StandingOrder () | |
bool | operator== (const StandingOrder &otherOrder) const |
Order Identification | |
const string & | jobIdentification () const |
void | setJobIdentification (const string &s) |
Execution Date | |
const Date & | firstExecutionDate () const |
void | setFirstExecutionDate (const Date &ex) |
const Date & | lastExecutionDate () const |
void | setLastExecutionDate (const Date &ex) |
const Date & | executionDate () const |
void | setExecutionDate (const Date &ex) |
int | cycle () const |
void | setCycle (int v=1) |
int | period () const |
void | setPeriod (int c=EXECUTE_MONTHLY) |
int | execDay () const |
void | setExecDay (int d=1) |
Our account | |
int | ourCountryCode () const |
void | setOurCountryCode (int i) |
const string & | ourBankCode () const |
void | setOurBankCode (const string &code) |
const string & | ourAccountId () const |
void | setOurAccountId (const string &id) |
const string & | ourSuffix () const |
void | setOurSuffix (const string &id) |
Value | |
const Value & | value () const |
void | setValue (const Value &v) |
Order Description | |
int | transactionCode () const |
void | setTransactionCode (int c) |
const list< string > & | description () const |
void | addDescription (const string &s) |
Other account | |
int | otherCountryCode () const |
void | setOtherCountryCode (int i) |
const string & | otherBankCode () const |
void | setOtherBankCode (const string &s) |
const string & | otherAccountId () const |
void | setOtherAccountId (const string &s) |
const string & | otherSuffix () const |
void | setOtherSuffix (const string &id) |
const list< string > & | otherName () const |
void | addOtherName (const string &s) |
Static Public Attributes | |
const int | EXECUTE_WEEKLY |
const int | EXECUTE_MONTHLY |
A Standing Order is stored at the bank and regularly invokes a transaction in your account.
Note: Some data members have comments referencing the SWIFT MT940 specification, but IIRC this is not the right specification for a standing order. FIXME: Add clear references about which specifications set the rules for interpretation of each data member.
|
|
|
|
|
|
|
Set a textual description
Implements HBCI::AbstractTrans. |
|
Set the name of the recipient. Two strings can be set for this, so call this method not more than two times. Implements HBCI::AbstractTrans. |
|
Returns the numer of time-units that have to elaps between two executions of this order.
|
|
Returns a list of string describing this order Implements HBCI::AbstractTrans. |
|
Returns the day within a week or a month (depending on period()) when this order should be executed.
|
|
Returns the date when this order will be executed next time |
|
Return the date when this order is/was executed for the first time |
|
Returns a string that identifies this standing order. Use this identification to name an order you want to modify. Note: It is safe to store this id within the application. It is valid until the order is getting deleted (at the bank) |
|
Return the date when this order is executed the last time |
|
Checks if two standing orders are equal. Some banks do not support the jobId, so you have to specify all order-data. Using all this data, two jobs are compared. |
|
Returns the account number of the recipient. To this account, money is transfered. Implements HBCI::AbstractTrans. |
|
Returns the code of the institute which hold the recipient's account Implements HBCI::AbstractTrans. |
|
Return the country code of the recipient's bank, according to ISO 3166 Note: For Germany, it is 280 in HBCI. Implements HBCI::AbstractTrans. |
|
Returns the names of the recipient Implements HBCI::AbstractTrans. |
|
Returns a suffix to the account number to which the money shall be tranfered. Normaly not used. Implements HBCI::AbstractTrans. |
|
Your account number; up to 23 characters. Note: possibly including the currency (yes, that's what MT940 says) -- MT940: Kontonummer in :25: Implements HBCI::AbstractTrans. |
|
bank code of your institute (BLZ or S.W.I.F.T. code) -- MT940: BLZ in :25: Implements HBCI::AbstractTrans. |
|
country code of your institute -- MT940: not in MT940 Implements HBCI::AbstractTrans. |
|
If your account has subaccounts which are distinguished by different suffixes, then this is that suffix. Otherwise it's empty. -- MT940: not in MT940 Implements HBCI::AbstractTrans. |
|
Returns whether the time-unit for cycle() is a week or a month |
|
Set the numer of time-units that have to elaps between two executions of this order.
|
|
Set the day of week/month (depending on period()) when this order should be executed. Note: It must be consistent with firstExecutionDate() and period() |
|
Only used when modifying an order.
|
|
Set the date when this order should be executed for the first time Note: It must be consistent with period() and execDay()
|
|
Set a string that identifies this standing order. Use this identification to name an order you want to modify. |
|
Set the date when this order should be executed the last time |
|
Set the account number to which the money shall be transfered
Implements HBCI::AbstractTrans. |
|
Set the code of the bank which hold the recipient's account.
Implements HBCI::AbstractTrans. |
|
Set the country code of the recipient's bank
Note: For Germany, it is 280 in HBCI. Implements HBCI::AbstractTrans. |
|
Set a suffix to the account number to which the money shall be tranfered. Normaly not used. Implements HBCI::AbstractTrans. |
|
Your account number; up to 23 characters. Note: possibly including the currency (yes, that's what MT940 says) -- MT940: Kontonummer in :25: Implements HBCI::AbstractTrans. |
|
bank code of your institute (BLZ or S.W.I.F.T. code) -- MT940: BLZ in :25: Implements HBCI::AbstractTrans. |
|
country code of your institute -- MT940: not in MT940 Implements HBCI::AbstractTrans. |
|
If your account has subaccounts which are distinguished by different suffixes, then this is that suffix. Otherwise it's empty. -- MT940: not in MT940 Implements HBCI::AbstractTrans. |
|
Set the time-unit for cycle() to week or month Note: It must be consistent with firstExecutionDate() and execDay() |
|
Set the type of order. Should be 52 in most cases Implements HBCI::AbstractTrans. |
|
Set the order's value Implements HBCI::AbstractTrans. |
|
Returns a code that identifies the type of order This should be 52 in most cases Implements HBCI::AbstractTrans. |
|
Returns the order's value Implements HBCI::AbstractTrans. |
|
|
|
|