LibOFX: OfxStatementRequest Class Reference

LibOFX

Public Member Functions | Protected Member Functions
OfxStatementRequest Class Reference

A statement request. More...

Inheritance diagram for OfxStatementRequest:

## Public Member Functions
| OfxStatementRequest (const OfxFiLogin &fi, const OfxAccountData &account, time_t from)
Public Member Functions inherited from OfxRequest
| OfxRequest (const OfxFiLogin &fi)
OfxAggregate | SignOnRequest (void) const
OfxAggregate | RequestMessage (const std::string &msgtype, const std::string &trntype, const OfxAggregate &aggregate) const
Public Member Functions inherited from OfxAggregate
| OfxAggregate (const std::string &tag)
void | Add (const std::string &tag, const std::string &data)
void | AddXml (const std::string &tag, const std::string &data)
void | Add (const OfxAggregate &sub)
std::string | Output (void) const

## Protected Member Functions
OfxAggregate | BankStatementRequest (void) const
OfxAggregate | CreditCardStatementRequest (void) const
OfxAggregate | InvestmentStatementRequest (void) const

## Additional Inherited Members
Protected Attributes inherited from OfxRequest
OfxFiLogin | m_login

## Detailed Description

A statement request.

This is an entire OFX aggregate, with all subordinate aggregates needed to log onto the OFX server of a single financial institution and download a statement for a single account.

Definition at line 34 of file ofx_request_statement.hh.

## Constructor & Destructor Documentation

## ◆ OfxStatementRequest()

OfxStatementRequest::OfxStatementRequest | ( | const OfxFiLogin & | fi,
|  | const OfxAccountData & | account,
|  | time_t | from
| ) |  |

Creates the request aggregate to obtain a statement from this `fi` for this `account`, starting on this `start` date, ending today.

Parameters

  fi | The information needed to log on user into one financial institution
  account | The account for which a statement is desired
  start | The beginning time of the statement period desired

Definition at line 44 of file ofx_request_statement.cpp.

## Member Function Documentation

## ◆ BankStatementRequest()

OfxAggregate OfxStatementRequest::BankStatementRequest | ( | void |  | ) | const
| protected

Creates a bank statement request aggregate, <BANKMSGSRQV1>, <STMTTRNRQ> & <STMTRQ> for this account. Should only be used if this account is a BANK account.

Returns
  The request aggregate created

Definition at line 59 of file ofx_request_statement.cpp.

Referenced by OfxStatementRequest().

## ◆ CreditCardStatementRequest()

OfxAggregate OfxStatementRequest::CreditCardStatementRequest | ( | void |  | ) | const
| protected

Creates a credit card statement request aggregate, <CREDITCARDMSGSRQV1>, <CCSTMTTRNRQ> & <CCSTMTRQ> for this account. Should only be used if this account is a CREDIT CARD account.

Returns
  The request aggregate created

Definition at line 86 of file ofx_request_statement.cpp.

Referenced by OfxStatementRequest().

## ◆ InvestmentStatementRequest()

OfxAggregate OfxStatementRequest::InvestmentStatementRequest | ( | void |  | ) | const
| protected

Creates an investment statement request aggregate, <INSTMTMSGSRQV1>, <INVSTMTTRNRQ> & <INVSTMTRQ> for this account. Should only be used if this account is an INVESTMENT account.

Returns
  The request aggregate created

Definition at line 110 of file ofx_request_statement.cpp.

Referenced by OfxStatementRequest().

The documentation for this class was generated from the following files:

- ofx_request_statement.hh
- ofx_request_statement.cpp