LibOFX

ofx_request.hh
Go to the documentation of this file.
1 /***************************************************************************
2 ofx_request.hh
3 -------------------
4 copyright : (C) 2005 by Ace Jones
5 email : acejones@users.sourceforge.net
6 ***************************************************************************/
11 /***************************************************************************
12 * *
13 * This program is free software; you can redistribute it and/or modify *
14 * it under the terms of the GNU General Public License as published by *
15 * the Free Software Foundation; either version 2 of the License, or *
16 * (at your option) any later version. *
17 * *
18 ***************************************************************************/
19
20 #ifndef OFX_REQUEST_H
21 #define OFX_REQUEST_H
22
23 #include <string>
24 #include "libofx.h"
25 #include "ofx_aggregate.hh"
26
27 using namespace std;
28
36 class OfxRequest: public OfxAggregate
37 {
38 public:
45 OfxRequest(const OfxFiLogin& fi): OfxAggregate("OFX"), m_login(fi) {}
46
47 //protected:
48 public:
55 OfxAggregate SignOnRequest(void) const;
56
68 OfxAggregate RequestMessage(const string& msgtype, const string& trntype, const OfxAggregate& aggregate ) const;
69
70 protected:
71 OfxFiLogin m_login;
72 };
73
78
79 string time_t_to_ofxdatetime( time_t time );
80 string time_t_to_ofxdate( time_t time );
81 string OfxHeader(const char *hver);
82
84
85 #endif // OFX_REQUEST_H
std
ofx_aggregate.hh
Declaration of OfxAggregate which allows you to construct a single OFX aggregate. ...
OfxRequest
A generic request.
Definition: ofx_request.hh:36
OfxAggregate
A single aggregate as described in the OFX 1.02 specification.
Definition: ofx_aggregate.hh:42
OfxRequest::OfxRequest
OfxRequest(const OfxFiLogin &fi)
Definition: ofx_request.hh:45
OfxFiLogin
Information sufficient to log into an financial institution.
Definition: inc/libofx.h:806