Definition at line 59 of file accountar-gw.h.
| OSB_DB::AccountArGw::AccountArGw | ( | const AccountArGw & | rhs | ) | [private] |
Prevent copying: Copy constructor not implemented.
| OSB_DB::AccountArGw::AccountArGw | ( | ) | [inline] |
| void OSB_DB::AccountArGw::fetchBalance | ( | const Session & | session, | |
| const OSB_LIB::Associate & | associate, | |||
| const OSB_LIB::DateTime & | ts, | |||
| OSB_LIB::MoneyList & | dest | |||
| ) |
Get the balance for an associate at a given date.
| session | Database session to use. | |
| associate | Associate for who to get the balance. | |
| ts | Date and time of balance, transactions with a timestamp of ts are not included. | |
| dest | List to populate. |
| long OSB_DB::AccountArGw::fetchDuedays | ( | const Session & | session, | |
| const OSB_LIB::Associate & | associate | |||
| ) |
Load the due days.
This function will load the due days from AR based on a specific associate.
| session | Session | |
| associate | Associate |
| OsbException | in case of
|
| long OSB_DB::AccountArGw::fetchTransactions | ( | OSB_LIB::TransactionList & | transactions, | |
| const Session & | session, | |||
| const OSB_LIB::Associate & | associate, | |||
| const OSB_LIB::DateTime & | start, | |||
| const OSB_LIB::DateTime & | end | |||
| ) |
Load the payment transactions.
This function will load the payment transactions from AR to the transaction list for a given associate and the period of time.
| transactions | TransactionList to be populated | |
| session | Session | |
| associate | Associate | |
| start | Last bill date and time | |
| end | This bill date and time |
| OsbException | in case of database error. |
| AccountArGw& OSB_DB::AccountArGw::operator= | ( | const AccountArGw & | rhs | ) | [private] |
Prevent assignment: Assignment not implemented.
| bool OSB_DB::AccountArGw::updateInvoice | ( | const Session & | session, | |
| const OSB_LIB::Associate & | associate, | |||
| const OSB_LIB::Contract & | contract, | |||
| const OSB_LIB::InvoiceInfo & | invInfo | |||
| ) |
Update the invoice transaction for AR.
| session | Session | |
| associate | Associate | |
| contract | Contract | |
| invInfo | Invoice information |
| OsbException | in case of database error. |
1.4.7