killbill 1.8.4 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +7 -0
  2. data/Jarfile +4 -4
  3. data/NEWS +4 -1
  4. data/VERSION +1 -1
  5. data/gen_config/api.conf +1 -0
  6. data/lib/killbill/gen/api/account.rb +2 -2
  7. data/lib/killbill/gen/api/account_audit_logs.rb +303 -0
  8. data/lib/killbill/gen/api/account_audit_logs_for_object_type.rb +68 -0
  9. data/lib/killbill/gen/api/account_email.rb +2 -2
  10. data/lib/killbill/gen/api/audit_log.rb +129 -0
  11. data/lib/killbill/gen/api/audit_user_api.rb +5 -120
  12. data/lib/killbill/gen/api/blockable.rb +2 -2
  13. data/lib/killbill/gen/api/blocking_state.rb +3 -3
  14. data/lib/killbill/gen/api/call_context.rb +2 -2
  15. data/lib/killbill/gen/api/control_tag.rb +2 -2
  16. data/lib/killbill/gen/api/custom_field.rb +2 -2
  17. data/lib/killbill/gen/api/entitlement.rb +2 -2
  18. data/lib/killbill/gen/api/entity.rb +2 -2
  19. data/lib/killbill/gen/api/invoice.rb +2 -2
  20. data/lib/killbill/gen/api/invoice_formatter.rb +2 -2
  21. data/lib/killbill/gen/api/invoice_item.rb +2 -2
  22. data/lib/killbill/gen/api/invoice_item_formatter.rb +2 -2
  23. data/lib/killbill/gen/api/invoice_payment.rb +3 -3
  24. data/lib/killbill/gen/api/migration_plan.rb +1 -1
  25. data/lib/killbill/gen/api/payment.rb +3 -3
  26. data/lib/killbill/gen/api/payment_api.rb +20 -0
  27. data/lib/killbill/gen/api/payment_attempt.rb +3 -3
  28. data/lib/killbill/gen/api/payment_method.rb +2 -2
  29. data/lib/killbill/gen/api/plan.rb +1 -1
  30. data/lib/killbill/gen/api/rate.rb +1 -1
  31. data/lib/killbill/gen/api/refund.rb +3 -3
  32. data/lib/killbill/gen/api/require_gen.rb +3 -0
  33. data/lib/killbill/gen/api/rolled_up_usage.rb +2 -2
  34. data/lib/killbill/gen/api/static_catalog.rb +1 -1
  35. data/lib/killbill/gen/api/subscription.rb +2 -2
  36. data/lib/killbill/gen/api/subscription_bundle.rb +3 -3
  37. data/lib/killbill/gen/api/tag.rb +2 -2
  38. data/lib/killbill/gen/api/tag_definition.rb +2 -2
  39. data/lib/killbill/gen/api/tag_user_api.rb +18 -9
  40. data/lib/killbill/gen/api/tenant.rb +2 -2
  41. data/lib/killbill/gen/api/tenant_kv.rb +2 -2
  42. data/lib/killbill/gen/plugin-api/currency_plugin_api.rb +1 -1
  43. data/lib/killbill/gen/plugin-api/payment_info_plugin.rb +10 -3
  44. data/lib/killbill/gen/plugin-api/payment_plugin_api.rb +28 -0
  45. data/lib/killbill/gen/plugin-api/refund_info_plugin.rb +2 -2
  46. metadata +55 -70
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: dd98bf7051bb9ee2e80fd56b975fc167e6110de0
4
+ data.tar.gz: eb4e505e25f5ef14e7e078c4b2f3cc89709dadf6
5
+ SHA512:
6
+ metadata.gz: e416f13e53d9640a38d98fd3280f26709f7d556e0b892d257b6354119715e04666fc44a4f267db89b5d4212107ad6c06f4e4420ae824227be3fa4463bf16e0ff
7
+ data.tar.gz: 5ff5c09dcedb2a66cd4a1eb1046360290682b43c9333e19a2b1aff06e44cd01a6ec3b5b9ab084c6cc8392ab0f895f8e9a550e8dbd896d31034e9099b066d11c2
data/Jarfile CHANGED
@@ -1,6 +1,6 @@
1
- jar 'com.ning.billing:killbill-api', '0.7.6'
2
- jar 'com.ning.billing.plugin:killbill-plugin-api-notification', '0.6.1'
3
- jar 'com.ning.billing.plugin:killbill-plugin-api-payment', '0.6.1'
4
- jar 'com.ning.billing.plugin:killbill-plugin-api-currency', '0.6.1'
1
+ jar 'com.ning.billing:killbill-api', '0.7.8'
2
+ jar 'com.ning.billing.plugin:killbill-plugin-api-notification', '0.6.2'
3
+ jar 'com.ning.billing.plugin:killbill-plugin-api-payment', '0.6.2'
4
+ jar 'com.ning.billing.plugin:killbill-plugin-api-currency', '0.6.2'
5
5
  jar 'com.ning.billing:killbill-util:tests', '0.7.0'
6
6
  jar 'javax.servlet:javax.servlet-api', '3.0.1'
data/NEWS CHANGED
@@ -1,5 +1,8 @@
1
+ 1.9.0
2
+ Regenerate files for killbill-api 0.7.8 and killbill-plugin-api 0.6.2
3
+
1
4
  1.8.4
2
- Regenerate models to export refund status
5
+ Regenerate models to export refund status
3
6
 
4
7
  1.8.3
5
8
  Regenerate models for currency conversion api changes
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.4
1
+ 1.9.0
data/gen_config/api.conf CHANGED
@@ -32,6 +32,7 @@ com.ning.billing.usage,
32
32
  com.ning.billing.usage.api,
33
33
  com.ning.billing.util,
34
34
  com.ning.billing.util.api,
35
+ com.ning.billing.util.audit,
35
36
  com.ning.billing.util.callcontext,
36
37
  com.ning.billing.util.customfield,
37
38
  com.ning.billing.util.entity,
@@ -122,7 +122,7 @@ module Killbill
122
122
  # conversion for created_date [type = org.joda.time.DateTime]
123
123
  @created_date = j_obj.created_date
124
124
  if !@created_date.nil?
125
- fmt = Java::org.joda.time.format.ISODateTimeFormat.date_time
125
+ fmt = Java::org.joda.time.format.ISODateTimeFormat.date_time_no_millis # See https://github.com/killbill/killbill-java-parser/issues/3
126
126
  str = fmt.print(@created_date)
127
127
  @created_date = DateTime.iso8601(str)
128
128
  end
@@ -130,7 +130,7 @@ module Killbill
130
130
  # conversion for updated_date [type = org.joda.time.DateTime]
131
131
  @updated_date = j_obj.updated_date
132
132
  if !@updated_date.nil?
133
- fmt = Java::org.joda.time.format.ISODateTimeFormat.date_time
133
+ fmt = Java::org.joda.time.format.ISODateTimeFormat.date_time_no_millis # See https://github.com/killbill/killbill-java-parser/issues/3
134
134
  str = fmt.print(@updated_date)
135
135
  @updated_date = DateTime.iso8601(str)
136
136
  end
@@ -0,0 +1,303 @@
1
+ ###################################################################################
2
+ # #
3
+ # Copyright 2010-2013 Ning, Inc. #
4
+ # #
5
+ # Ning licenses this file to you under the Apache License, version 2.0 #
6
+ # (the "License"); you may not use this file except in compliance with the #
7
+ # License. You may obtain a copy of the License at: #
8
+ # #
9
+ # http://www.apache.org/licenses/LICENSE-2.0 #
10
+ # #
11
+ # Unless required by applicable law or agreed to in writing, software #
12
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
13
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
14
+ # License for the specific language governing permissions and limitations #
15
+ # under the License. #
16
+ # #
17
+ ###################################################################################
18
+
19
+
20
+ #
21
+ # DO NOT EDIT!!!
22
+ # File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
23
+ #
24
+
25
+
26
+ module Killbill
27
+ module Plugin
28
+ module Model
29
+
30
+ java_package 'com.ning.billing.util.audit'
31
+ class AccountAuditLogs
32
+
33
+ include com.ning.billing.util.audit.AccountAuditLogs
34
+
35
+ attr_accessor :audit_logs_for_account, :audit_logs_for_bundle, :audit_logs_for_subscription, :audit_logs_for_subscription_event, :audit_logs_for_blocking_state, :audit_logs_for_invoice, :audit_logs_for_invoice_item, :audit_logs_for_invoice_payment, :audit_logs_for_payment, :audit_logs_for_refund, :audit_logs_for_chargeback, :audit_logs_for_tag, :audit_logs_for_custom_field, :audit_logs
36
+
37
+ def initialize()
38
+ end
39
+
40
+ def to_java()
41
+ # conversion for audit_logs_for_account [type = java.util.List]
42
+ tmp = java.util.ArrayList.new
43
+ (@audit_logs_for_account || []).each do |m|
44
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
45
+ m = m.to_java unless m.nil?
46
+ tmp.add(m)
47
+ end
48
+ @audit_logs_for_account = tmp
49
+
50
+ # conversion for audit_logs_for_bundle [type = java.util.List]
51
+ tmp = java.util.ArrayList.new
52
+ (@audit_logs_for_bundle || []).each do |m|
53
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
54
+ m = m.to_java unless m.nil?
55
+ tmp.add(m)
56
+ end
57
+ @audit_logs_for_bundle = tmp
58
+
59
+ # conversion for audit_logs_for_subscription [type = java.util.List]
60
+ tmp = java.util.ArrayList.new
61
+ (@audit_logs_for_subscription || []).each do |m|
62
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
63
+ m = m.to_java unless m.nil?
64
+ tmp.add(m)
65
+ end
66
+ @audit_logs_for_subscription = tmp
67
+
68
+ # conversion for audit_logs_for_subscription_event [type = java.util.List]
69
+ tmp = java.util.ArrayList.new
70
+ (@audit_logs_for_subscription_event || []).each do |m|
71
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
72
+ m = m.to_java unless m.nil?
73
+ tmp.add(m)
74
+ end
75
+ @audit_logs_for_subscription_event = tmp
76
+
77
+ # conversion for audit_logs_for_blocking_state [type = java.util.List]
78
+ tmp = java.util.ArrayList.new
79
+ (@audit_logs_for_blocking_state || []).each do |m|
80
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
81
+ m = m.to_java unless m.nil?
82
+ tmp.add(m)
83
+ end
84
+ @audit_logs_for_blocking_state = tmp
85
+
86
+ # conversion for audit_logs_for_invoice [type = java.util.List]
87
+ tmp = java.util.ArrayList.new
88
+ (@audit_logs_for_invoice || []).each do |m|
89
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
90
+ m = m.to_java unless m.nil?
91
+ tmp.add(m)
92
+ end
93
+ @audit_logs_for_invoice = tmp
94
+
95
+ # conversion for audit_logs_for_invoice_item [type = java.util.List]
96
+ tmp = java.util.ArrayList.new
97
+ (@audit_logs_for_invoice_item || []).each do |m|
98
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
99
+ m = m.to_java unless m.nil?
100
+ tmp.add(m)
101
+ end
102
+ @audit_logs_for_invoice_item = tmp
103
+
104
+ # conversion for audit_logs_for_invoice_payment [type = java.util.List]
105
+ tmp = java.util.ArrayList.new
106
+ (@audit_logs_for_invoice_payment || []).each do |m|
107
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
108
+ m = m.to_java unless m.nil?
109
+ tmp.add(m)
110
+ end
111
+ @audit_logs_for_invoice_payment = tmp
112
+
113
+ # conversion for audit_logs_for_payment [type = java.util.List]
114
+ tmp = java.util.ArrayList.new
115
+ (@audit_logs_for_payment || []).each do |m|
116
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
117
+ m = m.to_java unless m.nil?
118
+ tmp.add(m)
119
+ end
120
+ @audit_logs_for_payment = tmp
121
+
122
+ # conversion for audit_logs_for_refund [type = java.util.List]
123
+ tmp = java.util.ArrayList.new
124
+ (@audit_logs_for_refund || []).each do |m|
125
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
126
+ m = m.to_java unless m.nil?
127
+ tmp.add(m)
128
+ end
129
+ @audit_logs_for_refund = tmp
130
+
131
+ # conversion for audit_logs_for_chargeback [type = java.util.List]
132
+ tmp = java.util.ArrayList.new
133
+ (@audit_logs_for_chargeback || []).each do |m|
134
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
135
+ m = m.to_java unless m.nil?
136
+ tmp.add(m)
137
+ end
138
+ @audit_logs_for_chargeback = tmp
139
+
140
+ # conversion for audit_logs_for_tag [type = java.util.List]
141
+ tmp = java.util.ArrayList.new
142
+ (@audit_logs_for_tag || []).each do |m|
143
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
144
+ m = m.to_java unless m.nil?
145
+ tmp.add(m)
146
+ end
147
+ @audit_logs_for_tag = tmp
148
+
149
+ # conversion for audit_logs_for_custom_field [type = java.util.List]
150
+ tmp = java.util.ArrayList.new
151
+ (@audit_logs_for_custom_field || []).each do |m|
152
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
153
+ m = m.to_java unless m.nil?
154
+ tmp.add(m)
155
+ end
156
+ @audit_logs_for_custom_field = tmp
157
+
158
+ # conversion for audit_logs [type = com.ning.billing.util.audit.AccountAuditLogsForObjectType]
159
+ @audit_logs = @audit_logs.to_java unless @audit_logs.nil?
160
+ self
161
+ end
162
+
163
+ def to_ruby(j_obj)
164
+ # conversion for audit_logs_for_account [type = java.util.List]
165
+ @audit_logs_for_account = j_obj.audit_logs_for_account
166
+ tmp = []
167
+ (@audit_logs_for_account || []).each do |m|
168
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
169
+ m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
170
+ tmp << m
171
+ end
172
+ @audit_logs_for_account = tmp
173
+
174
+ # conversion for audit_logs_for_bundle [type = java.util.List]
175
+ @audit_logs_for_bundle = j_obj.audit_logs_for_bundle
176
+ tmp = []
177
+ (@audit_logs_for_bundle || []).each do |m|
178
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
179
+ m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
180
+ tmp << m
181
+ end
182
+ @audit_logs_for_bundle = tmp
183
+
184
+ # conversion for audit_logs_for_subscription [type = java.util.List]
185
+ @audit_logs_for_subscription = j_obj.audit_logs_for_subscription
186
+ tmp = []
187
+ (@audit_logs_for_subscription || []).each do |m|
188
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
189
+ m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
190
+ tmp << m
191
+ end
192
+ @audit_logs_for_subscription = tmp
193
+
194
+ # conversion for audit_logs_for_subscription_event [type = java.util.List]
195
+ @audit_logs_for_subscription_event = j_obj.audit_logs_for_subscription_event
196
+ tmp = []
197
+ (@audit_logs_for_subscription_event || []).each do |m|
198
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
199
+ m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
200
+ tmp << m
201
+ end
202
+ @audit_logs_for_subscription_event = tmp
203
+
204
+ # conversion for audit_logs_for_blocking_state [type = java.util.List]
205
+ @audit_logs_for_blocking_state = j_obj.audit_logs_for_blocking_state
206
+ tmp = []
207
+ (@audit_logs_for_blocking_state || []).each do |m|
208
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
209
+ m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
210
+ tmp << m
211
+ end
212
+ @audit_logs_for_blocking_state = tmp
213
+
214
+ # conversion for audit_logs_for_invoice [type = java.util.List]
215
+ @audit_logs_for_invoice = j_obj.audit_logs_for_invoice
216
+ tmp = []
217
+ (@audit_logs_for_invoice || []).each do |m|
218
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
219
+ m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
220
+ tmp << m
221
+ end
222
+ @audit_logs_for_invoice = tmp
223
+
224
+ # conversion for audit_logs_for_invoice_item [type = java.util.List]
225
+ @audit_logs_for_invoice_item = j_obj.audit_logs_for_invoice_item
226
+ tmp = []
227
+ (@audit_logs_for_invoice_item || []).each do |m|
228
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
229
+ m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
230
+ tmp << m
231
+ end
232
+ @audit_logs_for_invoice_item = tmp
233
+
234
+ # conversion for audit_logs_for_invoice_payment [type = java.util.List]
235
+ @audit_logs_for_invoice_payment = j_obj.audit_logs_for_invoice_payment
236
+ tmp = []
237
+ (@audit_logs_for_invoice_payment || []).each do |m|
238
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
239
+ m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
240
+ tmp << m
241
+ end
242
+ @audit_logs_for_invoice_payment = tmp
243
+
244
+ # conversion for audit_logs_for_payment [type = java.util.List]
245
+ @audit_logs_for_payment = j_obj.audit_logs_for_payment
246
+ tmp = []
247
+ (@audit_logs_for_payment || []).each do |m|
248
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
249
+ m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
250
+ tmp << m
251
+ end
252
+ @audit_logs_for_payment = tmp
253
+
254
+ # conversion for audit_logs_for_refund [type = java.util.List]
255
+ @audit_logs_for_refund = j_obj.audit_logs_for_refund
256
+ tmp = []
257
+ (@audit_logs_for_refund || []).each do |m|
258
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
259
+ m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
260
+ tmp << m
261
+ end
262
+ @audit_logs_for_refund = tmp
263
+
264
+ # conversion for audit_logs_for_chargeback [type = java.util.List]
265
+ @audit_logs_for_chargeback = j_obj.audit_logs_for_chargeback
266
+ tmp = []
267
+ (@audit_logs_for_chargeback || []).each do |m|
268
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
269
+ m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
270
+ tmp << m
271
+ end
272
+ @audit_logs_for_chargeback = tmp
273
+
274
+ # conversion for audit_logs_for_tag [type = java.util.List]
275
+ @audit_logs_for_tag = j_obj.audit_logs_for_tag
276
+ tmp = []
277
+ (@audit_logs_for_tag || []).each do |m|
278
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
279
+ m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
280
+ tmp << m
281
+ end
282
+ @audit_logs_for_tag = tmp
283
+
284
+ # conversion for audit_logs_for_custom_field [type = java.util.List]
285
+ @audit_logs_for_custom_field = j_obj.audit_logs_for_custom_field
286
+ tmp = []
287
+ (@audit_logs_for_custom_field || []).each do |m|
288
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
289
+ m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
290
+ tmp << m
291
+ end
292
+ @audit_logs_for_custom_field = tmp
293
+
294
+ # conversion for audit_logs [type = com.ning.billing.util.audit.AccountAuditLogsForObjectType]
295
+ @audit_logs = j_obj.audit_logs
296
+ @audit_logs = Killbill::Plugin::Model::AccountAuditLogsForObjectType.new.to_ruby(@audit_logs) unless @audit_logs.nil?
297
+ self
298
+ end
299
+
300
+ end
301
+ end
302
+ end
303
+ end
@@ -0,0 +1,68 @@
1
+ ###################################################################################
2
+ # #
3
+ # Copyright 2010-2013 Ning, Inc. #
4
+ # #
5
+ # Ning licenses this file to you under the Apache License, version 2.0 #
6
+ # (the "License"); you may not use this file except in compliance with the #
7
+ # License. You may obtain a copy of the License at: #
8
+ # #
9
+ # http://www.apache.org/licenses/LICENSE-2.0 #
10
+ # #
11
+ # Unless required by applicable law or agreed to in writing, software #
12
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
13
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
14
+ # License for the specific language governing permissions and limitations #
15
+ # under the License. #
16
+ # #
17
+ ###################################################################################
18
+
19
+
20
+ #
21
+ # DO NOT EDIT!!!
22
+ # File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
23
+ #
24
+
25
+
26
+ module Killbill
27
+ module Plugin
28
+ module Model
29
+
30
+ java_package 'com.ning.billing.util.audit'
31
+ class AccountAuditLogsForObjectType
32
+
33
+ include com.ning.billing.util.audit.AccountAuditLogsForObjectType
34
+
35
+ attr_accessor :audit_logs
36
+
37
+ def initialize()
38
+ end
39
+
40
+ def to_java()
41
+ # conversion for audit_logs [type = java.util.List]
42
+ tmp = java.util.ArrayList.new
43
+ (@audit_logs || []).each do |m|
44
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
45
+ m = m.to_java unless m.nil?
46
+ tmp.add(m)
47
+ end
48
+ @audit_logs = tmp
49
+ self
50
+ end
51
+
52
+ def to_ruby(j_obj)
53
+ # conversion for audit_logs [type = java.util.List]
54
+ @audit_logs = j_obj.audit_logs
55
+ tmp = []
56
+ (@audit_logs || []).each do |m|
57
+ # conversion for m [type = com.ning.billing.util.audit.AuditLog]
58
+ m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
59
+ tmp << m
60
+ end
61
+ @audit_logs = tmp
62
+ self
63
+ end
64
+
65
+ end
66
+ end
67
+ end
68
+ end
@@ -69,7 +69,7 @@ module Killbill
69
69
  # conversion for created_date [type = org.joda.time.DateTime]
70
70
  @created_date = j_obj.created_date
71
71
  if !@created_date.nil?
72
- fmt = Java::org.joda.time.format.ISODateTimeFormat.date_time
72
+ fmt = Java::org.joda.time.format.ISODateTimeFormat.date_time_no_millis # See https://github.com/killbill/killbill-java-parser/issues/3
73
73
  str = fmt.print(@created_date)
74
74
  @created_date = DateTime.iso8601(str)
75
75
  end
@@ -77,7 +77,7 @@ module Killbill
77
77
  # conversion for updated_date [type = org.joda.time.DateTime]
78
78
  @updated_date = j_obj.updated_date
79
79
  if !@updated_date.nil?
80
- fmt = Java::org.joda.time.format.ISODateTimeFormat.date_time
80
+ fmt = Java::org.joda.time.format.ISODateTimeFormat.date_time_no_millis # See https://github.com/killbill/killbill-java-parser/issues/3
81
81
  str = fmt.print(@updated_date)
82
82
  @updated_date = DateTime.iso8601(str)
83
83
  end