killbill 9.2.0 → 9.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/Jarfile +3 -3
- data/Jarfile.lock +16 -16
- data/NEWS +3 -0
- data/lib/killbill/gen/api/invoice_item.rb +13 -1
- data/lib/killbill/gen/api/invoice_item_formatter.rb +13 -1
- data/lib/killbill/gen/api/invoice_user_api.rb +35 -12
- data/lib/killbill/helpers/active_merchant/killbill_spec_helper.rb +1 -1
- data/lib/killbill/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4687364a701565146d3b166c0d52e7409bb78bf5
|
4
|
+
data.tar.gz: 7e188584ee75971ac8624c13b1994df080aa22cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fc0e8aa9a7474513e8efdca22f56b6644815538b557961dfbfc2d9c65e83550067aeb002d3235fa191aa73452643e525cb80cc739c2728da8b85a997fbad06e
|
7
|
+
data.tar.gz: 046e127a84ffd444bc4f5734b9fead68ffd855bc65c3b30e3f9f6e46f0b123687585c04fcec85ca8f4b440bfdbb0391721a684a1fa16d0fde1e3602491779f15
|
data/Gemfile.lock
CHANGED
data/Jarfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
jar 'org.kill-bill.billing:killbill-api', '0.51.
|
1
|
+
jar 'org.kill-bill.billing:killbill-api', '0.51.12'
|
2
2
|
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-currency', '0.24.4'
|
3
3
|
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-invoice', '0.24.4'
|
4
4
|
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-notification', '0.24.4'
|
@@ -6,7 +6,7 @@ jar 'org.kill-bill.billing.plugin:killbill-plugin-api-payment', '0.24.4'
|
|
6
6
|
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-control', '0.24.4'
|
7
7
|
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-catalog', '0.24.4'
|
8
8
|
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-entitlement', '0.24.4'
|
9
|
-
jar 'org.kill-bill.billing:killbill-util:tests', '0.19.
|
10
|
-
jar 'org.kill-bill.billing:killbill-util', '0.19.
|
9
|
+
jar 'org.kill-bill.billing:killbill-util:tests', '0.19.5'
|
10
|
+
jar 'org.kill-bill.billing:killbill-util', '0.19.5'
|
11
11
|
jar 'org.mockito:mockito-all', '1.10.19'
|
12
12
|
jar 'javax.servlet:javax.servlet-api', '4.0.0'
|
data/Jarfile.lock
CHANGED
@@ -1,20 +1,19 @@
|
|
1
1
|
---
|
2
2
|
:runtime:
|
3
3
|
- com.zaxxer:HikariCP-java6:jar:2.3.13
|
4
|
-
- org.kill-bill.billing:killbill-internal-api:jar:0.19.0
|
5
4
|
- net.jcip:jcip-annotations:jar:1.0
|
6
5
|
- com.fasterxml.jackson.dataformat:jackson-dataformat-csv:jar:2.6.7
|
7
6
|
- org.skife.config:config-magic:jar:0.17
|
8
7
|
- org.weakref:jmxutils:jar:1.19
|
9
8
|
- aopalliance:aopalliance:jar:1.0
|
9
|
+
- org.kill-bill.commons:killbill-concurrent:jar:0.21.8
|
10
10
|
- org.kill-bill.billing.plugin:killbill-plugin-api-catalog:jar:0.24.4
|
11
11
|
- org.osgi:org.osgi.core:jar:5.0.0
|
12
12
|
- com.ning:async-http-client:jar:1.9.40
|
13
|
-
- org.kill-bill.commons:killbill-
|
13
|
+
- org.kill-bill.commons:killbill-embeddeddb-common:jar:0.21.8
|
14
|
+
- org.kill-bill.billing:killbill-platform-osgi:jar:0.37.9
|
15
|
+
- org.kill-bill.billing:killbill-platform-lifecycle:jar:0.37.9
|
14
16
|
- org.kill-bill.billing.plugin:killbill-plugin-api-currency:jar:0.24.4
|
15
|
-
- org.kill-bill.billing:killbill-platform-osgi:jar:0.37.2
|
16
|
-
- org.kill-bill.billing:killbill-platform-lifecycle:jar:0.37.2
|
17
|
-
- org.kill-bill.commons:killbill-embeddeddb-common:jar:0.21.1
|
18
17
|
- org.joda:joda-money:jar:0.9
|
19
18
|
- org.ehcache.integrations.shiro:shiro-ehcache3:jar:1.0.0
|
20
19
|
- com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.6.7
|
@@ -25,36 +24,36 @@
|
|
25
24
|
- org.apache.felix:org.apache.felix.framework:jar:4.4.1
|
26
25
|
- org.ehcache:ehcache-clustered:jar:3.3.1
|
27
26
|
- com.google.code.findbugs:jsr305:jar:3.0.1
|
28
|
-
- org.kill-bill.commons:killbill-locker:jar:0.21.1
|
29
27
|
- org.kill-bill.billing.plugin:killbill-plugin-api-invoice:jar:0.24.4
|
30
28
|
- com.google.guava:guava:jar:20.0
|
31
29
|
- com.samskivert:jmustache:jar:1.5
|
32
|
-
- org.kill-bill.commons:killbill-
|
30
|
+
- org.kill-bill.commons:killbill-locker:jar:0.21.8
|
31
|
+
- org.kill-bill.commons:killbill-xmlloader:jar:0.21.8
|
33
32
|
- javax.cache:cache-api:jar:1.0.0
|
34
|
-
- org.kill-bill.billing:killbill-util:jar:
|
33
|
+
- org.kill-bill.billing:killbill-util:jar:0.19.5
|
34
|
+
- org.kill-bill.billing:killbill-internal-api:jar:0.19.5
|
35
35
|
- org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4:jar:1.16
|
36
36
|
- org.kill-bill.billing.plugin:killbill-plugin-api-notification:jar:0.24.4
|
37
37
|
- javax.servlet:javax.servlet-api:jar:4.0.0
|
38
38
|
- com.fasterxml.jackson.core:jackson-annotations:jar:2.6.7
|
39
|
+
- org.kill-bill.billing:killbill-platform-api:jar:0.37.9
|
39
40
|
- org.kill-bill.billing.plugin:killbill-plugin-api-entitlement:jar:0.24.4
|
40
41
|
- org.apache.shiro:shiro-core:jar:1.3.2
|
41
42
|
- org.ow2.asm:asm:jar:5.0.3
|
42
43
|
- com.fasterxml.jackson.core:jackson-databind:jar:2.6.7
|
43
44
|
- org.kill-bill.billing.plugin:killbill-plugin-api-payment:jar:0.24.4
|
44
|
-
- org.kill-bill.billing:killbill-platform-api:jar:0.37.2
|
45
45
|
- com.google.code.findbugs:annotations:jar:3.0.1u2
|
46
|
-
- org.kill-bill.billing:killbill-platform-osgi-api:jar:0.37.
|
46
|
+
- org.kill-bill.billing:killbill-platform-osgi-api:jar:0.37.9
|
47
47
|
- org.antlr:ST4:jar:4.0.8
|
48
|
-
- org.kill-bill.commons:killbill-queue:jar:0.21.1
|
49
48
|
- org.apache.shiro:shiro-guice:jar:1.3.2
|
49
|
+
- org.kill-bill.commons:killbill-jdbi:jar:0.21.8
|
50
50
|
- org.antlr:antlr-runtime:jar:3.5.2
|
51
|
-
- org.kill-bill.commons:killbill-
|
51
|
+
- org.kill-bill.commons:killbill-queue:jar:0.21.8
|
52
52
|
- org.ehcache:ehcache:jar:3.3.1
|
53
53
|
- io.dropwizard.metrics:metrics-jcache:jar:3.2.2
|
54
|
-
- org.kill-bill.billing:killbill-api:jar:0.51.7
|
55
|
-
- org.kill-bill.commons:killbill-clock:jar:0.21.1
|
56
54
|
- com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.6.7
|
57
55
|
- com.google.inject.extensions:guice-multibindings:jar:3.0
|
56
|
+
- org.kill-bill.commons:killbill-clock:jar:0.21.8
|
58
57
|
- joda-time:joda-time:jar:2.9.9
|
59
58
|
- javax.inject:javax.inject:jar:1
|
60
59
|
- org.kill-bill.billing.plugin:killbill-plugin-api-control:jar:0.24.4
|
@@ -64,7 +63,8 @@
|
|
64
63
|
- cglib:cglib:jar:3.1
|
65
64
|
- io.dropwizard.metrics:metrics-core:jar:3.2.2
|
66
65
|
- org.slf4j:slf4j-api:jar:1.7.25
|
67
|
-
- org.kill-bill.billing:killbill-util:jar:0.19.
|
66
|
+
- org.kill-bill.billing:killbill-util:jar:tests:0.19.5
|
67
|
+
- org.kill-bill.billing:killbill-platform-base:jar:0.37.9
|
68
68
|
- org.mockito:mockito-all:jar:1.10.19
|
69
|
-
- org.kill-bill.billing:killbill-
|
69
|
+
- org.kill-bill.billing:killbill-api:jar:0.51.12
|
70
70
|
- org.osgi:org.osgi.compendium:jar:5.0.0
|
data/NEWS
CHANGED
@@ -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, :child_account_id, :start_date, :end_date, :amount, :currency, :description, :bundle_id, :subscription_id, :plan_name, :pretty_plan_name, :phase_name, :pretty_phase_name, :usage_name, :pretty_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, :pretty_plan_name, :phase_name, :pretty_phase_name, :usage_name, :pretty_usage_name, :rate, :linked_item_id, :quantity, :item_details
|
38
38
|
|
39
39
|
def initialize()
|
40
40
|
end
|
@@ -123,6 +123,12 @@ module Killbill
|
|
123
123
|
|
124
124
|
# conversion for linked_item_id [type = java.util.UUID]
|
125
125
|
@linked_item_id = java.util.UUID.fromString(@linked_item_id.to_s) unless @linked_item_id.nil?
|
126
|
+
|
127
|
+
# conversion for quantity [type = java.lang.Integer]
|
128
|
+
@quantity = @quantity
|
129
|
+
|
130
|
+
# conversion for item_details [type = java.lang.String]
|
131
|
+
@item_details = @item_details.to_s unless @item_details.nil?
|
126
132
|
self
|
127
133
|
end
|
128
134
|
|
@@ -219,6 +225,12 @@ module Killbill
|
|
219
225
|
# conversion for linked_item_id [type = java.util.UUID]
|
220
226
|
@linked_item_id = j_obj.linked_item_id
|
221
227
|
@linked_item_id = @linked_item_id.nil? ? nil : @linked_item_id.to_s
|
228
|
+
|
229
|
+
# conversion for quantity [type = java.lang.Integer]
|
230
|
+
@quantity = j_obj.quantity
|
231
|
+
|
232
|
+
# conversion for item_details [type = java.lang.String]
|
233
|
+
@item_details = j_obj.item_details
|
222
234
|
self
|
223
235
|
end
|
224
236
|
|
@@ -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, :child_account_id, :start_date, :end_date, :amount, :currency, :description, :bundle_id, :subscription_id, :plan_name, :pretty_plan_name, :phase_name, :pretty_phase_name, :usage_name, :pretty_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, :pretty_plan_name, :phase_name, :pretty_phase_name, :usage_name, :pretty_usage_name, :rate, :linked_item_id, :quantity, :item_details, :id, :created_date, :updated_date, :formatted_start_date, :formatted_end_date, :formatted_amount
|
38
38
|
|
39
39
|
def initialize()
|
40
40
|
end
|
@@ -109,6 +109,12 @@ module Killbill
|
|
109
109
|
# conversion for linked_item_id [type = java.util.UUID]
|
110
110
|
@linked_item_id = java.util.UUID.fromString(@linked_item_id.to_s) unless @linked_item_id.nil?
|
111
111
|
|
112
|
+
# conversion for quantity [type = java.lang.Integer]
|
113
|
+
@quantity = @quantity
|
114
|
+
|
115
|
+
# conversion for item_details [type = java.lang.String]
|
116
|
+
@item_details = @item_details.to_s unless @item_details.nil?
|
117
|
+
|
112
118
|
# conversion for id [type = java.util.UUID]
|
113
119
|
@id = java.util.UUID.fromString(@id.to_s) unless @id.nil?
|
114
120
|
|
@@ -209,6 +215,12 @@ module Killbill
|
|
209
215
|
@linked_item_id = j_obj.linked_item_id
|
210
216
|
@linked_item_id = @linked_item_id.nil? ? nil : @linked_item_id.to_s
|
211
217
|
|
218
|
+
# conversion for quantity [type = java.lang.Integer]
|
219
|
+
@quantity = j_obj.quantity
|
220
|
+
|
221
|
+
# conversion for item_details [type = java.lang.String]
|
222
|
+
@item_details = j_obj.item_details
|
223
|
+
|
212
224
|
# conversion for id [type = java.util.UUID]
|
213
225
|
@id = j_obj.id
|
214
226
|
@id = @id.nil? ? nil : @id.to_s
|
@@ -39,8 +39,8 @@ module Killbill
|
|
39
39
|
end
|
40
40
|
|
41
41
|
|
42
|
-
java_signature 'Java::java.util.List getInvoicesByAccount(Java::java.util.UUID, Java::boolean, Java::org.killbill.billing.util.callcontext.TenantContext)'
|
43
|
-
def get_invoices_by_account(accountId, includesMigrated, context)
|
42
|
+
java_signature 'Java::java.util.List getInvoicesByAccount(Java::java.util.UUID, Java::boolean, Java::boolean, Java::org.killbill.billing.util.callcontext.TenantContext)'
|
43
|
+
def get_invoices_by_account(accountId, includesMigrated, includeVoidedInvoices, context)
|
44
44
|
|
45
45
|
# conversion for accountId [type = java.util.UUID]
|
46
46
|
accountId = java.util.UUID.fromString(accountId.to_s) unless accountId.nil?
|
@@ -48,9 +48,12 @@ module Killbill
|
|
48
48
|
# conversion for includesMigrated [type = boolean]
|
49
49
|
includesMigrated = includesMigrated.nil? ? java.lang.Boolean.new(false) : java.lang.Boolean.new(includesMigrated)
|
50
50
|
|
51
|
+
# conversion for includeVoidedInvoices [type = boolean]
|
52
|
+
includeVoidedInvoices = includeVoidedInvoices.nil? ? java.lang.Boolean.new(false) : java.lang.Boolean.new(includeVoidedInvoices)
|
53
|
+
|
51
54
|
# conversion for context [type = org.killbill.billing.util.callcontext.TenantContext]
|
52
55
|
context = context.to_java unless context.nil?
|
53
|
-
res = @real_java_api.get_invoices_by_account(accountId, includesMigrated, context)
|
56
|
+
res = @real_java_api.get_invoices_by_account(accountId, includesMigrated, includeVoidedInvoices, context)
|
54
57
|
# conversion for res [type = java.util.List]
|
55
58
|
tmp = []
|
56
59
|
(res || []).each do |m|
|
@@ -331,8 +334,8 @@ module Killbill
|
|
331
334
|
end
|
332
335
|
end
|
333
336
|
|
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)
|
337
|
+
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::java.lang.String, Java::org.killbill.billing.util.callcontext.CallContext)'
|
338
|
+
def insert_credit(accountId, amount, effectiveDate, currency, autoCommit, description, itemDetails, context)
|
336
339
|
|
337
340
|
# conversion for accountId [type = java.util.UUID]
|
338
341
|
accountId = java.util.UUID.fromString(accountId.to_s) unless accountId.nil?
|
@@ -358,10 +361,13 @@ module Killbill
|
|
358
361
|
# conversion for description [type = java.lang.String]
|
359
362
|
description = description.to_s unless description.nil?
|
360
363
|
|
364
|
+
# conversion for itemDetails [type = java.lang.String]
|
365
|
+
itemDetails = itemDetails.to_s unless itemDetails.nil?
|
366
|
+
|
361
367
|
# conversion for context [type = org.killbill.billing.util.callcontext.CallContext]
|
362
368
|
context = context.to_java unless context.nil?
|
363
369
|
begin
|
364
|
-
res = @real_java_api.insert_credit(accountId, amount, effectiveDate, currency, autoCommit, description, context)
|
370
|
+
res = @real_java_api.insert_credit(accountId, amount, effectiveDate, currency, autoCommit, description, itemDetails, context)
|
365
371
|
# conversion for res [type = org.killbill.billing.invoice.api.InvoiceItem]
|
366
372
|
res = Killbill::Plugin::Model::InvoiceItem.new.to_ruby(res) unless res.nil?
|
367
373
|
return res
|
@@ -370,8 +376,8 @@ module Killbill
|
|
370
376
|
end
|
371
377
|
end
|
372
378
|
|
373
|
-
java_signature 'Java::org.killbill.billing.invoice.api.InvoiceItem insertCreditForInvoice(Java::java.util.UUID, 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)'
|
374
|
-
def insert_credit_for_invoice(accountId, invoiceId, amount, effectiveDate, currency, description, context)
|
379
|
+
java_signature 'Java::org.killbill.billing.invoice.api.InvoiceItem insertCreditForInvoice(Java::java.util.UUID, 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::java.lang.String, Java::org.killbill.billing.util.callcontext.CallContext)'
|
380
|
+
def insert_credit_for_invoice(accountId, invoiceId, amount, effectiveDate, currency, description, itemDetails, context)
|
375
381
|
|
376
382
|
# conversion for accountId [type = java.util.UUID]
|
377
383
|
accountId = java.util.UUID.fromString(accountId.to_s) unless accountId.nil?
|
@@ -397,10 +403,13 @@ module Killbill
|
|
397
403
|
# conversion for description [type = java.lang.String]
|
398
404
|
description = description.to_s unless description.nil?
|
399
405
|
|
406
|
+
# conversion for itemDetails [type = java.lang.String]
|
407
|
+
itemDetails = itemDetails.to_s unless itemDetails.nil?
|
408
|
+
|
400
409
|
# conversion for context [type = org.killbill.billing.util.callcontext.CallContext]
|
401
410
|
context = context.to_java unless context.nil?
|
402
411
|
begin
|
403
|
-
res = @real_java_api.insert_credit_for_invoice(accountId, invoiceId, amount, effectiveDate, currency, description, context)
|
412
|
+
res = @real_java_api.insert_credit_for_invoice(accountId, invoiceId, amount, effectiveDate, currency, description, itemDetails, context)
|
404
413
|
# conversion for res [type = org.killbill.billing.invoice.api.InvoiceItem]
|
405
414
|
res = Killbill::Plugin::Model::InvoiceItem.new.to_ruby(res) unless res.nil?
|
406
415
|
return res
|
@@ -409,8 +418,8 @@ module Killbill
|
|
409
418
|
end
|
410
419
|
end
|
411
420
|
|
412
|
-
java_signature 'Java::org.killbill.billing.invoice.api.InvoiceItem insertInvoiceItemAdjustment(Java::java.util.UUID, Java::java.util.UUID, Java::java.util.UUID, Java::org.joda.time.LocalDate, Java::java.lang.String, Java::org.killbill.billing.util.callcontext.CallContext)'
|
413
|
-
def insert_invoice_item_adjustment(accountId, invoiceId, invoiceItemId, effectiveDate, description, context)
|
421
|
+
java_signature 'Java::org.killbill.billing.invoice.api.InvoiceItem insertInvoiceItemAdjustment(Java::java.util.UUID, Java::java.util.UUID, Java::java.util.UUID, Java::org.joda.time.LocalDate, Java::java.lang.String, Java::java.lang.String, Java::org.killbill.billing.util.callcontext.CallContext)'
|
422
|
+
def insert_invoice_item_adjustment(accountId, invoiceId, invoiceItemId, effectiveDate, description, itemDetails, context)
|
414
423
|
|
415
424
|
# conversion for accountId [type = java.util.UUID]
|
416
425
|
accountId = java.util.UUID.fromString(accountId.to_s) unless accountId.nil?
|
@@ -429,10 +438,13 @@ module Killbill
|
|
429
438
|
# conversion for description [type = java.lang.String]
|
430
439
|
description = description.to_s unless description.nil?
|
431
440
|
|
441
|
+
# conversion for itemDetails [type = java.lang.String]
|
442
|
+
itemDetails = itemDetails.to_s unless itemDetails.nil?
|
443
|
+
|
432
444
|
# conversion for context [type = org.killbill.billing.util.callcontext.CallContext]
|
433
445
|
context = context.to_java unless context.nil?
|
434
446
|
begin
|
435
|
-
res = @real_java_api.insert_invoice_item_adjustment(accountId, invoiceId, invoiceItemId, effectiveDate, description, context)
|
447
|
+
res = @real_java_api.insert_invoice_item_adjustment(accountId, invoiceId, invoiceItemId, effectiveDate, description, itemDetails, context)
|
436
448
|
# conversion for res [type = org.killbill.billing.invoice.api.InvoiceItem]
|
437
449
|
res = Killbill::Plugin::Model::InvoiceItem.new.to_ruby(res) unless res.nil?
|
438
450
|
return res
|
@@ -563,6 +575,17 @@ module Killbill
|
|
563
575
|
raise Killbill::Plugin::Model::InvoiceApiException.new.to_ruby(e)
|
564
576
|
end
|
565
577
|
end
|
578
|
+
|
579
|
+
java_signature 'Java::void voidInvoice(Java::java.util.UUID, Java::org.killbill.billing.util.callcontext.CallContext)'
|
580
|
+
def void_invoice(invoiceId, context)
|
581
|
+
|
582
|
+
# conversion for invoiceId [type = java.util.UUID]
|
583
|
+
invoiceId = java.util.UUID.fromString(invoiceId.to_s) unless invoiceId.nil?
|
584
|
+
|
585
|
+
# conversion for context [type = org.killbill.billing.util.callcontext.CallContext]
|
586
|
+
context = context.to_java unless context.nil?
|
587
|
+
@real_java_api.void_invoice(invoiceId, context)
|
588
|
+
end
|
566
589
|
end
|
567
590
|
end
|
568
591
|
end
|
@@ -41,7 +41,7 @@ module Killbill
|
|
41
41
|
cc_last_name = (overrides.delete(:cc_last_name) || (set_defaults ? 'Doe' : nil))
|
42
42
|
cc_type = (overrides.delete(:cc_type) || (set_defaults ? 'Visa' : nil))
|
43
43
|
cc_exp_month = (overrides.delete(:cc_exp_month) || (set_defaults ? 12 : nil))
|
44
|
-
cc_exp_year = (overrides.delete(:cc_exp_year) || (set_defaults ?
|
44
|
+
cc_exp_year = (overrides.delete(:cc_exp_year) || (set_defaults ? 2020 : nil))
|
45
45
|
cc_last_4 = (overrides.delete(:cc_last_4) || (set_defaults ? 4242 : nil))
|
46
46
|
address1 = (overrides.delete(:address1) || (set_defaults ? '5, oakriu road' : nil))
|
47
47
|
address2 = (overrides.delete(:address2) || (set_defaults ? 'apt. 298' : nil))
|
data/lib/killbill/version.rb
CHANGED
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: 9.2.
|
4
|
+
version: 9.2.1
|
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: 2018-
|
11
|
+
date: 2018-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|