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 "libofx.h"
24 #include "ofx_request.hh"
25
34 class OfxStatementRequest: public OfxRequest
35 {
36 public:
46 OfxStatementRequest( const OfxFiLogin& fi, const OfxAccountData& account, time_t from );
47
48 protected:
56 OfxAggregate BankStatementRequest(void) const;
57
65 OfxAggregate CreditCardStatementRequest(void) const;
66
74 OfxAggregate InvestmentStatementRequest(void) const;
75
76 private:
77 OfxAccountData m_account;
78 time_t m_date_from;
79 };
80
81 class OfxPaymentRequest: public OfxRequest
82 {
83 public:
94 OfxPaymentRequest( const OfxFiLogin& fi, const OfxAccountData& account, const OfxPayee& payee, const OfxPayment& payment );
95 protected:
96
97 private:
98 OfxAccountData m_account;
99 OfxPayee m_payee;
100 OfxPayment m_payment;
101 };
102
103 #endif // OFX_REQ_STATEMENT_H
OfxStatementRequest::OfxStatementRequest
OfxStatementRequest(const OfxFiLogin &fi, const OfxAccountData &account, time_t from)
Definition: ofx_request_statement.cpp:44
OfxStatementRequest::BankStatementRequest
OfxAggregate BankStatementRequest(void) const
Definition: ofx_request_statement.cpp:59
OfxAccountData
An abstraction of an account.
Definition: inc/libofx.h:287
OfxPayee
Definition: inc/libofx.h:1409
OfxStatementRequest::InvestmentStatementRequest
OfxAggregate InvestmentStatementRequest(void) const
Definition: ofx_request_statement.cpp:110
OfxPayment
Definition: inc/libofx.h:1401
ofx_request.hh
Declaration of an OfxRequests to create an OFX file containing a generic request .
OfxFiLogin
Information sufficient to log into an financial institution.
Definition: inc/libofx.h:1383
OfxAggregate
A single aggregate as described in the OFX 1.02 specification.
Definition: ofx_aggregate.hh:40
OfxRequest
A generic request.
Definition: ofx_request.hh:34
OfxStatementRequest::CreditCardStatementRequest
OfxAggregate CreditCardStatementRequest(void) const
Definition: ofx_request_statement.cpp:86
OfxStatementRequest
A statement request.
Definition: ofx_request_statement.hh:34
OfxPaymentRequest
Definition: ofx_request_statement.hh:81
OfxPaymentRequest::OfxPaymentRequest
OfxPaymentRequest(const OfxFiLogin &fi, const OfxAccountData &account, const OfxPayee &payee, const OfxPayment &payment)
Definition: ofx_request_statement.cpp:153