killbill 8.0.1 → 8.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a834348d6b8115a5a8d190e2ce745a34da421eb7
4
- data.tar.gz: a08f6a4e1935133f056deaa0964921233004a06a
3
+ metadata.gz: f9438508ea82e8cb3524bd2146a134cd2ae24e20
4
+ data.tar.gz: d9fdc85585f4ec96b74d3f7d0d6693b0a90f8dfe
5
5
  SHA512:
6
- metadata.gz: f11dd9342843f66646bf57e1c7fc654ab70b5457d1fb2d0d4b50ed7dc8a78d5a1f71db8cffb0020c7877f5420a71ea28c4761de39aa5a9ef16f9d6b3bccc2096
7
- data.tar.gz: e163f77a24f26f3bfa67c5a6f04dca9e495df115c07ba8e3ed619ee1751550c5b3c8b1385b6c5b8dea743f498bcdb57b8e75684c42423afdd6cbd9127ba36b04
6
+ metadata.gz: 89d9cb497f5f92554530a1abc5816700b5e1670b5cc802c8777514eb2ca43e7c0528bd3e3564a9e26fe851eaa4b845e81711834f383e896f3ce219784c4a754b
7
+ data.tar.gz: 09f61dadb68b4374636e9d918bf50db75664c69d26df90df0fe700741f41a13cea8d5b31711223665593a39b4e140e7fc7e631b00e71db5debd46e16fb282aa2
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- killbill (8.0.1)
4
+ killbill (8.1.0)
5
5
  rack (>= 1.5.2)
6
6
  sinatra (~> 1.3.4)
7
7
  typhoeus (~> 0.6.9)
data/Jarfile CHANGED
@@ -1,12 +1,12 @@
1
- jar 'org.kill-bill.billing:killbill-api', '0.34'
2
- jar 'org.kill-bill.billing.plugin:killbill-plugin-api-currency', '0.19'
3
- jar 'org.kill-bill.billing.plugin:killbill-plugin-api-invoice', '0.19'
4
- jar 'org.kill-bill.billing.plugin:killbill-plugin-api-notification', '0.19'
5
- jar 'org.kill-bill.billing.plugin:killbill-plugin-api-payment', '0.19'
6
- jar 'org.kill-bill.billing.plugin:killbill-plugin-api-control', '0.19'
7
- jar 'org.kill-bill.billing.plugin:killbill-plugin-api-catalog', '0.19'
8
- jar 'org.kill-bill.billing.plugin:killbill-plugin-api-entitlement', '0.19'
9
- jar 'org.kill-bill.billing:killbill-util:tests', '0.17.0'
10
- jar 'org.kill-bill.billing:killbill-util', '0.17.0'
1
+ jar 'org.kill-bill.billing:killbill-api', '0.38'
2
+ jar 'org.kill-bill.billing.plugin:killbill-plugin-api-currency', '0.20'
3
+ jar 'org.kill-bill.billing.plugin:killbill-plugin-api-invoice', '0.20'
4
+ jar 'org.kill-bill.billing.plugin:killbill-plugin-api-notification', '0.20'
5
+ jar 'org.kill-bill.billing.plugin:killbill-plugin-api-payment', '0.20'
6
+ jar 'org.kill-bill.billing.plugin:killbill-plugin-api-control', '0.20'
7
+ jar 'org.kill-bill.billing.plugin:killbill-plugin-api-catalog', '0.20'
8
+ jar 'org.kill-bill.billing.plugin:killbill-plugin-api-entitlement', '0.20'
9
+ jar 'org.kill-bill.billing:killbill-util:tests', '0.17.1'
10
+ jar 'org.kill-bill.billing:killbill-util', '0.17.1'
11
11
  jar 'org.mockito:mockito-all', '1.10.19'
12
12
  jar 'javax.servlet:javax.servlet-api', '3.1.0'
@@ -1,64 +1,64 @@
1
1
  ---
2
2
  :runtime:
3
- - org.kill-bill.billing:killbill-platform-base:jar:0.27
3
+ - org.kill-bill.commons:killbill-concurrent:jar:0.18
4
+ - org.kill-bill.billing.plugin:killbill-plugin-api-notification:jar:0.20
4
5
  - org.javassist:javassist:jar:3.19.0-GA
5
6
  - org.apache.shiro:shiro-core:jar:1.2.3
6
7
  - joda-time:joda-time:jar:2.3
7
- - org.kill-bill.billing.plugin:killbill-plugin-api-control:jar:0.19
8
8
  - net.sf.ehcache:ehcache:jar:2.9.1
9
9
  - aopalliance:aopalliance:jar:1.0
10
+ - org.kill-bill.billing.plugin:killbill-plugin-api-payment:jar:0.20
10
11
  - com.google.code.findbugs:annotations:jar:3.0.0
11
12
  - org.osgi:org.osgi.core:jar:5.0.0
12
- - org.kill-bill.billing.plugin:killbill-plugin-api-currency:jar:0.19
13
+ - org.kill-bill.billing:killbill-platform-api:jar:0.30
13
14
  - com.zaxxer:HikariCP-java6:jar:2.3.7
14
15
  - org.apache.shiro:shiro-guice:jar:1.2.3
15
- - org.kill-bill.billing.plugin:killbill-plugin-api-catalog:jar:0.19
16
+ - org.kill-bill.billing:killbill-util:jar:tests:0.17.1
16
17
  - org.apache.commons:commons-email:jar:1.2
18
+ - org.kill-bill.billing:killbill-platform-base:jar:0.30
17
19
  - org.skife.config:config-magic:jar:0.14
18
20
  - antlr:antlr:jar:2.7.7
19
- - org.kill-bill.billing:killbill-platform-api:jar:0.27
21
+ - org.kill-bill.billing:killbill-util:jar:0.17.1
20
22
  - org.antlr:stringtemplate:jar:3.2.1
21
23
  - org.apache.shiro:shiro-ehcache:jar:1.2.3
22
24
  - org.joda:joda-money:jar:0.9
23
25
  - org.jdbi:jdbi:jar:2.62
24
26
  - com.fasterxml.jackson.core:jackson-annotations:jar:2.4.3
27
+ - org.kill-bill.billing:killbill-internal-api:jar:0.17.1
28
+ - org.kill-bill.billing.plugin:killbill-plugin-api-invoice:jar:0.20
29
+ - org.kill-bill.billing:killbill-platform-osgi-api:jar:0.30
25
30
  - com.fasterxml.jackson.dataformat:jackson-dataformat-csv:jar:2.4.3
26
31
  - com.google.inject:guice:jar:3.0
27
32
  - com.fasterxml.jackson.core:jackson-databind:jar:2.4.3
28
- - org.kill-bill.billing.plugin:killbill-plugin-api-entitlement:jar:0.19
29
33
  - org.apache.felix:org.apache.felix.framework:jar:4.4.1
30
- - org.kill-bill.billing:killbill-api:jar:0.34
31
34
  - com.samskivert:jmustache:jar:1.5
32
- - org.kill-bill.commons:killbill-queue:jar:0.16
33
35
  - com.h2database:h2:jar:1.4.186
34
- - org.kill-bill.commons:killbill-jdbi:jar:0.16
35
- - org.kill-bill.billing:killbill-platform-osgi-api:jar:0.27
36
+ - org.kill-bill.billing.plugin:killbill-plugin-api-control:jar:0.20
36
37
  - org.slf4j:jcl-over-slf4j:jar:1.7.21
37
38
  - org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4:jar:1.16
38
- - org.kill-bill.commons:killbill-embeddeddb-common:jar:0.16
39
- - org.kill-bill.billing:killbill-util:jar:0.17.0
39
+ - org.kill-bill.commons:killbill-clock:jar:0.18
40
40
  - com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.4.3
41
- - org.kill-bill.billing:killbill-internal-api:jar:0.17.0
42
- - org.kill-bill.commons:killbill-concurrent:jar:0.16
41
+ - org.kill-bill.billing.plugin:killbill-plugin-api-catalog:jar:0.20
42
+ - org.kill-bill.billing:killbill-api:jar:0.38
43
43
  - com.fasterxml.jackson.core:jackson-core:jar:2.4.3
44
44
  - com.google.guava:guava:jar:r09
45
45
  - javax.mail:mail:jar:1.4.1
46
- - org.kill-bill.billing.plugin:killbill-plugin-api-notification:jar:0.19
47
46
  - javax.activation:activation:jar:1.1
48
- - org.kill-bill.commons:killbill-xmlloader:jar:0.16
47
+ - org.kill-bill.commons:killbill-locker:jar:0.18
49
48
  - io.dropwizard.metrics:metrics-core:jar:3.1.1
50
- - org.kill-bill.billing:killbill-platform-osgi:jar:0.27
51
- - org.kill-bill.commons:killbill-clock:jar:0.16
52
49
  - org.weakref:jmxutils:jar:1.18
53
50
  - com.google.inject.extensions:guice-multibindings:jar:3.0
54
51
  - javax.inject:javax.inject:jar:1
55
52
  - org.slf4j:slf4j-api:jar:1.7.21
56
53
  - commons-beanutils:commons-beanutils:jar:1.8.3
57
54
  - javax.servlet:javax.servlet-api:jar:3.1.0
55
+ - org.kill-bill.billing:killbill-platform-osgi:jar:0.30
58
56
  - io.dropwizard.metrics:metrics-ehcache:jar:3.1.1
59
- - org.kill-bill.commons:killbill-locker:jar:0.16
60
- - org.kill-bill.billing.plugin:killbill-plugin-api-invoice:jar:0.19
61
- - org.kill-bill.billing:killbill-util:jar:tests:0.17.0
57
+ - org.kill-bill.commons:killbill-xmlloader:jar:0.18
58
+ - org.kill-bill.commons:killbill-embeddeddb-common:jar:0.18
59
+ - org.kill-bill.commons:killbill-jdbi:jar:0.18
62
60
  - org.mockito:mockito-all:jar:1.10.19
63
- - org.kill-bill.billing.plugin:killbill-plugin-api-payment:jar:0.19
61
+ - org.kill-bill.billing.plugin:killbill-plugin-api-currency:jar:0.20
62
+ - org.kill-bill.billing.plugin:killbill-plugin-api-entitlement:jar:0.20
63
+ - org.kill-bill.commons:killbill-queue:jar:0.18
64
64
  - org.osgi:org.osgi.compendium:jar:5.0.0
data/NEWS CHANGED
@@ -1,3 +1,9 @@
1
+ 8.0.1
2
+ Fix ActiveRecord dependency issues
3
+
4
+ 8.0.0
5
+ Initial release for Kill Bill 0.17.x
6
+
1
7
  7.0.5
2
8
  Fix regression when loading Rake tasks
3
9
 
data/README.md CHANGED
@@ -5,11 +5,10 @@
5
5
  Kill Bill compatibility
6
6
  -----------------------
7
7
 
8
- | Plugin Framework version | Kill Bill version |
9
- | -----------------------: | ----------------: |
10
- | 7.x.y | 0.16.z |
11
- | -----------------------: | ----------------: |
12
- | 8.x.y | 0.18.z(and 0.17.x)|
8
+ | Plugin Framework version | Kill Bill version |
9
+ | -----------------------: | ----------------: |
10
+ | 7.x.y | 0.16.z |
11
+ | 8.x.y | 0.18.z (and 0.17.x)|
13
12
 
14
13
 
15
14
 
@@ -34,7 +34,7 @@ module Killbill
34
34
 
35
35
  include org.killbill.billing.account.api.Account
36
36
 
37
- attr_accessor :id, :created_date, :updated_date, :external_key, :currency, :time_zone, :fixed_offset_time_zone, :reference_time, :name, :first_name_length, :email, :bill_cycle_day_local, :payment_method_id, :locale, :address1, :address2, :company_name, :city, :state_or_province, :postal_code, :country, :phone, :is_migrated, :is_notified_for_invoices
37
+ attr_accessor :id, :created_date, :updated_date, :external_key, :currency, :time_zone, :parent_account_id, :is_payment_delegated_to_parent, :fixed_offset_time_zone, :reference_time, :name, :first_name_length, :email, :bill_cycle_day_local, :payment_method_id, :locale, :address1, :address2, :company_name, :city, :state_or_province, :postal_code, :country, :phone, :is_migrated, :is_notified_for_invoices
38
38
 
39
39
  def initialize()
40
40
  end
@@ -66,6 +66,12 @@ module Killbill
66
66
  @time_zone = Java::org.joda.time.DateTimeZone.forID((@time_zone.respond_to?(:identifier) ? @time_zone.identifier : @time_zone.to_s))
67
67
  end
68
68
 
69
+ # conversion for parent_account_id [type = java.util.UUID]
70
+ @parent_account_id = java.util.UUID.fromString(@parent_account_id.to_s) unless @parent_account_id.nil?
71
+
72
+ # conversion for is_payment_delegated_to_parent [type = java.lang.Boolean]
73
+ @is_payment_delegated_to_parent = @is_payment_delegated_to_parent.nil? ? java.lang.Boolean.new(false) : java.lang.Boolean.new(@is_payment_delegated_to_parent)
74
+
69
75
  # conversion for fixed_offset_time_zone [type = org.joda.time.DateTimeZone]
70
76
  if !@fixed_offset_time_zone.nil?
71
77
  @fixed_offset_time_zone = Java::org.joda.time.DateTimeZone.forID((@fixed_offset_time_zone.respond_to?(:identifier) ? @fixed_offset_time_zone.identifier : @fixed_offset_time_zone.to_s))
@@ -161,6 +167,19 @@ module Killbill
161
167
  @time_zone = TZInfo::Timezone.get(@time_zone.get_id)
162
168
  end
163
169
 
170
+ # conversion for parent_account_id [type = java.util.UUID]
171
+ @parent_account_id = j_obj.parent_account_id
172
+ @parent_account_id = @parent_account_id.nil? ? nil : @parent_account_id.to_s
173
+
174
+ # conversion for is_payment_delegated_to_parent [type = java.lang.Boolean]
175
+ @is_payment_delegated_to_parent = j_obj.is_payment_delegated_to_parent
176
+ if @is_payment_delegated_to_parent.nil?
177
+ @is_payment_delegated_to_parent = false
178
+ else
179
+ tmp_bool = (@is_payment_delegated_to_parent.java_kind_of? java.lang.Boolean) ? @is_payment_delegated_to_parent.boolean_value : @is_payment_delegated_to_parent
180
+ @is_payment_delegated_to_parent = tmp_bool ? true : false
181
+ end
182
+
164
183
  # conversion for fixed_offset_time_zone [type = org.joda.time.DateTimeZone]
165
184
  @fixed_offset_time_zone = j_obj.fixed_offset_time_zone
166
185
  if !@fixed_offset_time_zone.nil?
@@ -34,7 +34,7 @@ module Killbill
34
34
 
35
35
  include org.killbill.billing.account.api.AccountData
36
36
 
37
- attr_accessor :external_key, :name, :first_name_length, :email, :bill_cycle_day_local, :currency, :payment_method_id, :time_zone, :locale, :address1, :address2, :company_name, :city, :state_or_province, :postal_code, :country, :phone, :is_migrated, :is_notified_for_invoices
37
+ attr_accessor :external_key, :name, :first_name_length, :email, :bill_cycle_day_local, :currency, :payment_method_id, :time_zone, :locale, :address1, :address2, :company_name, :city, :state_or_province, :postal_code, :country, :phone, :is_migrated, :is_notified_for_invoices, :parent_account_id, :is_payment_delegated_to_parent
38
38
 
39
39
  def initialize()
40
40
  end
@@ -98,6 +98,12 @@ module Killbill
98
98
 
99
99
  # conversion for is_notified_for_invoices [type = java.lang.Boolean]
100
100
  @is_notified_for_invoices = @is_notified_for_invoices.nil? ? java.lang.Boolean.new(false) : java.lang.Boolean.new(@is_notified_for_invoices)
101
+
102
+ # conversion for parent_account_id [type = java.util.UUID]
103
+ @parent_account_id = java.util.UUID.fromString(@parent_account_id.to_s) unless @parent_account_id.nil?
104
+
105
+ # conversion for is_payment_delegated_to_parent [type = java.lang.Boolean]
106
+ @is_payment_delegated_to_parent = @is_payment_delegated_to_parent.nil? ? java.lang.Boolean.new(false) : java.lang.Boolean.new(@is_payment_delegated_to_parent)
101
107
  self
102
108
  end
103
109
 
@@ -175,6 +181,19 @@ module Killbill
175
181
  tmp_bool = (@is_notified_for_invoices.java_kind_of? java.lang.Boolean) ? @is_notified_for_invoices.boolean_value : @is_notified_for_invoices
176
182
  @is_notified_for_invoices = tmp_bool ? true : false
177
183
  end
184
+
185
+ # conversion for parent_account_id [type = java.util.UUID]
186
+ @parent_account_id = j_obj.parent_account_id
187
+ @parent_account_id = @parent_account_id.nil? ? nil : @parent_account_id.to_s
188
+
189
+ # conversion for is_payment_delegated_to_parent [type = java.lang.Boolean]
190
+ @is_payment_delegated_to_parent = j_obj.is_payment_delegated_to_parent
191
+ if @is_payment_delegated_to_parent.nil?
192
+ @is_payment_delegated_to_parent = false
193
+ else
194
+ tmp_bool = (@is_payment_delegated_to_parent.java_kind_of? java.lang.Boolean) ? @is_payment_delegated_to_parent.boolean_value : @is_payment_delegated_to_parent
195
+ @is_payment_delegated_to_parent = tmp_bool ? true : false
196
+ end
178
197
  self
179
198
  end
180
199
 
@@ -206,6 +206,30 @@ module Killbill
206
206
  context = context.to_java unless context.nil?
207
207
  @real_java_api.remove_email(accountId, email, context)
208
208
  end
209
+
210
+ java_signature 'Java::java.util.List getChildrenAccounts(Java::java.util.UUID, Java::org.killbill.billing.util.callcontext.TenantContext)'
211
+ def get_children_accounts(parentAccountId, context)
212
+
213
+ # conversion for parentAccountId [type = java.util.UUID]
214
+ parentAccountId = java.util.UUID.fromString(parentAccountId.to_s) unless parentAccountId.nil?
215
+
216
+ # conversion for context [type = org.killbill.billing.util.callcontext.TenantContext]
217
+ context = context.to_java unless context.nil?
218
+ begin
219
+ res = @real_java_api.get_children_accounts(parentAccountId, context)
220
+ # conversion for res [type = java.util.List]
221
+ tmp = []
222
+ (res || []).each do |m|
223
+ # conversion for m [type = org.killbill.billing.account.api.Account]
224
+ m = Killbill::Plugin::Model::Account.new.to_ruby(m) unless m.nil?
225
+ tmp << m
226
+ end
227
+ res = tmp
228
+ return res
229
+ rescue Java::org.killbill.billing.account.api.AccountApiException => e
230
+ raise Killbill::Plugin::Model::AccountApiException.new.to_ruby(e)
231
+ end
232
+ end
209
233
  end
210
234
  end
211
235
  end
@@ -34,7 +34,7 @@ module Killbill
34
34
 
35
35
  include org.killbill.billing.account.api.ImmutableAccountData
36
36
 
37
- attr_accessor :id, :external_key, :currency, :time_zone, :fixed_offset_time_zone, :reference_time
37
+ attr_accessor :id, :external_key, :currency, :time_zone, :parent_account_id, :is_payment_delegated_to_parent, :fixed_offset_time_zone, :reference_time
38
38
 
39
39
  def initialize()
40
40
  end
@@ -54,6 +54,12 @@ module Killbill
54
54
  @time_zone = Java::org.joda.time.DateTimeZone.forID((@time_zone.respond_to?(:identifier) ? @time_zone.identifier : @time_zone.to_s))
55
55
  end
56
56
 
57
+ # conversion for parent_account_id [type = java.util.UUID]
58
+ @parent_account_id = java.util.UUID.fromString(@parent_account_id.to_s) unless @parent_account_id.nil?
59
+
60
+ # conversion for is_payment_delegated_to_parent [type = java.lang.Boolean]
61
+ @is_payment_delegated_to_parent = @is_payment_delegated_to_parent.nil? ? java.lang.Boolean.new(false) : java.lang.Boolean.new(@is_payment_delegated_to_parent)
62
+
57
63
  # conversion for fixed_offset_time_zone [type = org.joda.time.DateTimeZone]
58
64
  if !@fixed_offset_time_zone.nil?
59
65
  @fixed_offset_time_zone = Java::org.joda.time.DateTimeZone.forID((@fixed_offset_time_zone.respond_to?(:identifier) ? @fixed_offset_time_zone.identifier : @fixed_offset_time_zone.to_s))
@@ -85,6 +91,19 @@ module Killbill
85
91
  @time_zone = TZInfo::Timezone.get(@time_zone.get_id)
86
92
  end
87
93
 
94
+ # conversion for parent_account_id [type = java.util.UUID]
95
+ @parent_account_id = j_obj.parent_account_id
96
+ @parent_account_id = @parent_account_id.nil? ? nil : @parent_account_id.to_s
97
+
98
+ # conversion for is_payment_delegated_to_parent [type = java.lang.Boolean]
99
+ @is_payment_delegated_to_parent = j_obj.is_payment_delegated_to_parent
100
+ if @is_payment_delegated_to_parent.nil?
101
+ @is_payment_delegated_to_parent = false
102
+ else
103
+ tmp_bool = (@is_payment_delegated_to_parent.java_kind_of? java.lang.Boolean) ? @is_payment_delegated_to_parent.boolean_value : @is_payment_delegated_to_parent
104
+ @is_payment_delegated_to_parent = tmp_bool ? true : false
105
+ end
106
+
88
107
  # conversion for fixed_offset_time_zone [type = org.joda.time.DateTimeZone]
89
108
  @fixed_offset_time_zone = j_obj.fixed_offset_time_zone
90
109
  if !@fixed_offset_time_zone.nil?
@@ -34,7 +34,7 @@ module Killbill
34
34
 
35
35
  include org.killbill.billing.invoice.api.Invoice
36
36
 
37
- attr_accessor :id, :created_date, :updated_date, :invoice_items, :number_of_items, :payments, :number_of_payments, :account_id, :invoice_number, :invoice_date, :target_date, :currency, :paid_amount, :original_charged_amount, :charged_amount, :credited_amount, :refunded_amount, :balance, :is_migration_invoice
37
+ attr_accessor :id, :created_date, :updated_date, :invoice_items, :number_of_items, :payments, :number_of_payments, :account_id, :invoice_number, :invoice_date, :target_date, :currency, :paid_amount, :original_charged_amount, :charged_amount, :credited_amount, :refunded_amount, :balance, :is_migration_invoice, :status, :is_parent_invoice
38
38
 
39
39
  def initialize()
40
40
  end
@@ -142,6 +142,12 @@ module Killbill
142
142
 
143
143
  # conversion for is_migration_invoice [type = boolean]
144
144
  @is_migration_invoice = @is_migration_invoice.nil? ? java.lang.Boolean.new(false) : java.lang.Boolean.new(@is_migration_invoice)
145
+
146
+ # conversion for status [type = org.killbill.billing.invoice.api.InvoiceStatus]
147
+ @status = Java::org.killbill.billing.invoice.api.InvoiceStatus.value_of( @status.to_s ) unless @status.nil?
148
+
149
+ # conversion for is_parent_invoice [type = boolean]
150
+ @is_parent_invoice = @is_parent_invoice.nil? ? java.lang.Boolean.new(false) : java.lang.Boolean.new(@is_parent_invoice)
145
151
  self
146
152
  end
147
153
 
@@ -247,6 +253,19 @@ module Killbill
247
253
  tmp_bool = (@is_migration_invoice.java_kind_of? java.lang.Boolean) ? @is_migration_invoice.boolean_value : @is_migration_invoice
248
254
  @is_migration_invoice = tmp_bool ? true : false
249
255
  end
256
+
257
+ # conversion for status [type = org.killbill.billing.invoice.api.InvoiceStatus]
258
+ @status = j_obj.status
259
+ @status = @status.to_s.to_sym unless @status.nil?
260
+
261
+ # conversion for is_parent_invoice [type = boolean]
262
+ @is_parent_invoice = j_obj.is_parent_invoice
263
+ if @is_parent_invoice.nil?
264
+ @is_parent_invoice = false
265
+ else
266
+ tmp_bool = (@is_parent_invoice.java_kind_of? java.lang.Boolean) ? @is_parent_invoice.boolean_value : @is_parent_invoice
267
+ @is_parent_invoice = tmp_bool ? true : false
268
+ end
250
269
  self
251
270
  end
252
271
 
@@ -34,7 +34,7 @@ module Killbill
34
34
 
35
35
  include org.killbill.billing.invoice.api.formatters.InvoiceFormatter
36
36
 
37
- attr_accessor :invoice_items, :number_of_items, :payments, :number_of_payments, :account_id, :invoice_number, :invoice_date, :target_date, :currency, :paid_amount, :original_charged_amount, :charged_amount, :credited_amount, :refunded_amount, :balance, :is_migration_invoice, :id, :created_date, :updated_date, :formatted_invoice_date, :formatted_charged_amount, :formatted_paid_amount, :formatted_balance, :processed_currency, :processed_payment_rate
37
+ attr_accessor :invoice_items, :number_of_items, :payments, :number_of_payments, :account_id, :invoice_number, :invoice_date, :target_date, :currency, :paid_amount, :original_charged_amount, :charged_amount, :credited_amount, :refunded_amount, :balance, :is_migration_invoice, :status, :is_parent_invoice, :id, :created_date, :updated_date, :formatted_invoice_date, :formatted_charged_amount, :formatted_paid_amount, :formatted_balance, :processed_currency, :processed_payment_rate
38
38
 
39
39
  def initialize()
40
40
  end
@@ -128,6 +128,12 @@ module Killbill
128
128
  # conversion for is_migration_invoice [type = boolean]
129
129
  @is_migration_invoice = @is_migration_invoice.nil? ? java.lang.Boolean.new(false) : java.lang.Boolean.new(@is_migration_invoice)
130
130
 
131
+ # conversion for status [type = org.killbill.billing.invoice.api.InvoiceStatus]
132
+ @status = Java::org.killbill.billing.invoice.api.InvoiceStatus.value_of( @status.to_s ) unless @status.nil?
133
+
134
+ # conversion for is_parent_invoice [type = boolean]
135
+ @is_parent_invoice = @is_parent_invoice.nil? ? java.lang.Boolean.new(false) : java.lang.Boolean.new(@is_parent_invoice)
136
+
131
137
  # conversion for id [type = java.util.UUID]
132
138
  @id = java.util.UUID.fromString(@id.to_s) unless @id.nil?
133
139
 
@@ -246,6 +252,19 @@ module Killbill
246
252
  @is_migration_invoice = tmp_bool ? true : false
247
253
  end
248
254
 
255
+ # conversion for status [type = org.killbill.billing.invoice.api.InvoiceStatus]
256
+ @status = j_obj.status
257
+ @status = @status.to_s.to_sym unless @status.nil?
258
+
259
+ # conversion for is_parent_invoice [type = boolean]
260
+ @is_parent_invoice = j_obj.is_parent_invoice
261
+ if @is_parent_invoice.nil?
262
+ @is_parent_invoice = false
263
+ else
264
+ tmp_bool = (@is_parent_invoice.java_kind_of? java.lang.Boolean) ? @is_parent_invoice.boolean_value : @is_parent_invoice
265
+ @is_parent_invoice = tmp_bool ? true : false
266
+ end
267
+
249
268
  # conversion for id [type = java.util.UUID]
250
269
  @id = j_obj.id
251
270
  @id = @id.nil? ? nil : @id.to_s
@@ -34,7 +34,7 @@ module Killbill
34
34
 
35
35
  include org.killbill.billing.invoice.api.InvoiceItem
36
36
 
37
- attr_accessor :id, :created_date, :updated_date, :invoice_item_type, :invoice_id, :account_id, :start_date, :end_date, :amount, :currency, :description, :bundle_id, :subscription_id, :plan_name, :phase_name, :usage_name, :rate, :linked_item_id
37
+ attr_accessor :id, :created_date, :updated_date, :invoice_item_type, :invoice_id, :account_id, :child_account_id, :start_date, :end_date, :amount, :currency, :description, :bundle_id, :subscription_id, :plan_name, :phase_name, :usage_name, :rate, :linked_item_id
38
38
 
39
39
  def initialize()
40
40
  end
@@ -64,6 +64,9 @@ module Killbill
64
64
  # conversion for account_id [type = java.util.UUID]
65
65
  @account_id = java.util.UUID.fromString(@account_id.to_s) unless @account_id.nil?
66
66
 
67
+ # conversion for child_account_id [type = java.util.UUID]
68
+ @child_account_id = java.util.UUID.fromString(@child_account_id.to_s) unless @child_account_id.nil?
69
+
67
70
  # conversion for start_date [type = org.joda.time.LocalDate]
68
71
  if !@start_date.nil?
69
72
  @start_date = Java::org.joda.time.LocalDate.parse(@start_date.to_s)
@@ -147,6 +150,10 @@ module Killbill
147
150
  @account_id = j_obj.account_id
148
151
  @account_id = @account_id.nil? ? nil : @account_id.to_s
149
152
 
153
+ # conversion for child_account_id [type = java.util.UUID]
154
+ @child_account_id = j_obj.child_account_id
155
+ @child_account_id = @child_account_id.nil? ? nil : @child_account_id.to_s
156
+
150
157
  # conversion for start_date [type = org.joda.time.LocalDate]
151
158
  @start_date = j_obj.start_date
152
159
  if !@start_date.nil?
@@ -34,7 +34,7 @@ module Killbill
34
34
 
35
35
  include org.killbill.billing.invoice.api.formatters.InvoiceItemFormatter
36
36
 
37
- attr_accessor :invoice_item_type, :invoice_id, :account_id, :start_date, :end_date, :amount, :currency, :description, :bundle_id, :subscription_id, :plan_name, :phase_name, :usage_name, :rate, :linked_item_id, :id, :created_date, :updated_date, :formatted_start_date, :formatted_end_date, :formatted_amount
37
+ attr_accessor :invoice_item_type, :invoice_id, :account_id, :child_account_id, :start_date, :end_date, :amount, :currency, :description, :bundle_id, :subscription_id, :plan_name, :phase_name, :usage_name, :rate, :linked_item_id, :id, :created_date, :updated_date, :formatted_start_date, :formatted_end_date, :formatted_amount
38
38
 
39
39
  def initialize()
40
40
  end
@@ -49,6 +49,9 @@ module Killbill
49
49
  # conversion for account_id [type = java.util.UUID]
50
50
  @account_id = java.util.UUID.fromString(@account_id.to_s) unless @account_id.nil?
51
51
 
52
+ # conversion for child_account_id [type = java.util.UUID]
53
+ @child_account_id = java.util.UUID.fromString(@child_account_id.to_s) unless @child_account_id.nil?
54
+
52
55
  # conversion for start_date [type = org.joda.time.LocalDate]
53
56
  if !@start_date.nil?
54
57
  @start_date = Java::org.joda.time.LocalDate.parse(@start_date.to_s)
@@ -136,6 +139,10 @@ module Killbill
136
139
  @account_id = j_obj.account_id
137
140
  @account_id = @account_id.nil? ? nil : @account_id.to_s
138
141
 
142
+ # conversion for child_account_id [type = java.util.UUID]
143
+ @child_account_id = j_obj.child_account_id
144
+ @child_account_id = @child_account_id.nil? ? nil : @child_account_id.to_s
145
+
139
146
  # conversion for start_date [type = org.joda.time.LocalDate]
140
147
  @start_date = j_obj.start_date
141
148
  if !@start_date.nil?
@@ -0,0 +1,107 @@
1
+ #############################################################################################
2
+ # #
3
+ # Copyright 2010-2013 Ning, Inc. #
4
+ # Copyright 2014 Groupon, Inc. #
5
+ # Copyright 2014 The Billing Project, LLC #
6
+ # #
7
+ # The Billing Project licenses this file to you under the Apache License, version 2.0 #
8
+ # (the "License"); you may not use this file except in compliance with the #
9
+ # License. You may obtain a copy of the License at: #
10
+ # #
11
+ # http://www.apache.org/licenses/LICENSE-2.0 #
12
+ # #
13
+ # Unless required by applicable law or agreed to in writing, software #
14
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
15
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the #
16
+ # License for the specific language governing permissions and limitations #
17
+ # under the License. #
18
+ # #
19
+ #############################################################################################
20
+
21
+
22
+ #
23
+ # DO NOT EDIT!!!
24
+ # File automatically generated by killbill-java-parser (git@github.com:killbill/killbill-java-parser.git)
25
+ #
26
+
27
+
28
+ module Killbill
29
+ module Plugin
30
+ module Model
31
+
32
+ java_package 'org.killbill.billing.invoice.api'
33
+ class InvoiceParentChild
34
+
35
+ include org.killbill.billing.invoice.api.InvoiceParentChild
36
+
37
+ attr_accessor :id, :created_date, :updated_date, :parent_invoice_id, :child_invoice_id, :child_account_id
38
+
39
+ def initialize()
40
+ end
41
+
42
+ def to_java()
43
+ # conversion for id [type = java.util.UUID]
44
+ @id = java.util.UUID.fromString(@id.to_s) unless @id.nil?
45
+
46
+ # conversion for created_date [type = org.joda.time.DateTime]
47
+ if !@created_date.nil?
48
+ @created_date = (@created_date.kind_of? Time) ? DateTime.parse(@created_date.to_s) : @created_date
49
+ @created_date = Java::org.joda.time.DateTime.new(@created_date.to_s, Java::org.joda.time.DateTimeZone::UTC)
50
+ end
51
+
52
+ # conversion for updated_date [type = org.joda.time.DateTime]
53
+ if !@updated_date.nil?
54
+ @updated_date = (@updated_date.kind_of? Time) ? DateTime.parse(@updated_date.to_s) : @updated_date
55
+ @updated_date = Java::org.joda.time.DateTime.new(@updated_date.to_s, Java::org.joda.time.DateTimeZone::UTC)
56
+ end
57
+
58
+ # conversion for parent_invoice_id [type = java.util.UUID]
59
+ @parent_invoice_id = java.util.UUID.fromString(@parent_invoice_id.to_s) unless @parent_invoice_id.nil?
60
+
61
+ # conversion for child_invoice_id [type = java.util.UUID]
62
+ @child_invoice_id = java.util.UUID.fromString(@child_invoice_id.to_s) unless @child_invoice_id.nil?
63
+
64
+ # conversion for child_account_id [type = java.util.UUID]
65
+ @child_account_id = java.util.UUID.fromString(@child_account_id.to_s) unless @child_account_id.nil?
66
+ self
67
+ end
68
+
69
+ def to_ruby(j_obj)
70
+ # conversion for id [type = java.util.UUID]
71
+ @id = j_obj.id
72
+ @id = @id.nil? ? nil : @id.to_s
73
+
74
+ # conversion for created_date [type = org.joda.time.DateTime]
75
+ @created_date = j_obj.created_date
76
+ if !@created_date.nil?
77
+ fmt = Java::org.joda.time.format.ISODateTimeFormat.date_time_no_millis # See https://github.com/killbill/killbill-java-parser/issues/3
78
+ str = fmt.print(@created_date)
79
+ @created_date = DateTime.iso8601(str)
80
+ end
81
+
82
+ # conversion for updated_date [type = org.joda.time.DateTime]
83
+ @updated_date = j_obj.updated_date
84
+ if !@updated_date.nil?
85
+ fmt = Java::org.joda.time.format.ISODateTimeFormat.date_time_no_millis # See https://github.com/killbill/killbill-java-parser/issues/3
86
+ str = fmt.print(@updated_date)
87
+ @updated_date = DateTime.iso8601(str)
88
+ end
89
+
90
+ # conversion for parent_invoice_id [type = java.util.UUID]
91
+ @parent_invoice_id = j_obj.parent_invoice_id
92
+ @parent_invoice_id = @parent_invoice_id.nil? ? nil : @parent_invoice_id.to_s
93
+
94
+ # conversion for child_invoice_id [type = java.util.UUID]
95
+ @child_invoice_id = j_obj.child_invoice_id
96
+ @child_invoice_id = @child_invoice_id.nil? ? nil : @child_invoice_id.to_s
97
+
98
+ # conversion for child_account_id [type = java.util.UUID]
99
+ @child_account_id = j_obj.child_account_id
100
+ @child_account_id = @child_account_id.nil? ? nil : @child_account_id.to_s
101
+ self
102
+ end
103
+
104
+ end
105
+ end
106
+ end
107
+ end
@@ -272,8 +272,8 @@ module Killbill
272
272
  end
273
273
  end
274
274
 
275
- java_signature 'Java::java.util.List insertExternalCharges(Java::java.util.UUID, Java::org.joda.time.LocalDate, Java::java.lang.Iterable, Java::org.killbill.billing.util.callcontext.CallContext)'
276
- def insert_external_charges(accountId, effectiveDate, charges, context)
275
+ java_signature 'Java::java.util.List insertExternalCharges(Java::java.util.UUID, Java::org.joda.time.LocalDate, Java::java.lang.Iterable, Java::boolean, Java::org.killbill.billing.util.callcontext.CallContext)'
276
+ def insert_external_charges(accountId, effectiveDate, charges, autoCommit, context)
277
277
 
278
278
  # conversion for accountId [type = java.util.UUID]
279
279
  accountId = java.util.UUID.fromString(accountId.to_s) unless accountId.nil?
@@ -292,10 +292,13 @@ module Killbill
292
292
  end
293
293
  charges = tmp
294
294
 
295
+ # conversion for autoCommit [type = boolean]
296
+ autoCommit = autoCommit.nil? ? java.lang.Boolean.new(false) : java.lang.Boolean.new(autoCommit)
297
+
295
298
  # conversion for context [type = org.killbill.billing.util.callcontext.CallContext]
296
299
  context = context.to_java unless context.nil?
297
300
  begin
298
- res = @real_java_api.insert_external_charges(accountId, effectiveDate, charges, context)
301
+ res = @real_java_api.insert_external_charges(accountId, effectiveDate, charges, autoCommit, context)
299
302
  # conversion for res [type = java.util.List]
300
303
  tmp = []
301
304
  (res || []).each do |m|
@@ -328,8 +331,8 @@ module Killbill
328
331
  end
329
332
  end
330
333
 
331
- java_signature 'Java::org.killbill.billing.invoice.api.InvoiceItem insertCredit(Java::java.util.UUID, Java::java.math.BigDecimal, Java::org.joda.time.LocalDate, Java::org.killbill.billing.catalog.api.Currency, Java::java.lang.String, Java::org.killbill.billing.util.callcontext.CallContext)'
332
- def insert_credit(accountId, amount, effectiveDate, currency, description, context)
334
+ java_signature 'Java::org.killbill.billing.invoice.api.InvoiceItem insertCredit(Java::java.util.UUID, Java::java.math.BigDecimal, Java::org.joda.time.LocalDate, Java::org.killbill.billing.catalog.api.Currency, Java::boolean, Java::java.lang.String, Java::org.killbill.billing.util.callcontext.CallContext)'
335
+ def insert_credit(accountId, amount, effectiveDate, currency, autoCommit, description, context)
333
336
 
334
337
  # conversion for accountId [type = java.util.UUID]
335
338
  accountId = java.util.UUID.fromString(accountId.to_s) unless accountId.nil?
@@ -349,13 +352,16 @@ module Killbill
349
352
  # conversion for currency [type = org.killbill.billing.catalog.api.Currency]
350
353
  currency = Java::org.killbill.billing.catalog.api.Currency.value_of( currency.to_s ) unless currency.nil?
351
354
 
355
+ # conversion for autoCommit [type = boolean]
356
+ autoCommit = autoCommit.nil? ? java.lang.Boolean.new(false) : java.lang.Boolean.new(autoCommit)
357
+
352
358
  # conversion for description [type = java.lang.String]
353
359
  description = description.to_s unless description.nil?
354
360
 
355
361
  # conversion for context [type = org.killbill.billing.util.callcontext.CallContext]
356
362
  context = context.to_java unless context.nil?
357
363
  begin
358
- res = @real_java_api.insert_credit(accountId, amount, effectiveDate, currency, description, context)
364
+ res = @real_java_api.insert_credit(accountId, amount, effectiveDate, currency, autoCommit, description, context)
359
365
  # conversion for res [type = org.killbill.billing.invoice.api.InvoiceItem]
360
366
  res = Killbill::Plugin::Model::InvoiceItem.new.to_ruby(res) unless res.nil?
361
367
  return res
@@ -484,6 +490,17 @@ module Killbill
484
490
  @real_java_api.consume_exsting_cba_onaccount_with_unpaid_invoices(accountId, context)
485
491
  end
486
492
 
493
+ java_signature 'Java::void commitInvoice(Java::java.util.UUID, Java::org.killbill.billing.util.callcontext.CallContext)'
494
+ def commit_invoice(invoiceId, context)
495
+
496
+ # conversion for invoiceId [type = java.util.UUID]
497
+ invoiceId = java.util.UUID.fromString(invoiceId.to_s) unless invoiceId.nil?
498
+
499
+ # conversion for context [type = org.killbill.billing.util.callcontext.CallContext]
500
+ context = context.to_java unless context.nil?
501
+ @real_java_api.commit_invoice(invoiceId, context)
502
+ end
503
+
487
504
  java_signature 'Java::java.util.UUID createMigrationInvoice(Java::java.util.UUID, Java::org.joda.time.LocalDate, Java::java.lang.Iterable, Java::org.killbill.billing.util.callcontext.CallContext)'
488
505
  def create_migration_invoice(accountId, invoiceDate, items, context)
489
506
 
@@ -511,6 +528,17 @@ module Killbill
511
528
  res = res.nil? ? nil : res.to_s
512
529
  return res
513
530
  end
531
+
532
+ java_signature 'Java::void transferChildCreditToParent(Java::java.util.UUID, Java::org.killbill.billing.util.callcontext.CallContext)'
533
+ def transfer_child_credit_to_parent(childAccountId, context)
534
+
535
+ # conversion for childAccountId [type = java.util.UUID]
536
+ childAccountId = java.util.UUID.fromString(childAccountId.to_s) unless childAccountId.nil?
537
+
538
+ # conversion for context [type = org.killbill.billing.util.callcontext.CallContext]
539
+ context = context.to_java unless context.nil?
540
+ @real_java_api.transfer_child_credit_to_parent(childAccountId, context)
541
+ end
514
542
  end
515
543
  end
516
544
  end
@@ -34,7 +34,7 @@ module Killbill
34
34
 
35
35
  include org.killbill.billing.catalog.api.MigrationPlan
36
36
 
37
- attr_accessor :initial_phases, :product, :price_list, :name, :initial_phase_iterator, :final_phase, :recurring_billing_period, :plans_allowed_in_bundle, :all_phases, :effective_date_for_existing_subscriptions
37
+ attr_accessor :initial_phases, :product, :price_list_name, :name, :initial_phase_iterator, :final_phase, :recurring_billing_period, :plans_allowed_in_bundle, :all_phases, :effective_date_for_existing_subscriptions
38
38
 
39
39
  def initialize()
40
40
  end
@@ -52,8 +52,8 @@ module Killbill
52
52
  # conversion for product [type = org.killbill.billing.catalog.api.Product]
53
53
  @product = @product.to_java unless @product.nil?
54
54
 
55
- # conversion for price_list [type = org.killbill.billing.catalog.api.PriceList]
56
- @price_list = @price_list.to_java unless @price_list.nil?
55
+ # conversion for price_list_name [type = java.lang.String]
56
+ @price_list_name = @price_list_name.to_s unless @price_list_name.nil?
57
57
 
58
58
  # conversion for name [type = java.lang.String]
59
59
  @name = @name.to_s unless @name.nil?
@@ -103,9 +103,8 @@ module Killbill
103
103
  @product = j_obj.product
104
104
  @product = Killbill::Plugin::Model::Product.new.to_ruby(@product) unless @product.nil?
105
105
 
106
- # conversion for price_list [type = org.killbill.billing.catalog.api.PriceList]
107
- @price_list = j_obj.price_list
108
- @price_list = Killbill::Plugin::Model::PriceList.new.to_ruby(@price_list) unless @price_list.nil?
106
+ # conversion for price_list_name [type = java.lang.String]
107
+ @price_list_name = j_obj.price_list_name
109
108
 
110
109
  # conversion for name [type = java.lang.String]
111
110
  @name = j_obj.name
@@ -34,7 +34,7 @@ module Killbill
34
34
 
35
35
  include org.killbill.billing.account.api.MutableAccountData
36
36
 
37
- attr_accessor :external_key, :name, :first_name_length, :email, :bill_cycle_day_local, :currency, :payment_method_id, :time_zone, :locale, :address1, :address2, :company_name, :city, :state_or_province, :postal_code, :country, :phone, :is_migrated, :is_notified_for_invoices
37
+ attr_accessor :external_key, :name, :first_name_length, :email, :bill_cycle_day_local, :currency, :payment_method_id, :time_zone, :locale, :address1, :address2, :company_name, :city, :state_or_province, :postal_code, :country, :phone, :is_migrated, :is_notified_for_invoices, :parent_account_id, :is_payment_delegated_to_parent
38
38
 
39
39
  def initialize()
40
40
  end
@@ -98,6 +98,12 @@ module Killbill
98
98
 
99
99
  # conversion for is_notified_for_invoices [type = java.lang.Boolean]
100
100
  @is_notified_for_invoices = @is_notified_for_invoices.nil? ? java.lang.Boolean.new(false) : java.lang.Boolean.new(@is_notified_for_invoices)
101
+
102
+ # conversion for parent_account_id [type = java.util.UUID]
103
+ @parent_account_id = java.util.UUID.fromString(@parent_account_id.to_s) unless @parent_account_id.nil?
104
+
105
+ # conversion for is_payment_delegated_to_parent [type = java.lang.Boolean]
106
+ @is_payment_delegated_to_parent = @is_payment_delegated_to_parent.nil? ? java.lang.Boolean.new(false) : java.lang.Boolean.new(@is_payment_delegated_to_parent)
101
107
  self
102
108
  end
103
109
 
@@ -175,6 +181,19 @@ module Killbill
175
181
  tmp_bool = (@is_notified_for_invoices.java_kind_of? java.lang.Boolean) ? @is_notified_for_invoices.boolean_value : @is_notified_for_invoices
176
182
  @is_notified_for_invoices = tmp_bool ? true : false
177
183
  end
184
+
185
+ # conversion for parent_account_id [type = java.util.UUID]
186
+ @parent_account_id = j_obj.parent_account_id
187
+ @parent_account_id = @parent_account_id.nil? ? nil : @parent_account_id.to_s
188
+
189
+ # conversion for is_payment_delegated_to_parent [type = java.lang.Boolean]
190
+ @is_payment_delegated_to_parent = j_obj.is_payment_delegated_to_parent
191
+ if @is_payment_delegated_to_parent.nil?
192
+ @is_payment_delegated_to_parent = false
193
+ else
194
+ tmp_bool = (@is_payment_delegated_to_parent.java_kind_of? java.lang.Boolean) ? @is_payment_delegated_to_parent.boolean_value : @is_payment_delegated_to_parent
195
+ @is_payment_delegated_to_parent = tmp_bool ? true : false
196
+ end
178
197
  self
179
198
  end
180
199
 
@@ -34,7 +34,7 @@ module Killbill
34
34
 
35
35
  include org.killbill.billing.catalog.api.Plan
36
36
 
37
- attr_accessor :initial_phases, :product, :price_list, :name, :initial_phase_iterator, :final_phase, :recurring_billing_period, :plans_allowed_in_bundle, :all_phases, :effective_date_for_existing_subscriptions
37
+ attr_accessor :initial_phases, :product, :price_list_name, :name, :initial_phase_iterator, :final_phase, :recurring_billing_period, :plans_allowed_in_bundle, :all_phases, :effective_date_for_existing_subscriptions
38
38
 
39
39
  def initialize()
40
40
  end
@@ -52,8 +52,8 @@ module Killbill
52
52
  # conversion for product [type = org.killbill.billing.catalog.api.Product]
53
53
  @product = @product.to_java unless @product.nil?
54
54
 
55
- # conversion for price_list [type = org.killbill.billing.catalog.api.PriceList]
56
- @price_list = @price_list.to_java unless @price_list.nil?
55
+ # conversion for price_list_name [type = java.lang.String]
56
+ @price_list_name = @price_list_name.to_s unless @price_list_name.nil?
57
57
 
58
58
  # conversion for name [type = java.lang.String]
59
59
  @name = @name.to_s unless @name.nil?
@@ -103,9 +103,8 @@ module Killbill
103
103
  @product = j_obj.product
104
104
  @product = Killbill::Plugin::Model::Product.new.to_ruby(@product) unless @product.nil?
105
105
 
106
- # conversion for price_list [type = org.killbill.billing.catalog.api.PriceList]
107
- @price_list = j_obj.price_list
108
- @price_list = Killbill::Plugin::Model::PriceList.new.to_ruby(@price_list) unless @price_list.nil?
106
+ # conversion for price_list_name [type = java.lang.String]
107
+ @price_list_name = j_obj.price_list_name
109
108
 
110
109
  # conversion for name [type = java.lang.String]
111
110
  @name = j_obj.name
@@ -98,6 +98,7 @@ require 'killbill/gen/api/invoice'
98
98
  require 'killbill/gen/api/invoice_api_exception'
99
99
  require 'killbill/gen/api/invoice_creation_event'
100
100
  require 'killbill/gen/api/invoice_item'
101
+ require 'killbill/gen/api/invoice_parent_child'
101
102
  require 'killbill/gen/api/invoice_payment'
102
103
  require 'killbill/gen/api/invoice_payment_api'
103
104
  require 'killbill/gen/api/invoice_user_api'
@@ -1,3 +1,3 @@
1
1
  module Killbill
2
- VERSION = '8.0.1'
2
+ VERSION = '8.1.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: killbill
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.0.1
4
+ version: 8.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kill Bill core team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-17 00:00:00.000000000 Z
11
+ date: 2016-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -412,6 +412,7 @@ files:
412
412
  - lib/killbill/gen/api/invoice_formatter.rb
413
413
  - lib/killbill/gen/api/invoice_item.rb
414
414
  - lib/killbill/gen/api/invoice_item_formatter.rb
415
+ - lib/killbill/gen/api/invoice_parent_child.rb
415
416
  - lib/killbill/gen/api/invoice_payment.rb
416
417
  - lib/killbill/gen/api/invoice_payment_api.rb
417
418
  - lib/killbill/gen/api/invoice_user_api.rb