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
35{
36public:
43 OfxRequest(const OfxFiLogin& fi): OfxAggregate("OFX"), m_login(fi) {}
44
45//protected:
46public:
53 OfxAggregate SignOnRequest(void) const;
54
66 OfxAggregate RequestMessage(const std::string& msgtype, const std::string& trntype, const OfxAggregate& aggregate ) const;
67
68protected:
69 OfxFiLogin m_login;
70};
71
76
77std::string time_t_to_ofxdatetime( time_t time );
78std::string time_t_to_ofxdate( time_t time );
79std::string OfxHeader(const char *hver);
80
82
83#endif // OFX_REQUEST_H
A single aggregate as described in the OFX 1.02 specification.
OfxAggregate(const std::string &tag)
OfxAggregate SignOnRequest(void) const
OfxAggregate RequestMessage(const std::string &msgtype, const std::string &trntype, const OfxAggregate &aggregate) const
OfxRequest(const OfxFiLogin &fi)
Declaration of OfxAggregate which allows you to construct a single OFX aggregate.