LibOFX: ofx_request_statement.hh Source File

LibOFX

ofx_request_statement.hh
Go to the documentation of this file.
1 /***************************************************************************
2 ofx_request_statement.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_REQ_STATEMENT_H
21 #define OFX_REQ_STATEMENT_H
22
23 #include <string>
24 #include "libofx.h"
25 #include "ofx_request.hh"
26
27 using namespace std;
28
37 class OfxStatementRequest: public OfxRequest
38 {
39 public:
49 OfxStatementRequest( const OfxFiLogin& fi, const OfxAccountData& account, time_t from );
50
51 protected:
59 OfxAggregate BankStatementRequest(void) const;
60
68 OfxAggregate CreditCardStatementRequest(void) const;
69
77 OfxAggregate InvestmentStatementRequest(void) const;
78
79 private:
80 OfxAccountData m_account;
81 time_t m_date_from;
82 };
83
84 class OfxPaymentRequest: public OfxRequest
85 {
86 public:
97 OfxPaymentRequest( const OfxFiLogin& fi, const OfxAccountData& account, const OfxPayee& payee, const OfxPayment& payment );
98 protected:
99
100 private:
101 OfxAccountData m_account;
102 OfxPayee m_payee;
103 OfxPayment m_payment;
104 };
105
106 #endif // OFX_REQ_STATEMENT_H
OfxPaymentRequest
Definition: ofx_request_statement.hh:84
OfxAccountData
An abstraction of an account.
Definition: inc/libofx.h:271
OfxPayee
Definition: inc/libofx.h:832
ofx_request.hh
Declaration of an OfxRequests to create an OFX file containing a generic request .
std
OfxPayment
Definition: inc/libofx.h:824
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
OfxStatementRequest
A statement request.
Definition: ofx_request_statement.hh:37
OfxFiLogin
Information sufficient to log into an financial institution.
Definition: inc/libofx.h:806