LibOFX
|
A generic request. More...
Public Member Functions | |
OfxRequest (const OfxFiLogin &fi) | |
OfxAggregate | SignOnRequest (void) const |
OfxAggregate | RequestMessage (const string &msgtype, const string &trntype, const OfxAggregate &aggregate) const |
OfxRequest (const OfxFiLogin &fi) | |
OfxAggregate | SignOnRequest (void) const |
OfxAggregate | RequestMessage (const string &msgtype, const string &trntype, const OfxAggregate &aggregate) const |
![]() | |
OfxAggregate (const string &tag) | |
void | Add (const string &tag, const string &data) |
void | AddXml (const string &tag, const string &data) |
void | Add (const OfxAggregate &sub) |
string | Output (void) const |
OfxAggregate (const string &tag) | |
void | Add (const string &tag, const string &data) |
void | AddXml (const string &tag, const string &data) |
void | Add (const OfxAggregate &sub) |
string | Output (void) const |
Protected Attributes | |
OfxFiLogin | m_login |
A generic request.
This is an entire OFX aggregate, with all subordinate aggregates needed to log onto the OFX server of a single financial institution and process a request. The details of the particular request are up to subclasses of this one.
Definition at line 36 of file build/libofx-0.10.0/lib/ofx_request.hh.
|
inline |
Creates the generic request aggregate.
fi | The information needed to log on user into one financial institution |
Definition at line 45 of file build/libofx-0.10.0/lib/ofx_request.hh.
|
inline |
Creates the generic request aggregate.
fi | The information needed to log on user into one financial institution |
Definition at line 45 of file lib/ofx_request.hh.
OfxAggregate OfxRequest::RequestMessage | ( | const string & | msgtype, |
const string & | trntype, | ||
const OfxAggregate & | aggregate | ||
) | const |
Creates a message aggregate
msgtype | The type of message. This will be prepended to "MSGSRQV1" to become the tagname of the overall aggregate |
trntype | The type of transactions being requested. This will be prepended to "TRNRQ" to become the tagname of the subordinate aggregate. |
aggregate | The actual contents of the message, which will be a sub aggregate of the xxxTRNRQ aggregate. |
Definition at line 115 of file build/libofx-0.10.0/lib/ofx_request.cpp.
Referenced by OfxPaymentRequest::OfxPaymentRequest().
OfxAggregate OfxRequest::RequestMessage | ( | const string & | msgtype, |
const string & | trntype, | ||
const OfxAggregate & | aggregate | ||
) | const |
Creates a message aggregate
msgtype | The type of message. This will be prepended to "MSGSRQV1" to become the tagname of the overall aggregate |
trntype | The type of transactions being requested. This will be prepended to "TRNRQ" to become the tagname of the subordinate aggregate. |
aggregate | The actual contents of the message, which will be a sub aggregate of the xxxTRNRQ aggregate. |
OfxAggregate OfxRequest::SignOnRequest | ( | void | ) | const |
Creates a signon request aggregate, <SIGNONMSGSRQV1> & <SONRQ>, sufficient to log this user into this financial institution.
OfxAggregate OfxRequest::SignOnRequest | ( | void | ) | const |
Creates a signon request aggregate, <SIGNONMSGSRQV1> & <SONRQ>, sufficient to log this user into this financial institution.
Definition at line 84 of file build/libofx-0.10.0/lib/ofx_request.cpp.
Referenced by OfxAccountInfoRequest::OfxAccountInfoRequest(), OfxPaymentRequest::OfxPaymentRequest(), and OfxStatementRequest::OfxStatementRequest().