aggcat 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,10 @@
1
+ language: ruby
2
+ bundler_args: "--without development"
3
+ before_install:
4
+ - gem install bundler
5
+ rvm:
6
+ - jruby-19mode
7
+ - rbx-19mode
8
+ - 1.9.2
9
+ - 1.9.3
10
+ - 2.0.0
data/Gemfile CHANGED
@@ -4,3 +4,12 @@ gem 'oauth', '~> 0.4'
4
4
  gem 'nori', '~> 2.0'
5
5
  gem 'nokogiri', '~> 1.5'
6
6
  gem 'active_support', '~> 3.0'
7
+ gem 'builder', '~> 3.2'
8
+ gem 'rake'
9
+
10
+ group :test do
11
+ gem 'minitest'
12
+ gem 'test-unit'
13
+ gem 'simplecov', :require => false
14
+ gem 'webmock'
15
+ end
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # Aggcat
2
+ [![Build Status](https://travis-ci.org/cloocher/aggcat.png)](https://travis-ci.org/cloocher/aggcat)
2
3
 
3
4
  Intuit Customer Account Data API client
4
5
 
data/Rakefile CHANGED
@@ -1 +1,10 @@
1
1
  require 'bundler/gem_tasks'
2
+ require 'rake/testtask'
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << 'lib' << 'test'
6
+ t.pattern = 'test/*/*_test.rb'
7
+ t.verbose = true
8
+ end
9
+
10
+ task :default => :test
@@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.add_runtime_dependency 'oauth', '~> 0.4'
25
25
  spec.add_runtime_dependency 'nori', '~> 2.0'
26
26
  spec.add_runtime_dependency 'nokogiri', '~> 1.5'
27
+ spec.add_runtime_dependency 'builder', '~> 3.2'
27
28
  spec.add_runtime_dependency 'active_support', '~> 3.0'
28
29
 
29
30
  spec.add_development_dependency 'rake'
@@ -79,6 +79,7 @@ module Aggcat
79
79
  end
80
80
 
81
81
  def parse_xml(data)
82
+ return data if data.nil? || data.to_s.empty?
82
83
  @parser ||= Nori.new(:parser => :nokogiri,
83
84
  :strip_namespaces => true,
84
85
  :convert_tags_to => lambda { |tag| tag.snakecase.to_sym })
@@ -1,3 +1,3 @@
1
1
  module Aggcat
2
- VERSION = '0.0.9'
2
+ VERSION = '0.1.0'
3
3
  end
@@ -0,0 +1,91 @@
1
+ require 'test_helper'
2
+
3
+ class ClientTest < Test::Unit::TestCase
4
+ def setup
5
+ stub_request(:post, Aggcat::Base::SAML_URL).to_return(:status => 200, :body => fixture('oauth_token.txt'))
6
+ @client = Aggcat::Client.new(
7
+ {
8
+ issuer_id: 'issuer_id',
9
+ consumer_key: 'consumer_key',
10
+ consumer_secret: 'consumer_secret',
11
+ certificate_path: "#{fixture_path}/cert.key",
12
+ customer_id: 'default'
13
+ }
14
+ )
15
+ end
16
+
17
+ def test_institutions
18
+ stub_get('/institutions').to_return(:body => fixture('institutions.xml'), :headers => {:content_type => 'application/xml; charset=utf-8'})
19
+ response = @client.institutions
20
+ assert_equal response[:response][:institutions][:institution][0][:institution_id].to_i, 100000
21
+ end
22
+
23
+ def test_institution
24
+ institution_id = '100000'
25
+ stub_get("/institutions/#{institution_id}").to_return(:body => fixture('institution.xml'), :headers => {:content_type => 'application/xml; charset=utf-8'})
26
+ response = @client.institution(institution_id)
27
+ assert_equal institution_id, response[:response][:institution_detail][:institution_id]
28
+ end
29
+
30
+ def test_institution_with_bad_id
31
+ institution_id = '100000'
32
+ stub_get("/institutions/#{institution_id}").to_return(:body => fixture('institution.xml'), :headers => {:content_type => 'application/xml; charset=utf-8'})
33
+ exception = assert_raise(ArgumentError) { @client.institution('') }
34
+ assert_equal('institution_id is required', exception.message)
35
+ end
36
+
37
+ def test_discover_and_add_accounts
38
+ institution_id = '100000'
39
+ stub_get("/institutions/#{institution_id}").to_return(:body => fixture('institution.xml'), :headers => {:content_type => 'application/xml; charset=utf-8'})
40
+ stub_post("/institutions/#{institution_id}/logins").to_return(:body => fixture('account.xml'), :headers => {:content_type => 'application/xml; charset=utf-8'})
41
+ response = @client.discover_and_add_accounts(institution_id, 'username', 'password')
42
+ assert_equal institution_id, response[:response][:account_list][:banking_account][:institution_id]
43
+ assert_equal '000000000001', response[:response][:account_list][:banking_account][:account_id]
44
+ end
45
+
46
+ def test_account
47
+ account_id = '000000000001'
48
+ stub_get("/accounts/#{account_id}").to_return(:body => fixture('account.xml'), :headers => {:content_type => 'application/xml; charset=utf-8'})
49
+ response = @client.account(account_id)
50
+ assert_equal account_id, response[:response][:account_list][:banking_account][:account_id]
51
+ end
52
+
53
+ def test_accounts
54
+ stub_get('/accounts').to_return(:body => fixture('accounts.xml'), :headers => {:content_type => 'application/xml; charset=utf-8'})
55
+ response = @client.accounts
56
+ assert_equal '11111', response[:response][:account_list][:banking_account][0][:institution_id]
57
+ assert_equal '75000033002', response[:response][:account_list][:banking_account][0][:account_id]
58
+ end
59
+
60
+ def test_account_transactions
61
+ account_id = '000000000001'
62
+ start_date = Date.today - 30
63
+ uri = "/accounts/#{account_id}/transactions?txnStartDate=#{start_date.strftime(Aggcat::Base::DATE_FORMAT)}"
64
+ stub_get(uri).to_return(:body => fixture('transactions.xml'), :headers => {:content_type => 'application/xml; charset=utf-8'})
65
+ response = @client.account_transactions(account_id, Date.today - 30)
66
+ assert_equal '75000088503', response[:response][:transaction_list][:credit_card_transaction][:id]
67
+ end
68
+
69
+ def test_delete_account
70
+ account_id = '000000000001'
71
+ stub_delete("/accounts/#{account_id}").to_return(:status => 200)
72
+ response = @client.delete_account(account_id)
73
+ assert_equal '200', response[:response_code]
74
+ end
75
+
76
+ def test_delete_customer
77
+ stub_delete('/customers').to_return(:status => 200)
78
+ response = @client.delete_customer
79
+ assert_equal '200', response[:response_code]
80
+ end
81
+
82
+ def test_update_login
83
+ institution_id = '100000'
84
+ login_id = '12345'
85
+ stub_get("/institutions/#{institution_id}").to_return(:body => fixture('institution.xml'), :headers => {:content_type => 'application/xml; charset=utf-8'})
86
+ stub_put("/logins/#{login_id}?refresh=true").to_return(:status => 200)
87
+ response = @client.update_login(institution_id, login_id, 'usename', 'password')
88
+ assert_equal '200', response[:response_code]
89
+ end
90
+
91
+ end
@@ -0,0 +1,23 @@
1
+ <ns8:AccountList xmlns="http://schema.intuit.com/platform/fdatafeed/account/v1"
2
+ xmlns:ns2="http://schema.intuit.com/platform/fdatafeed/investmentaccount/v1"
3
+ xmlns:ns3="http://schema.intuit.com/platform/fdatafeed/otheraccount/v1"
4
+ xmlns:ns4="http://schema.intuit.com/platform/fdatafeed/bankingaccount/v1"
5
+ xmlns:ns5="http://schema.intuit.com/platform/fdatafeed/creditaccount/v1"
6
+ xmlns:ns6="http://schema.intuit.com/platform/fdatafeed/loanaccount/v1"
7
+ xmlns:ns7="http://schema.intuit.com/platform/fdatafeed/rewardsaccount/v1"
8
+ xmlns:ns8="http://schema.intuit.com/platform/fdatafeed/accountlist/v1">
9
+ <ns3:BankingAccount>
10
+ <accountId>000000000001</accountId>
11
+ <accountNumber>000000000001</accountNumber>
12
+ <accountNickname>My Checking</accountNickname>
13
+ <displayPosition>1</displayPosition>
14
+ <institutionId>100000</institutionId>
15
+ <balanceAmount>1000</balanceAmount>
16
+ <aggrSuccessDate>2013-02-20T16:36:09.244-08:00</aggrSuccessDate>
17
+ <aggrAttemptDate>2013-02-20T16:36:09.244-08:00</aggrAttemptDate>
18
+ <aggrStatusCode>0</aggrStatusCode>
19
+ <currencyCode>USD</currencyCode>
20
+ <institutionLoginId>00000000001</institutionLoginId>
21
+ <ns4:bankingAccountType>CHECKING</ns4:bankingAccountType>
22
+ </ns3:BankingAccount>
23
+ </ns8:AccountList>
@@ -0,0 +1,481 @@
1
+ <ns8:AccountList xmlns="http://schema.intuit.com/platform/fdatafeed/account/v1"
2
+ xmlns:ns2="http://schema.intuit.com/platform/fdatafeed/creditaccount/v1"
3
+ xmlns:ns3="http://schema.intuit.com/platform/fdatafeed/rewardsaccount/v1"
4
+ xmlns:ns4="http://schema.intuit.com/platform/fdatafeed/bankingaccount/v1"
5
+ xmlns:ns5="http://schema.intuit.com/platform/fdatafeed/investmentaccount/v1"
6
+ xmlns:ns6="http://schema.intuit.com/platform/fdatafeed/otheraccount/v1"
7
+ xmlns:ns7="http://schema.intuit.com/platform/fdatafeed/loanaccount/v1"
8
+ xmlns:ns8="http://schema.intuit.com/platform/fdatafeed/accountlist/v1">
9
+ <ns4:BankingAccount>
10
+ <accountId>75000033002</accountId>
11
+ <accountNumber>1000001111</accountNumber>
12
+ <accountNickname>My Checking</accountNickname>
13
+ <displayPosition>12</displayPosition>
14
+ <institutionId>11111</institutionId>
15
+ <balanceAmount>227.2</balanceAmount>
16
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
17
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
18
+ <aggrStatusCode>0</aggrStatusCode>
19
+ <currencyCode>INR</currencyCode>
20
+ <ns4:bankingAccountType>CHECKING</ns4:bankingAccountType>
21
+ </ns4:BankingAccount>
22
+ <ns7:LoanAccount>
23
+ <accountId>75000033014</accountId>
24
+ <accountNumber>9900009994</accountNumber>
25
+ <accountNickname>My Military Loan</accountNickname>
26
+ <displayPosition>5</displayPosition>
27
+ <institutionId>0</institutionId>
28
+ <description>Description</description>
29
+ <balanceAmount>90227.2</balanceAmount>
30
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
31
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
32
+ <aggrStatusCode>0</aggrStatusCode>
33
+ <currencyCode>USD</currencyCode>
34
+ <ns7:loanType>MILITARY</ns7:loanType>
35
+ <ns7:nextPayment>90227.2</ns7:nextPayment>
36
+ <ns7:nextPaymentDate>2020-04-01T00:00:00-07:00</ns7:nextPaymentDate>
37
+ <ns7:autopayEnrolled>true</ns7:autopayEnrolled>
38
+ <ns7:collateral>90227.20</ns7:collateral>
39
+ <ns7:currentSchool>Cur School</ns7:currentSchool>
40
+ <ns7:firstPaymentDate>2020-04-01T00:00:00-07:00</ns7:firstPaymentDate>
41
+ <ns7:guarantor>Guarantor</ns7:guarantor>
42
+ <ns7:firstMortgage>false</ns7:firstMortgage>
43
+ <ns7:loanPaymentFreq>MONTHLY</ns7:loanPaymentFreq>
44
+ <ns7:paymentMinAmount>90227.2</ns7:paymentMinAmount>
45
+ <ns7:originalSchool>Orig School</ns7:originalSchool>
46
+ <ns7:recurringPaymentAmount>90227.2</ns7:recurringPaymentAmount>
47
+ <ns7:lender>Lender</ns7:lender>
48
+ </ns7:LoanAccount>
49
+ <ns7:LoanAccount>
50
+ <accountId>75000033009</accountId>
51
+ <accountNumber>9900009991</accountNumber>
52
+ <accountNickname>My Consumer Loan</accountNickname>
53
+ <displayPosition>2</displayPosition>
54
+ <institutionId>0</institutionId>
55
+ <description>Description</description>
56
+ <balanceAmount>90227.2</balanceAmount>
57
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
58
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
59
+ <aggrStatusCode>0</aggrStatusCode>
60
+ <currencyCode>USD</currencyCode>
61
+ <ns7:loanType>CONSUMER</ns7:loanType>
62
+ <ns7:nextPayment>90227.2</ns7:nextPayment>
63
+ <ns7:nextPaymentDate>2020-04-01T00:00:00-07:00</ns7:nextPaymentDate>
64
+ <ns7:autopayEnrolled>true</ns7:autopayEnrolled>
65
+ <ns7:collateral>90227.20</ns7:collateral>
66
+ <ns7:currentSchool>Cur School</ns7:currentSchool>
67
+ <ns7:firstPaymentDate>2020-04-01T00:00:00-07:00</ns7:firstPaymentDate>
68
+ <ns7:guarantor>Guarantor</ns7:guarantor>
69
+ <ns7:firstMortgage>false</ns7:firstMortgage>
70
+ <ns7:loanPaymentFreq>MONTHLY</ns7:loanPaymentFreq>
71
+ <ns7:paymentMinAmount>90227.2</ns7:paymentMinAmount>
72
+ <ns7:originalSchool>Orig School</ns7:originalSchool>
73
+ <ns7:recurringPaymentAmount>90227.2</ns7:recurringPaymentAmount>
74
+ <ns7:lender>Lender</ns7:lender>
75
+ </ns7:LoanAccount>
76
+ <ns5:InvestmentAccount>
77
+ <accountId>75000033017</accountId>
78
+ <accountNumber>1110000003</accountNumber>
79
+ <accountNickname>My KEOGH - My Retirement</accountNickname>
80
+ <displayPosition>21</displayPosition>
81
+ <institutionId>0</institutionId>
82
+ <balanceAmount>227.2</balanceAmount>
83
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
84
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
85
+ <aggrStatusCode>0</aggrStatusCode>
86
+ <currencyCode>INR</currencyCode>
87
+ <ns5:investmentAccountType>KEOGH</ns5:investmentAccountType>
88
+ <ns5:currentBalance>227.2</ns5:currentBalance>
89
+ </ns5:InvestmentAccount>
90
+ <ns5:InvestmentAccount>
91
+ <accountId>75000032995</accountId>
92
+ <accountNumber>1110000001</accountNumber>
93
+ <accountNickname>My IRA - My Retirement</accountNickname>
94
+ <displayPosition>19</displayPosition>
95
+ <institutionId>0</institutionId>
96
+ <balanceAmount>-227.2</balanceAmount>
97
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
98
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
99
+ <aggrStatusCode>0</aggrStatusCode>
100
+ <currencyCode>INR</currencyCode>
101
+ <ns5:investmentAccountType>BROKERAGE</ns5:investmentAccountType>
102
+ <ns5:currentBalance>-227.2</ns5:currentBalance>
103
+ </ns5:InvestmentAccount>
104
+ <ns4:BankingAccount>
105
+ <accountId>75000033013</accountId>
106
+ <accountNumber>1000002222</accountNumber>
107
+ <accountNickname>My Savings</accountNickname>
108
+ <displayPosition>15</displayPosition>
109
+ <institutionId>0</institutionId>
110
+ <balanceAmount>227.2</balanceAmount>
111
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
112
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
113
+ <aggrStatusCode>0</aggrStatusCode>
114
+ <currencyCode>INR</currencyCode>
115
+ <ns4:bankingAccountType>SAVINGS</ns4:bankingAccountType>
116
+ </ns4:BankingAccount>
117
+ <ns5:InvestmentAccount>
118
+ <accountId>75000033000</accountId>
119
+ <accountNumber>1110000006</accountNumber>
120
+ <accountNickname>My SIMPLE - My Retirement</accountNickname>
121
+ <displayPosition>24</displayPosition>
122
+ <institutionId>0</institutionId>
123
+ <balanceAmount>-227.2</balanceAmount>
124
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
125
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
126
+ <aggrStatusCode>0</aggrStatusCode>
127
+ <currencyCode>INR</currencyCode>
128
+ <ns5:investmentAccountType>KEOGH</ns5:investmentAccountType>
129
+ <ns5:currentBalance>-227.2</ns5:currentBalance>
130
+ </ns5:InvestmentAccount>
131
+ <ns5:InvestmentAccount>
132
+ <accountId>75000033003</accountId>
133
+ <accountNumber>1110000009</accountNumber>
134
+ <accountNickname>My UGMA - My Retirement</accountNickname>
135
+ <displayPosition>27</displayPosition>
136
+ <institutionId>0</institutionId>
137
+ <balanceAmount>-227.2</balanceAmount>
138
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
139
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
140
+ <aggrStatusCode>0</aggrStatusCode>
141
+ <currencyCode>INR</currencyCode>
142
+ <ns5:investmentAccountType>KEOGH</ns5:investmentAccountType>
143
+ <ns5:currentBalance>-227.2</ns5:currentBalance>
144
+ </ns5:InvestmentAccount>
145
+ <ns5:InvestmentAccount>
146
+ <accountId>75000033020</accountId>
147
+ <accountNumber>1110000002</accountNumber>
148
+ <accountNickname>My 403B - My Retirement</accountNickname>
149
+ <displayPosition>20</displayPosition>
150
+ <institutionId>0</institutionId>
151
+ <balanceAmount>-227.2</balanceAmount>
152
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
153
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
154
+ <aggrStatusCode>0</aggrStatusCode>
155
+ <currencyCode>INR</currencyCode>
156
+ <ns5:investmentAccountType>BROKERAGE</ns5:investmentAccountType>
157
+ <ns5:currentBalance>-227.2</ns5:currentBalance>
158
+ </ns5:InvestmentAccount>
159
+ <ns2:CreditAccount>
160
+ <accountId>75000033010</accountId>
161
+ <accountNumber>4100007777</accountNumber>
162
+ <accountNickname>My Visa</accountNickname>
163
+ <displayPosition>10</displayPosition>
164
+ <institutionId>0</institutionId>
165
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
166
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
167
+ <aggrStatusCode>0</aggrStatusCode>
168
+ <currencyCode>INR</currencyCode>
169
+ <ns2:creditAccountType>CREDITCARD</ns2:creditAccountType>
170
+ <ns2:currentBalance>-90227.2</ns2:currentBalance>
171
+ <ns2:statementEndDate>2020-03-01T00:00:00-08:00</ns2:statementEndDate>
172
+ <ns2:statementCloseBalance>-90227.2</ns2:statementCloseBalance>
173
+ </ns2:CreditAccount>
174
+ <ns5:InvestmentAccount>
175
+ <accountId>75000033018</accountId>
176
+ <accountNumber>1110000005</accountNumber>
177
+ <accountNickname>My TDA - My Retirement</accountNickname>
178
+ <displayPosition>23</displayPosition>
179
+ <institutionId>0</institutionId>
180
+ <balanceAmount>-227.2</balanceAmount>
181
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
182
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
183
+ <aggrStatusCode>0</aggrStatusCode>
184
+ <currencyCode>INR</currencyCode>
185
+ <ns5:investmentAccountType>KEOGH</ns5:investmentAccountType>
186
+ <ns5:currentBalance>-227.2</ns5:currentBalance>
187
+ </ns5:InvestmentAccount>
188
+ <ns5:InvestmentAccount>
189
+ <accountId>75000033007</accountId>
190
+ <accountNumber>1110000007</accountNumber>
191
+ <accountNickname>My NORMAL - My Retirement</accountNickname>
192
+ <displayPosition>25</displayPosition>
193
+ <institutionId>0</institutionId>
194
+ <balanceAmount>-227.2</balanceAmount>
195
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
196
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
197
+ <aggrStatusCode>0</aggrStatusCode>
198
+ <currencyCode>INR</currencyCode>
199
+ <ns5:investmentAccountType>KEOGH</ns5:investmentAccountType>
200
+ <ns5:currentBalance>-227.2</ns5:currentBalance>
201
+ </ns5:InvestmentAccount>
202
+ <ns6:OtherAccount>
203
+ <accountId>75000033006</accountId>
204
+ <accountNumber>1000001111</accountNumber>
205
+ <accountNickname>My Rewards</accountNickname>
206
+ <displayPosition>14</displayPosition>
207
+ <institutionId>0</institutionId>
208
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
209
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
210
+ <aggrStatusCode>0</aggrStatusCode>
211
+ <currencyCode>INR</currencyCode>
212
+ </ns6:OtherAccount>
213
+ <ns6:OtherAccount>
214
+ <accountId>75000033008</accountId>
215
+ <accountNumber>1000001111</accountNumber>
216
+ <accountNickname>My Unknown</accountNickname>
217
+ <displayPosition>13</displayPosition>
218
+ <institutionId>0</institutionId>
219
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
220
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
221
+ <aggrStatusCode>0</aggrStatusCode>
222
+ <currencyCode>INR</currencyCode>
223
+ </ns6:OtherAccount>
224
+ <ns5:InvestmentAccount>
225
+ <accountId>75000032998</accountId>
226
+ <accountNumber>1110000008</accountNumber>
227
+ <accountNickname>My SARSEP - My Retirement</accountNickname>
228
+ <displayPosition>26</displayPosition>
229
+ <institutionId>0</institutionId>
230
+ <balanceAmount>-227.2</balanceAmount>
231
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
232
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
233
+ <aggrStatusCode>0</aggrStatusCode>
234
+ <currencyCode>INR</currencyCode>
235
+ <ns5:investmentAccountType>KEOGH</ns5:investmentAccountType>
236
+ <ns5:currentBalance>-227.2</ns5:currentBalance>
237
+ </ns5:InvestmentAccount>
238
+ <ns7:LoanAccount>
239
+ <accountId>75000033001</accountId>
240
+ <accountNumber>9900009992</accountNumber>
241
+ <accountNickname>My Commercial Loan</accountNickname>
242
+ <displayPosition>3</displayPosition>
243
+ <institutionId>0</institutionId>
244
+ <description>Description</description>
245
+ <balanceAmount>90227.2</balanceAmount>
246
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
247
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
248
+ <aggrStatusCode>0</aggrStatusCode>
249
+ <currencyCode>USD</currencyCode>
250
+ <ns7:loanType>COMMERCIAL</ns7:loanType>
251
+ <ns7:nextPayment>90227.2</ns7:nextPayment>
252
+ <ns7:nextPaymentDate>2020-04-01T00:00:00-07:00</ns7:nextPaymentDate>
253
+ <ns7:autopayEnrolled>true</ns7:autopayEnrolled>
254
+ <ns7:collateral>90227.20</ns7:collateral>
255
+ <ns7:currentSchool>Cur School</ns7:currentSchool>
256
+ <ns7:firstPaymentDate>2020-04-01T00:00:00-07:00</ns7:firstPaymentDate>
257
+ <ns7:guarantor>Guarantor</ns7:guarantor>
258
+ <ns7:firstMortgage>false</ns7:firstMortgage>
259
+ <ns7:loanPaymentFreq>MONTHLY</ns7:loanPaymentFreq>
260
+ <ns7:paymentMinAmount>90227.2</ns7:paymentMinAmount>
261
+ <ns7:originalSchool>Orig School</ns7:originalSchool>
262
+ <ns7:recurringPaymentAmount>90227.2</ns7:recurringPaymentAmount>
263
+ <ns7:lender>Lender</ns7:lender>
264
+ </ns7:LoanAccount>
265
+ <ns4:BankingAccount>
266
+ <accountId>75000033012</accountId>
267
+ <accountNumber>2000005555</accountNumber>
268
+ <accountNickname>My CD</accountNickname>
269
+ <displayPosition>16</displayPosition>
270
+ <institutionId>0</institutionId>
271
+ <balanceAmount>227.2</balanceAmount>
272
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
273
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
274
+ <aggrStatusCode>0</aggrStatusCode>
275
+ <currencyCode>INR</currencyCode>
276
+ <ns4:bankingAccountType>CD</ns4:bankingAccountType>
277
+ </ns4:BankingAccount>
278
+ <ns7:LoanAccount>
279
+ <accountId>75000033019</accountId>
280
+ <accountNumber>9900009995</accountNumber>
281
+ <accountNickname>My Small Business Loan</accountNickname>
282
+ <displayPosition>7</displayPosition>
283
+ <institutionId>0</institutionId>
284
+ <description>Description</description>
285
+ <balanceAmount>90227.2</balanceAmount>
286
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
287
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
288
+ <aggrStatusCode>0</aggrStatusCode>
289
+ <currencyCode>USD</currencyCode>
290
+ <ns7:loanType>SMB</ns7:loanType>
291
+ <ns7:nextPayment>90227.2</ns7:nextPayment>
292
+ <ns7:nextPaymentDate>2020-04-01T00:00:00-07:00</ns7:nextPaymentDate>
293
+ <ns7:autopayEnrolled>true</ns7:autopayEnrolled>
294
+ <ns7:collateral>90227.20</ns7:collateral>
295
+ <ns7:currentSchool>Cur School</ns7:currentSchool>
296
+ <ns7:firstPaymentDate>2020-04-01T00:00:00-07:00</ns7:firstPaymentDate>
297
+ <ns7:guarantor>Guarantor</ns7:guarantor>
298
+ <ns7:firstMortgage>false</ns7:firstMortgage>
299
+ <ns7:loanPaymentFreq>MONTHLY</ns7:loanPaymentFreq>
300
+ <ns7:paymentMinAmount>90227.2</ns7:paymentMinAmount>
301
+ <ns7:originalSchool>Orig School</ns7:originalSchool>
302
+ <ns7:recurringPaymentAmount>90227.2</ns7:recurringPaymentAmount>
303
+ <ns7:lender>Lender</ns7:lender>
304
+ </ns7:LoanAccount>
305
+ <ns5:InvestmentAccount>
306
+ <accountId>75000033016</accountId>
307
+ <accountNumber>0000000001</accountNumber>
308
+ <accountNickname>My Retirement</accountNickname>
309
+ <displayPosition>18</displayPosition>
310
+ <institutionId>0</institutionId>
311
+ <balanceAmount>-227.2</balanceAmount>
312
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
313
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
314
+ <aggrStatusCode>0</aggrStatusCode>
315
+ <currencyCode>INR</currencyCode>
316
+ <ns5:investmentAccountType>BROKERAGE</ns5:investmentAccountType>
317
+ <ns5:currentBalance>-227.2</ns5:currentBalance>
318
+ </ns5:InvestmentAccount>
319
+ <ns7:LoanAccount>
320
+ <accountId>75000033015</accountId>
321
+ <accountNumber>9900009997</accountNumber>
322
+ <accountNickname>My Home Equity Line of Credit</accountNickname>
323
+ <displayPosition>9</displayPosition>
324
+ <institutionId>0</institutionId>
325
+ <description>Description</description>
326
+ <balanceAmount>90227.2</balanceAmount>
327
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
328
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
329
+ <aggrStatusCode>0</aggrStatusCode>
330
+ <currencyCode>USD</currencyCode>
331
+ <ns7:loanType>HOMEEQUITY</ns7:loanType>
332
+ <ns7:nextPayment>90227.2</ns7:nextPayment>
333
+ <ns7:nextPaymentDate>2020-04-01T00:00:00-07:00</ns7:nextPaymentDate>
334
+ <ns7:autopayEnrolled>true</ns7:autopayEnrolled>
335
+ <ns7:collateral>90227.20</ns7:collateral>
336
+ <ns7:currentSchool>Cur School</ns7:currentSchool>
337
+ <ns7:firstPaymentDate>2020-04-01T00:00:00-07:00</ns7:firstPaymentDate>
338
+ <ns7:guarantor>Guarantor</ns7:guarantor>
339
+ <ns7:firstMortgage>false</ns7:firstMortgage>
340
+ <ns7:loanPaymentFreq>MONTHLY</ns7:loanPaymentFreq>
341
+ <ns7:paymentMinAmount>90227.2</ns7:paymentMinAmount>
342
+ <ns7:originalSchool>Orig School</ns7:originalSchool>
343
+ <ns7:recurringPaymentAmount>90227.2</ns7:recurringPaymentAmount>
344
+ <ns7:lender>Lender</ns7:lender>
345
+ </ns7:LoanAccount>
346
+ <ns4:BankingAccount>
347
+ <accountId>75000032999</accountId>
348
+ <accountNumber>1005500055</accountNumber>
349
+ <accountNickname>Trade mark symbol tm - My Checking</accountNickname>
350
+ <displayPosition>6</displayPosition>
351
+ <institutionId>0</institutionId>
352
+ <balanceAmount>227.2</balanceAmount>
353
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
354
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
355
+ <aggrStatusCode>0</aggrStatusCode>
356
+ <currencyCode>INR</currencyCode>
357
+ <ns4:bankingAccountType>CHECKING</ns4:bankingAccountType>
358
+ </ns4:BankingAccount>
359
+ <ns7:LoanAccount>
360
+ <accountId>75000032997</accountId>
361
+ <accountNumber>8000008888</accountNumber>
362
+ <accountNickname>My Auto Loan</accountNickname>
363
+ <displayPosition>1</displayPosition>
364
+ <institutionId>0</institutionId>
365
+ <description>Description</description>
366
+ <balanceAmount>90227.2</balanceAmount>
367
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
368
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
369
+ <aggrStatusCode>0</aggrStatusCode>
370
+ <currencyCode>USD</currencyCode>
371
+ <ns7:loanType>AUTO</ns7:loanType>
372
+ <ns7:nextPayment>90227.2</ns7:nextPayment>
373
+ <ns7:nextPaymentDate>2020-04-01T00:00:00-07:00</ns7:nextPaymentDate>
374
+ <ns7:autopayEnrolled>true</ns7:autopayEnrolled>
375
+ <ns7:collateral>90227.20</ns7:collateral>
376
+ <ns7:currentSchool>Cur School</ns7:currentSchool>
377
+ <ns7:firstPaymentDate>2020-04-01T00:00:00-07:00</ns7:firstPaymentDate>
378
+ <ns7:guarantor>Guarantor</ns7:guarantor>
379
+ <ns7:firstMortgage>false</ns7:firstMortgage>
380
+ <ns7:loanPaymentFreq>MONTHLY</ns7:loanPaymentFreq>
381
+ <ns7:paymentMinAmount>90227.2</ns7:paymentMinAmount>
382
+ <ns7:originalSchool>Orig School</ns7:originalSchool>
383
+ <ns7:recurringPaymentAmount>90227.2</ns7:recurringPaymentAmount>
384
+ <ns7:lender>Lender</ns7:lender>
385
+ </ns7:LoanAccount>
386
+ <ns5:InvestmentAccount>
387
+ <accountId>75000032996</accountId>
388
+ <accountNumber>1110000004</accountNumber>
389
+ <accountNickname>My TRUST - My Retirement</accountNickname>
390
+ <displayPosition>22</displayPosition>
391
+ <institutionId>0</institutionId>
392
+ <balanceAmount>-227.2</balanceAmount>
393
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
394
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
395
+ <aggrStatusCode>0</aggrStatusCode>
396
+ <currencyCode>INR</currencyCode>
397
+ <ns5:investmentAccountType>KEOGH</ns5:investmentAccountType>
398
+ <ns5:currentBalance>-227.2</ns5:currentBalance>
399
+ </ns5:InvestmentAccount>
400
+ <ns7:LoanAccount>
401
+ <accountId>75000033004</accountId>
402
+ <accountNumber>9900009996</accountNumber>
403
+ <accountNickname>My Construction Loan</accountNickname>
404
+ <displayPosition>8</displayPosition>
405
+ <institutionId>0</institutionId>
406
+ <description>Description</description>
407
+ <balanceAmount>90227.2</balanceAmount>
408
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
409
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
410
+ <aggrStatusCode>0</aggrStatusCode>
411
+ <currencyCode>USD</currencyCode>
412
+ <ns7:loanType>CONSTR</ns7:loanType>
413
+ <ns7:nextPayment>90227.2</ns7:nextPayment>
414
+ <ns7:nextPaymentDate>2020-04-01T00:00:00-07:00</ns7:nextPaymentDate>
415
+ <ns7:autopayEnrolled>true</ns7:autopayEnrolled>
416
+ <ns7:collateral>90227.20</ns7:collateral>
417
+ <ns7:currentSchool>Cur School</ns7:currentSchool>
418
+ <ns7:firstPaymentDate>2020-04-01T00:00:00-07:00</ns7:firstPaymentDate>
419
+ <ns7:guarantor>Guarantor</ns7:guarantor>
420
+ <ns7:firstMortgage>false</ns7:firstMortgage>
421
+ <ns7:loanPaymentFreq>MONTHLY</ns7:loanPaymentFreq>
422
+ <ns7:paymentMinAmount>90227.2</ns7:paymentMinAmount>
423
+ <ns7:originalSchool>Orig School</ns7:originalSchool>
424
+ <ns7:recurringPaymentAmount>90227.2</ns7:recurringPaymentAmount>
425
+ <ns7:lender>Lender</ns7:lender>
426
+ </ns7:LoanAccount>
427
+ <ns2:CreditAccount>
428
+ <accountId>75000033005</accountId>
429
+ <accountNumber>8000006666</accountNumber>
430
+ <accountNickname>My Line of Credit</accountNickname>
431
+ <displayPosition>11</displayPosition>
432
+ <institutionId>0</institutionId>
433
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
434
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
435
+ <aggrStatusCode>0</aggrStatusCode>
436
+ <currencyCode>INR</currencyCode>
437
+ <ns2:creditAccountType>LINEOFCREDIT</ns2:creditAccountType>
438
+ <ns2:currentBalance>0</ns2:currentBalance>
439
+ </ns2:CreditAccount>
440
+ <ns5:InvestmentAccount>
441
+ <accountId>75000033021</accountId>
442
+ <accountNumber>0000000000</accountNumber>
443
+ <accountNickname>My Brokerage</accountNickname>
444
+ <displayPosition>17</displayPosition>
445
+ <institutionId>0</institutionId>
446
+ <balanceAmount>227.2</balanceAmount>
447
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
448
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
449
+ <aggrStatusCode>0</aggrStatusCode>
450
+ <currencyCode>INR</currencyCode>
451
+ <ns5:investmentAccountType>BROKERAGE</ns5:investmentAccountType>
452
+ <ns5:currentBalance>227.2</ns5:currentBalance>
453
+ </ns5:InvestmentAccount>
454
+ <ns7:LoanAccount>
455
+ <accountId>75000033011</accountId>
456
+ <accountNumber>9900009993</accountNumber>
457
+ <accountNickname>My Student Loan</accountNickname>
458
+ <displayPosition>4</displayPosition>
459
+ <institutionId>0</institutionId>
460
+ <description>Description</description>
461
+ <balanceAmount>90227.2</balanceAmount>
462
+ <aggrSuccessDate>2012-02-27T23:20:13.651-08:00</aggrSuccessDate>
463
+ <aggrAttemptDate>2012-02-27T23:20:13.651-08:00</aggrAttemptDate>
464
+ <aggrStatusCode>0</aggrStatusCode>
465
+ <currencyCode>USD</currencyCode>
466
+ <ns7:loanType>STUDENT</ns7:loanType>
467
+ <ns7:nextPayment>90227.2</ns7:nextPayment>
468
+ <ns7:nextPaymentDate>2020-04-01T00:00:00-07:00</ns7:nextPaymentDate>
469
+ <ns7:autopayEnrolled>true</ns7:autopayEnrolled>
470
+ <ns7:collateral>90227.20</ns7:collateral>
471
+ <ns7:currentSchool>Cur School</ns7:currentSchool>
472
+ <ns7:firstPaymentDate>2020-04-01T00:00:00-07:00</ns7:firstPaymentDate>
473
+ <ns7:guarantor>Guarantor</ns7:guarantor>
474
+ <ns7:firstMortgage>false</ns7:firstMortgage>
475
+ <ns7:loanPaymentFreq>MONTHLY</ns7:loanPaymentFreq>
476
+ <ns7:paymentMinAmount>90227.2</ns7:paymentMinAmount>
477
+ <ns7:originalSchool>Orig School</ns7:originalSchool>
478
+ <ns7:recurringPaymentAmount>90227.2</ns7:recurringPaymentAmount>
479
+ <ns7:lender>Lender</ns7:lender>
480
+ </ns7:LoanAccount>
481
+ </ns8:AccountList>
@@ -0,0 +1,15 @@
1
+ -----BEGIN RSA PRIVATE KEY-----
2
+ MIICXQIBAAKBgQDTL4q+Y54t7XlpGVmNyDTi5/5iyjU0wkLADnY7eclNwlABgHVy
3
+ iKp8E3z2i0DBKVKMU915fqnJRwFyACPwIJZoUJ7pDt8zF7Wt4mQ13mp6KDwQPIW6
4
+ j7BuXHYAk0Rlp8oTKOlLBawFRoexoAw8NHjMnGORd7BpRGHcZ42RMNuzGwIDAQAB
5
+ AoGAOIfGZPZ3liW2VTrS7RAFkCO3xawJGAlUIuL8JSmRiD4WeoBvb+xDbpks3zYh
6
+ bFNqZGPiqi4MtvNJ4MFG3XVrrR46CYZvTfHYKX4ZnRr+pKNSAX4TIdX+9QHMLOXc
7
+ +MArdVo0qkinzMWrl5NbQMKf/4XNaqRZYRfLYPNTja9h3ikCQQDuea642Z9cQcNm
8
+ R0YOb06VUkmg+gHxxPz+CANbGSE+s3mbSukhzRPGDGA2ALOgZPo1iEc4KxkWrEQF
9
+ iR4ZvC9vAkEA4rR5PQMp6xT0zExnZA6c8fmvQhGYlYCydLmCyTU5n9oITV3gHMf/
10
+ VDO8txja3lfhUYXfVKpQWeOjlG2IE1mhFQJAWfGPEq0Ry+wJ1LOhGqSkkPEeUBa7
11
+ UQKpIO7IxT0vKsTqYsXYNCVzBcl5KCUPmrk7HaGuquKmbcS/Sw8ySSaPBQJBALl1
12
+ JF1KMkeS7DQZKNeMsM2vEbV9yZI8J0Ef5aMOfKaNag9Ihadl4TWT4YTzu1D7GWNk
13
+ ne+YKIVwmQg6loAl6YUCQQCt/c9/rjEXZ+fgBNRVr75YXPI8af/68D41zbA/kT7C
14
+ U8HYkrp7ll+R6dk01UnBv59XyyvPNKOC2m4RrP8TMvSZ
15
+ -----END RSA PRIVATE KEY-----
@@ -0,0 +1,40 @@
1
+ <InstitutionDetail xmlns="http://schema.intuit.com/platform/fdatafeed/account/v1"
2
+ xmlns:ns2="http://schema.intuit.com/platform/fdatafeed/common/v1">
3
+ <institutionId>100000</institutionId>
4
+ <institutionName>CCBank</institutionName>
5
+ <homeUrl>http://www.example.com</homeUrl>
6
+ <phoneNumber>123-456-7890</phoneNumber>
7
+ <address>
8
+ <ns2:address1>100 Main Street</ns2:address1>
9
+ <ns2:city>Anytown</ns2:city>
10
+ <ns2:state>CA</ns2:state>
11
+ <ns2:postalCode>94043</ns2:postalCode>
12
+ <ns2:country>USA</ns2:country>
13
+ </address>
14
+ <emailAddress>CustomerCentralBank@intuit.com</emailAddress>
15
+ <currencyCode>ANG</currencyCode>
16
+ <keys>
17
+ <key>
18
+ <name>Banking Userid</name>
19
+ <status>Active</status>
20
+ <valueLengthMin>1</valueLengthMin>
21
+ <valueLengthMax>100</valueLengthMax>
22
+ <displayFlag>true</displayFlag>
23
+ <displayOrder>1</displayOrder>
24
+ <mask>false</mask>
25
+ <instructions>2</instructions>
26
+ <description>2</description>
27
+ </key>
28
+ <key>
29
+ <name>Banking Password</name>
30
+ <status>Active</status>
31
+ <valueLengthMin>1</valueLengthMin>
32
+ <valueLengthMax>100</valueLengthMax>
33
+ <displayFlag>false</displayFlag>
34
+ <displayOrder>2</displayOrder>
35
+ <mask>true</mask>
36
+ <instructions>2</instructions>
37
+ <description>2</description>
38
+ </key>
39
+ </keys>
40
+ </InstitutionDetail>
@@ -0,0 +1,65 @@
1
+ <Institutions xmlns="http://schema.intuit.com/platform/fdatafeed/account/v1"
2
+ xmlns:ns2="http://schema.intuit.com/platform/fdatafeed/v1">
3
+ <institution>
4
+ <institutionId>100000</institutionId>
5
+ <institutionName>CCBank</institutionName>
6
+ <homeUrl>http://www.example.com</homeUrl>
7
+ <phoneNumber>123-456-7890</phoneNumber>
8
+ <virtual>false</virtual>
9
+ </institution>
10
+ <institution>
11
+ <institutionId>100001</institutionId>
12
+ <institutionName>CCBank1</institutionName>
13
+ <homeUrl>http://www.example.com</homeUrl>
14
+ <phoneNumber>123-456-7891</phoneNumber>
15
+ <virtual>false</virtual>
16
+ </institution>
17
+ <institution>
18
+ <institutionId>100002</institutionId>
19
+ <institutionName>CCBank2</institutionName>
20
+ <homeUrl>http://www.example.com</homeUrl>
21
+ <phoneNumber>123-456-7892</phoneNumber>
22
+ <virtual>false</virtual>
23
+ </institution>
24
+ <institution>
25
+ <institutionId>100003</institutionId>
26
+ <institutionName>CCBank3</institutionName>
27
+ <homeUrl>http://www.example.com</homeUrl>
28
+ <phoneNumber>123-456-7890</phoneNumber>
29
+ <virtual>false</virtual>
30
+ </institution>
31
+ <institution>
32
+ <institutionId>100004</institutionId>
33
+ <institutionName>CCBank4</institutionName>
34
+ <homeUrl>http://www.example.com</homeUrl>
35
+ <phoneNumber>123-456-7894</phoneNumber>
36
+ <virtual>false</virtual>
37
+ </institution>
38
+ <institution>
39
+ <institutionId>100005</institutionId>
40
+ <institutionName>CCBank5</institutionName>
41
+ <homeUrl>http://www.example.com</homeUrl>
42
+ <phoneNumber>123-456-7895</phoneNumber>
43
+ <virtual>false</virtual>
44
+ </institution>
45
+ <institution>
46
+ <institutionId>200001</institutionId>
47
+ <institutionName>OFX Automation</institutionName>
48
+ <virtual>false</virtual>
49
+ </institution>
50
+ <institution>
51
+ <institutionId>200002</institutionId>
52
+ <institutionName>CCOFXBank</institutionName>
53
+ <virtual>false</virtual>
54
+ </institution>
55
+ <institution>
56
+ <institutionId>200004</institutionId>
57
+ <institutionName>CCBank</institutionName>
58
+ <virtual>false</virtual>
59
+ </institution>
60
+ <institution>
61
+ <institutionId>777999</institutionId>
62
+ <institutionName>Customer Central OFX Bank</institutionName>
63
+ <virtual>false</virtual>
64
+ </institution>
65
+ </Institutions>
@@ -0,0 +1,12 @@
1
+ <InstitutionLogin xmlns="http://schema.intuit.com/platform/fdatafeed/institutionlogin/v1">
2
+ <credentials>
3
+ <credential>
4
+ <name>Banking Userid</name>
5
+ <value>username</value>
6
+ </credential>
7
+ <credential>
8
+ <name>Banking Password</name>
9
+ <value>password</value>
10
+ </credential>
11
+ </credentials>
12
+ </InstitutionLogin>
@@ -0,0 +1 @@
1
+ oauth_token_secret=dv0yxrpWIMWP611ru7bpNx3mlww6R43tDpgO0SoI&oauth_token=qyprd26XdjQXGOQcaaDIDcfmkWl42VRhuUiQ0mXlNW9CUs1O
@@ -0,0 +1,33 @@
1
+ <ns9:TransactionList xmlns="http://schema.intuit.com/platform/fdatafeed/transaction/v1"
2
+ xmlns:ns2="http://schema.intuit.com/platform/fdatafeed/bnktransaction/v1"
3
+ xmlns:ns3="http://schema.intuit.com/platform/fdatafeed/cctransaction/v1"
4
+ xmlns:ns4="http://schema.intuit.com/platform/fdatafeed/ibnktransaction/v1"
5
+ xmlns:ns5="http://schema.intuit.com/platform/fdatafeed/loantransaction/v1"
6
+ xmlns:ns6="http://schema.intuit.com/platform/fdatafeed/invtransaction/v1"
7
+ xmlns:ns7="http://schema.intuit.com/platform/fdatafeed/securityinfo/v1"
8
+ xmlns:ns8="http://schema.intuit.com/platform/fdatafeed/rewardstransaction/v1"
9
+ xmlns:ns9="http://schema.intuit.com/platform/fdatafeed/transactionlist/v1">
10
+ <ns3:CreditCardTransaction>
11
+ <id>75000088503</id>
12
+ <currencyType>USD</currencyType>
13
+ <institutionTransactionId>INTUIT-75000088503</institutionTransactionId>
14
+ <payeeName>Transaction 1.2</payeeName>
15
+ <postedDate>2012-08-22T00:00:00-06:00</postedDate>
16
+ <userDate>2012-08-22T00:00:00-06:00</userDate>
17
+ <amount>111.22</amount>
18
+ <pending>false</pending>
19
+ <categorization>
20
+ <common>
21
+ <normalizedPayeeName>Priceline.com</normalizedPayeeName>
22
+ <merchant>Priceline.com</merchant>
23
+ <sic>9995</sic>
24
+ </common>
25
+ <context>
26
+ <source>CAT</source>
27
+ <categoryName>CATEGORY</categoryName>
28
+ <contextType></contextType>
29
+ <scheduleC>Travel,Meals,Entertainment</scheduleC>
30
+ </context>
31
+ </categorization>
32
+ </ns3:CreditCardTransaction>
33
+ </ns9:TransactionList>
@@ -0,0 +1,33 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+
4
+ require 'simplecov'
5
+ SimpleCov.start
6
+
7
+ require 'webmock/test_unit'
8
+ require 'test/unit'
9
+ require 'aggcat'
10
+
11
+ def stub_delete(path)
12
+ stub_request(:delete, Aggcat::Client::BASE_URL + path)
13
+ end
14
+
15
+ def stub_get(path)
16
+ stub_request(:get, Aggcat::Client::BASE_URL + path)
17
+ end
18
+
19
+ def stub_post(path)
20
+ stub_request(:post, Aggcat::Client::BASE_URL + path)
21
+ end
22
+
23
+ def stub_put(path)
24
+ stub_request(:put, Aggcat::Client::BASE_URL + path)
25
+ end
26
+
27
+ def fixture_path
28
+ File.expand_path('../fixtures', __FILE__)
29
+ end
30
+
31
+ def fixture(file)
32
+ File.new(fixture_path + '/' + file)
33
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aggcat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-30 00:00:00.000000000 Z
12
+ date: 2013-04-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: oauth
@@ -59,6 +59,22 @@ dependencies:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.5'
62
+ - !ruby/object:Gem::Dependency
63
+ name: builder
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: '3.2'
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '3.2'
62
78
  - !ruby/object:Gem::Dependency
63
79
  name: active_support
64
80
  requirement: !ruby/object:Gem::Requirement
@@ -115,6 +131,7 @@ extensions: []
115
131
  extra_rdoc_files: []
116
132
  files:
117
133
  - .gitignore
134
+ - .travis.yml
118
135
  - Gemfile
119
136
  - LICENSE.md
120
137
  - README.md
@@ -125,6 +142,16 @@ files:
125
142
  - lib/aggcat/client.rb
126
143
  - lib/aggcat/configurable.rb
127
144
  - lib/aggcat/version.rb
145
+ - test/aggcat/client_test.rb
146
+ - test/fixtures/account.xml
147
+ - test/fixtures/accounts.xml
148
+ - test/fixtures/cert.key
149
+ - test/fixtures/institution.xml
150
+ - test/fixtures/institutions.xml
151
+ - test/fixtures/login.xml
152
+ - test/fixtures/oauth_token.txt
153
+ - test/fixtures/transactions.xml
154
+ - test/test_helper.rb
128
155
  homepage: https://github.com/cloocher/aggcat
129
156
  licenses:
130
157
  - MIT
@@ -150,4 +177,14 @@ rubygems_version: 1.8.25
150
177
  signing_key:
151
178
  specification_version: 3
152
179
  summary: Intuit Customer Account Data API client
153
- test_files: []
180
+ test_files:
181
+ - test/aggcat/client_test.rb
182
+ - test/fixtures/account.xml
183
+ - test/fixtures/accounts.xml
184
+ - test/fixtures/cert.key
185
+ - test/fixtures/institution.xml
186
+ - test/fixtures/institutions.xml
187
+ - test/fixtures/login.xml
188
+ - test/fixtures/oauth_token.txt
189
+ - test/fixtures/transactions.xml
190
+ - test/test_helper.rb