Class: OFX::Document::StatementRequest

Inherits:
StatementTransaction show all
Defined in:
lib/ofx/document/statement_request.rb

Direct Known Subclasses

BankAccount, IncludeTransactions

Instance Method Summary collapse

Methods inherited from StatementTransaction

#statement_request, #trnuid

Methods inherited from BankMessageSet

#statement_request

Methods inherited from OFX::Document

#bank, #signon

Methods inherited from Aggregate

#root

Constructor Details

#initialize(options = {}) ⇒ StatementRequest

Returns a new instance of StatementRequest.



5
6
7
# File 'lib/ofx/document/statement_request.rb', line 5

def initialize(options = {})
  super
end

Instance Method Details

#bank_accountObject



9
10
11
12
# File 'lib/ofx/document/statement_request.rb', line 9

def 
  BankAccount.new(name: :bankacctfrom, routing: @routing,
                  account: @account)
end

#include_transactionsObject



14
15
16
# File 'lib/ofx/document/statement_request.rb', line 14

def include_transactions
  IncludeTransactions.new(name: :inctran, start: @start, end: @end)
end