killbill 2.0.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Jarfile +5 -5
- data/NEWS +3 -0
- data/VERSION +1 -1
- data/gen_config/api.conf +34 -34
- data/gen_config/plugin_api.conf +3 -3
- data/killbill.gemspec +2 -2
- data/lib/killbill.rb +11 -11
- data/lib/killbill/gen/api/account.rb +5 -5
- data/lib/killbill/gen/api/account_api_exception.rb +1 -1
- data/lib/killbill/gen/api/account_audit_logs.rb +32 -32
- data/lib/killbill/gen/api/account_audit_logs_for_object_type.rb +4 -4
- data/lib/killbill/gen/api/account_data.rb +5 -5
- data/lib/killbill/gen/api/account_email.rb +2 -2
- data/lib/killbill/gen/api/account_user_api.rb +36 -36
- data/lib/killbill/gen/api/audit_log.rb +8 -8
- data/lib/killbill/gen/api/audit_user_api.rb +14 -14
- data/lib/killbill/gen/api/billing_exception_base.rb +1 -1
- data/lib/killbill/gen/api/blockable.rb +2 -2
- data/lib/killbill/gen/api/blocking_api_exception.rb +1 -1
- data/lib/killbill/gen/api/blocking_state.rb +5 -5
- data/lib/killbill/gen/api/call_context.rb +8 -8
- data/lib/killbill/gen/api/catalog.rb +9 -9
- data/lib/killbill/gen/api/catalog_api_exception.rb +1 -1
- data/lib/killbill/gen/api/catalog_user_api.rb +5 -5
- data/lib/killbill/gen/api/column_info.rb +2 -2
- data/lib/killbill/gen/api/control_tag.rb +8 -8
- data/lib/killbill/gen/api/currency_conversion.rb +7 -7
- data/lib/killbill/gen/api/currency_conversion_api.rb +14 -14
- data/lib/killbill/gen/api/currency_conversion_exception.rb +1 -1
- data/lib/killbill/gen/api/currency_value_null.rb +1 -1
- data/lib/killbill/gen/api/custom_field.rb +5 -5
- data/lib/killbill/gen/api/custom_field_api_exception.rb +1 -1
- data/lib/killbill/gen/api/custom_field_user_api.rb +27 -27
- data/lib/killbill/gen/api/database_export_output_stream.rb +2 -2
- data/lib/killbill/gen/api/duration.rb +5 -5
- data/lib/killbill/gen/api/entitlement.rb +19 -19
- data/lib/killbill/gen/api/entitlement_ao_status_dry_run.rb +11 -11
- data/lib/killbill/gen/api/entitlement_api.rb +44 -44
- data/lib/killbill/gen/api/entitlement_api_exception.rb +1 -1
- data/lib/killbill/gen/api/entity.rb +2 -2
- data/lib/killbill/gen/api/illegal_plan_change.rb +1 -1
- data/lib/killbill/gen/api/international_price.rb +4 -4
- data/lib/killbill/gen/api/invalid_config_exception.rb +1 -1
- data/lib/killbill/gen/api/invoice.rb +9 -9
- data/lib/killbill/gen/api/invoice_api_exception.rb +1 -1
- data/lib/killbill/gen/api/invoice_creation_event.rb +2 -2
- data/lib/killbill/gen/api/invoice_formatter.rb +12 -12
- data/lib/killbill/gen/api/invoice_item.rb +8 -8
- data/lib/killbill/gen/api/invoice_item_formatter.rb +8 -8
- data/lib/killbill/gen/api/invoice_payment.rb +11 -11
- data/lib/killbill/gen/api/invoice_payment_api.rb +34 -34
- data/lib/killbill/gen/api/invoice_user_api.rb +90 -90
- data/lib/killbill/gen/api/limit.rb +4 -4
- data/lib/killbill/gen/api/listing.rb +6 -6
- data/lib/killbill/gen/api/migration_plan.rb +13 -13
- data/lib/killbill/gen/api/mutable_account_data.rb +5 -5
- data/lib/killbill/gen/api/osgi_killbill.rb +34 -34
- data/lib/killbill/gen/api/osgi_plugin_properties.rb +2 -2
- data/lib/killbill/gen/api/pagination.rb +2 -2
- data/lib/killbill/gen/api/payment.rb +12 -12
- data/lib/killbill/gen/api/payment_api.rb +103 -103
- data/lib/killbill/gen/api/payment_api_exception.rb +1 -1
- data/lib/killbill/gen/api/payment_attempt.rb +5 -5
- data/lib/killbill/gen/api/payment_method.rb +4 -4
- data/lib/killbill/gen/api/payment_method_kv_info.rb +1 -1
- data/lib/killbill/gen/api/payment_method_plugin.rb +4 -4
- data/lib/killbill/gen/api/plan.rb +13 -13
- data/lib/killbill/gen/api/plan_change_result.rb +9 -9
- data/lib/killbill/gen/api/plan_phase.rb +18 -18
- data/lib/killbill/gen/api/plan_phase_specifier.rb +10 -10
- data/lib/killbill/gen/api/plan_specifier.rb +7 -7
- data/lib/killbill/gen/api/plugin_config_service_api.rb +6 -6
- data/lib/killbill/gen/api/price.rb +5 -5
- data/lib/killbill/gen/api/price_list.rb +4 -4
- data/lib/killbill/gen/api/price_list_set.rb +4 -4
- data/lib/killbill/gen/api/product.rb +11 -11
- data/lib/killbill/gen/api/rate.rb +8 -8
- data/lib/killbill/gen/api/record_id_api.rb +6 -6
- data/lib/killbill/gen/api/refund.rb +10 -10
- data/lib/killbill/gen/api/rolled_up_usage.rb +2 -2
- data/lib/killbill/gen/api/security_api_exception.rb +1 -1
- data/lib/killbill/gen/api/static_catalog.rb +15 -15
- data/lib/killbill/gen/api/subscription.rb +19 -19
- data/lib/killbill/gen/api/subscription_api.rb +34 -34
- data/lib/killbill/gen/api/subscription_api_exception.rb +1 -1
- data/lib/killbill/gen/api/subscription_bundle.rb +6 -6
- data/lib/killbill/gen/api/subscription_bundle_timeline.rb +4 -4
- data/lib/killbill/gen/api/subscription_event.rb +27 -27
- data/lib/killbill/gen/api/tag.rb +5 -5
- data/lib/killbill/gen/api/tag_api_exception.rb +1 -1
- data/lib/killbill/gen/api/tag_definition.rb +5 -5
- data/lib/killbill/gen/api/tag_definition_api_exception.rb +1 -1
- data/lib/killbill/gen/api/tag_user_api.rb +54 -54
- data/lib/killbill/gen/api/tenant.rb +2 -2
- data/lib/killbill/gen/api/tenant_api_exception.rb +1 -1
- data/lib/killbill/gen/api/tenant_context.rb +2 -2
- data/lib/killbill/gen/api/tenant_data.rb +2 -2
- data/lib/killbill/gen/api/tenant_kv.rb +2 -2
- data/lib/killbill/gen/api/tenant_user_api.rb +20 -20
- data/lib/killbill/gen/api/unit.rb +2 -2
- data/lib/killbill/gen/api/usage_user_api.rb +7 -7
- data/lib/killbill/gen/plugin-api/currency_plugin_api.rb +19 -19
- data/lib/killbill/gen/plugin-api/ext_bus_event.rb +8 -8
- data/lib/killbill/gen/plugin-api/notification_plugin_api.rb +5 -5
- data/lib/killbill/gen/plugin-api/payment_info_plugin.rb +8 -8
- data/lib/killbill/gen/plugin-api/payment_method_info_plugin.rb +2 -2
- data/lib/killbill/gen/plugin-api/payment_plugin_api.rb +52 -52
- data/lib/killbill/gen/plugin-api/payment_plugin_api_exception.rb +1 -1
- data/lib/killbill/gen/plugin-api/refund_info_plugin.rb +8 -8
- data/lib/killbill/http_servlet.rb +1 -1
- data/lib/killbill/jnotification.rb +3 -3
- data/spec/killbill/killbill_integration_spec.rb +1 -1
- data/spec/killbill/notification_plugin_api_spec.rb +3 -3
- data/spec/killbill/payment_plugin_api_spec.rb +13 -13
- data/spec/spec_helper.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ab7a1b0644b090a4bd24355986ad459158e65cf
|
4
|
+
data.tar.gz: 2e34dc457ad13a50897234fa07a1a15537f5cee4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d9cd10ec85f822ccea718d786917d46630f350bd7036cba20cfd44f478f3441de7b6656a8452efe92ec22c747c6f213cbb4284f99082b692ce8aa1556af4689
|
7
|
+
data.tar.gz: 4bec7027a2331f7be7e7b60069d3a7c02ffefe5a517e3ae8e4f638558df05a7dbf8a129ac932957ee989b5f8389fd04914c37509fd66b93f9f5ddd7b24fea687
|
data/Jarfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
jar '
|
2
|
-
jar '
|
3
|
-
jar '
|
4
|
-
jar '
|
5
|
-
jar '
|
1
|
+
jar 'org.kill-bill.billing:killbill-api', '0.8.2-SNAPSHOT'
|
2
|
+
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-notification', '0.6.4-SNAPSHOT'
|
3
|
+
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-payment', '0.6.4-SNAPSHOT'
|
4
|
+
jar 'org.kill-bill.billing.plugin:killbill-plugin-api-currency', '0.6.4-SNAPSHOT'
|
5
|
+
jar 'org.kill-bill.billing:killbill-util:tests', '0.9.0-SNAPSHOT'
|
6
6
|
jar 'javax.servlet:javax.servlet-api', '3.0.1'
|
data/NEWS
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.0
|
data/gen_config/api.conf
CHANGED
@@ -5,40 +5,40 @@ file:///<PATH_TO_REPO>/killbill-api/src/main/java/
|
|
5
5
|
-t
|
6
6
|
JRUBY_PLUGIN
|
7
7
|
-q
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
8
|
+
org.killbill.billing,
|
9
|
+
org.killbill.billing.account,
|
10
|
+
org.killbill.billing.account.api,
|
11
|
+
org.killbill.billing.catalog,
|
12
|
+
org.killbill.billing.catalog.api,
|
13
|
+
org.killbill.billing.entitlement,
|
14
|
+
org.killbill.billing.entitlement.api,
|
15
|
+
org.killbill.billing.entitlement.api.user,
|
16
|
+
org.killbill.billing.invoice,
|
17
|
+
org.killbill.billing.invoice.api,
|
18
|
+
org.killbill.billing.invoice.api.formatters,
|
19
|
+
org.killbill.billing.junction,
|
20
|
+
org.killbill.billing.junction.api,
|
21
|
+
org.killbill.billing.osgi,
|
22
|
+
org.killbill.billing.osgi.api,
|
23
|
+
org.killbill.billing.osgi.api.config,
|
24
|
+
org.killbill.billing.payment,
|
25
|
+
org.killbill.billing.payment.api,
|
26
|
+
org.killbill.billing.subscription,
|
27
|
+
org.killbill.billing.subscription.api,
|
28
|
+
org.killbill.billing.subscription.api.user,
|
29
|
+
org.killbill.billing.tenant,
|
30
|
+
org.killbill.billing.tenant.api,
|
31
|
+
org.killbill.billing.usage,
|
32
|
+
org.killbill.billing.usage.api,
|
33
|
+
org.killbill.billing.util,
|
34
|
+
org.killbill.billing.util.api,
|
35
|
+
org.killbill.billing.util.audit,
|
36
|
+
org.killbill.billing.util.callcontext,
|
37
|
+
org.killbill.billing.util.customfield,
|
38
|
+
org.killbill.billing.util.entity,
|
39
|
+
org.killbill.billing.util.tag,
|
40
|
+
org.killbill.billing.security,
|
41
|
+
org.killbill.billing.currency.api
|
42
42
|
-x
|
43
43
|
ExportUserApi,
|
44
44
|
PluginConfig,
|
data/gen_config/plugin_api.conf
CHANGED
@@ -8,9 +8,9 @@ file:///PATH_TO_REPO/killbill-api/src/main/java/
|
|
8
8
|
-t
|
9
9
|
JRUBY_PLUGIN
|
10
10
|
-q
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
org.killbill.billing.payment.plugin.api,
|
12
|
+
org.killbill.billing.notification.plugin.api,
|
13
|
+
org.killbill.billing.currency.plugin.api
|
14
14
|
-m
|
15
15
|
JRUBY_PLUGIN_API
|
16
16
|
|
data/killbill.gemspec
CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |s|
|
|
30
30
|
s.add_development_dependency 'rake', '>= 0.8.7'
|
31
31
|
s.add_development_dependency 'rspec', '~> 2.12.0'
|
32
32
|
|
33
|
-
s.requirements << "jar '
|
33
|
+
s.requirements << "jar 'org.kill-bill.billing:killbill-api'"
|
34
34
|
# For testing only
|
35
|
-
s.requirements << "jar '
|
35
|
+
s.requirements << "jar 'org.kill-bill.billing:killbill-util:tests'"
|
36
36
|
end
|
data/lib/killbill.rb
CHANGED
@@ -22,17 +22,17 @@ begin
|
|
22
22
|
# The Killbill Java APIs imported into that jruby bridge
|
23
23
|
#
|
24
24
|
IMPORT_KILLBILL_APIS = %w(
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
25
|
+
org.killbill.billing.account.api.AccountUserApi
|
26
|
+
org.killbill.billing.catalog.api.CatalogUserApi
|
27
|
+
org.killbill.billing.invoice.api.InvoicePaymentApi
|
28
|
+
org.killbill.billing.entitlement.api.EntitlementApi
|
29
|
+
org.killbill.billing.entitlement.api.SubscriptionApi
|
30
|
+
org.killbill.billing.invoice.api.InvoiceUserApi
|
31
|
+
org.killbill.billing.overdue.OverdueUserApi
|
32
|
+
org.killbill.billing.payment.api.PaymentApi
|
33
|
+
org.killbill.billing.util.api.CustomFieldUserApi
|
34
|
+
org.killbill.billing.util.api.TagUserApi
|
35
|
+
org.killbill.billing.currency.api.CurrencyConversionApi
|
36
36
|
javax.servlet.http.HttpServlet
|
37
37
|
)
|
38
38
|
|
@@ -27,10 +27,10 @@ module Killbill
|
|
27
27
|
module Plugin
|
28
28
|
module Model
|
29
29
|
|
30
|
-
java_package '
|
30
|
+
java_package 'org.killbill.billing.account.api'
|
31
31
|
class Account
|
32
32
|
|
33
|
-
include
|
33
|
+
include org.killbill.billing.account.api.Account
|
34
34
|
|
35
35
|
attr_accessor :id, :created_date, :updated_date, :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
|
36
36
|
|
@@ -68,8 +68,8 @@ module Killbill
|
|
68
68
|
# conversion for bill_cycle_day_local [type = java.lang.Integer]
|
69
69
|
@bill_cycle_day_local = @bill_cycle_day_local
|
70
70
|
|
71
|
-
# conversion for currency [type =
|
72
|
-
@currency = Java::
|
71
|
+
# conversion for currency [type = org.killbill.billing.catalog.api.Currency]
|
72
|
+
@currency = Java::org.killbill.billing.catalog.api.Currency.value_of("#{@currency.to_s}") unless @currency.nil?
|
73
73
|
|
74
74
|
# conversion for payment_method_id [type = java.util.UUID]
|
75
75
|
@payment_method_id = java.util.UUID.fromString(@payment_method_id.to_s) unless @payment_method_id.nil?
|
@@ -150,7 +150,7 @@ module Killbill
|
|
150
150
|
# conversion for bill_cycle_day_local [type = java.lang.Integer]
|
151
151
|
@bill_cycle_day_local = j_obj.bill_cycle_day_local
|
152
152
|
|
153
|
-
# conversion for currency [type =
|
153
|
+
# conversion for currency [type = org.killbill.billing.catalog.api.Currency]
|
154
154
|
@currency = j_obj.currency
|
155
155
|
@currency = @currency.to_s.to_sym unless @currency.nil?
|
156
156
|
|
@@ -44,7 +44,7 @@ module Killbill
|
|
44
44
|
|
45
45
|
# conversion for code [type = int]
|
46
46
|
@code = @code
|
47
|
-
Java::
|
47
|
+
Java::org.killbill.billing.account.api.AccountApiException.new(@message, @cause, @code)
|
48
48
|
end
|
49
49
|
|
50
50
|
def to_ruby(j_obj)
|
@@ -27,10 +27,10 @@ module Killbill
|
|
27
27
|
module Plugin
|
28
28
|
module Model
|
29
29
|
|
30
|
-
java_package '
|
30
|
+
java_package 'org.killbill.billing.util.audit'
|
31
31
|
class AccountAuditLogs
|
32
32
|
|
33
|
-
include
|
33
|
+
include org.killbill.billing.util.audit.AccountAuditLogs
|
34
34
|
|
35
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_payment_method, :audit_logs_for_refund, :audit_logs_for_chargeback, :audit_logs_for_tag, :audit_logs_for_custom_field, :audit_logs
|
36
36
|
|
@@ -41,7 +41,7 @@ module Killbill
|
|
41
41
|
# conversion for audit_logs_for_account [type = java.util.List]
|
42
42
|
tmp = java.util.ArrayList.new
|
43
43
|
(@audit_logs_for_account || []).each do |m|
|
44
|
-
# conversion for m [type =
|
44
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
45
45
|
m = m.to_java unless m.nil?
|
46
46
|
tmp.add(m)
|
47
47
|
end
|
@@ -50,7 +50,7 @@ module Killbill
|
|
50
50
|
# conversion for audit_logs_for_bundle [type = java.util.List]
|
51
51
|
tmp = java.util.ArrayList.new
|
52
52
|
(@audit_logs_for_bundle || []).each do |m|
|
53
|
-
# conversion for m [type =
|
53
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
54
54
|
m = m.to_java unless m.nil?
|
55
55
|
tmp.add(m)
|
56
56
|
end
|
@@ -59,7 +59,7 @@ module Killbill
|
|
59
59
|
# conversion for audit_logs_for_subscription [type = java.util.List]
|
60
60
|
tmp = java.util.ArrayList.new
|
61
61
|
(@audit_logs_for_subscription || []).each do |m|
|
62
|
-
# conversion for m [type =
|
62
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
63
63
|
m = m.to_java unless m.nil?
|
64
64
|
tmp.add(m)
|
65
65
|
end
|
@@ -68,7 +68,7 @@ module Killbill
|
|
68
68
|
# conversion for audit_logs_for_subscription_event [type = java.util.List]
|
69
69
|
tmp = java.util.ArrayList.new
|
70
70
|
(@audit_logs_for_subscription_event || []).each do |m|
|
71
|
-
# conversion for m [type =
|
71
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
72
72
|
m = m.to_java unless m.nil?
|
73
73
|
tmp.add(m)
|
74
74
|
end
|
@@ -77,7 +77,7 @@ module Killbill
|
|
77
77
|
# conversion for audit_logs_for_blocking_state [type = java.util.List]
|
78
78
|
tmp = java.util.ArrayList.new
|
79
79
|
(@audit_logs_for_blocking_state || []).each do |m|
|
80
|
-
# conversion for m [type =
|
80
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
81
81
|
m = m.to_java unless m.nil?
|
82
82
|
tmp.add(m)
|
83
83
|
end
|
@@ -86,7 +86,7 @@ module Killbill
|
|
86
86
|
# conversion for audit_logs_for_invoice [type = java.util.List]
|
87
87
|
tmp = java.util.ArrayList.new
|
88
88
|
(@audit_logs_for_invoice || []).each do |m|
|
89
|
-
# conversion for m [type =
|
89
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
90
90
|
m = m.to_java unless m.nil?
|
91
91
|
tmp.add(m)
|
92
92
|
end
|
@@ -95,7 +95,7 @@ module Killbill
|
|
95
95
|
# conversion for audit_logs_for_invoice_item [type = java.util.List]
|
96
96
|
tmp = java.util.ArrayList.new
|
97
97
|
(@audit_logs_for_invoice_item || []).each do |m|
|
98
|
-
# conversion for m [type =
|
98
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
99
99
|
m = m.to_java unless m.nil?
|
100
100
|
tmp.add(m)
|
101
101
|
end
|
@@ -104,7 +104,7 @@ module Killbill
|
|
104
104
|
# conversion for audit_logs_for_invoice_payment [type = java.util.List]
|
105
105
|
tmp = java.util.ArrayList.new
|
106
106
|
(@audit_logs_for_invoice_payment || []).each do |m|
|
107
|
-
# conversion for m [type =
|
107
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
108
108
|
m = m.to_java unless m.nil?
|
109
109
|
tmp.add(m)
|
110
110
|
end
|
@@ -113,7 +113,7 @@ module Killbill
|
|
113
113
|
# conversion for audit_logs_for_payment [type = java.util.List]
|
114
114
|
tmp = java.util.ArrayList.new
|
115
115
|
(@audit_logs_for_payment || []).each do |m|
|
116
|
-
# conversion for m [type =
|
116
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
117
117
|
m = m.to_java unless m.nil?
|
118
118
|
tmp.add(m)
|
119
119
|
end
|
@@ -122,7 +122,7 @@ module Killbill
|
|
122
122
|
# conversion for audit_logs_for_payment_method [type = java.util.List]
|
123
123
|
tmp = java.util.ArrayList.new
|
124
124
|
(@audit_logs_for_payment_method || []).each do |m|
|
125
|
-
# conversion for m [type =
|
125
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
126
126
|
m = m.to_java unless m.nil?
|
127
127
|
tmp.add(m)
|
128
128
|
end
|
@@ -131,7 +131,7 @@ module Killbill
|
|
131
131
|
# conversion for audit_logs_for_refund [type = java.util.List]
|
132
132
|
tmp = java.util.ArrayList.new
|
133
133
|
(@audit_logs_for_refund || []).each do |m|
|
134
|
-
# conversion for m [type =
|
134
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
135
135
|
m = m.to_java unless m.nil?
|
136
136
|
tmp.add(m)
|
137
137
|
end
|
@@ -140,7 +140,7 @@ module Killbill
|
|
140
140
|
# conversion for audit_logs_for_chargeback [type = java.util.List]
|
141
141
|
tmp = java.util.ArrayList.new
|
142
142
|
(@audit_logs_for_chargeback || []).each do |m|
|
143
|
-
# conversion for m [type =
|
143
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
144
144
|
m = m.to_java unless m.nil?
|
145
145
|
tmp.add(m)
|
146
146
|
end
|
@@ -149,7 +149,7 @@ module Killbill
|
|
149
149
|
# conversion for audit_logs_for_tag [type = java.util.List]
|
150
150
|
tmp = java.util.ArrayList.new
|
151
151
|
(@audit_logs_for_tag || []).each do |m|
|
152
|
-
# conversion for m [type =
|
152
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
153
153
|
m = m.to_java unless m.nil?
|
154
154
|
tmp.add(m)
|
155
155
|
end
|
@@ -158,13 +158,13 @@ module Killbill
|
|
158
158
|
# conversion for audit_logs_for_custom_field [type = java.util.List]
|
159
159
|
tmp = java.util.ArrayList.new
|
160
160
|
(@audit_logs_for_custom_field || []).each do |m|
|
161
|
-
# conversion for m [type =
|
161
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
162
162
|
m = m.to_java unless m.nil?
|
163
163
|
tmp.add(m)
|
164
164
|
end
|
165
165
|
@audit_logs_for_custom_field = tmp
|
166
166
|
|
167
|
-
# conversion for audit_logs [type =
|
167
|
+
# conversion for audit_logs [type = org.killbill.billing.util.audit.AccountAuditLogsForObjectType]
|
168
168
|
@audit_logs = @audit_logs.to_java unless @audit_logs.nil?
|
169
169
|
self
|
170
170
|
end
|
@@ -174,7 +174,7 @@ module Killbill
|
|
174
174
|
@audit_logs_for_account = j_obj.audit_logs_for_account
|
175
175
|
tmp = []
|
176
176
|
(@audit_logs_for_account || []).each do |m|
|
177
|
-
# conversion for m [type =
|
177
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
178
178
|
m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
|
179
179
|
tmp << m
|
180
180
|
end
|
@@ -184,7 +184,7 @@ module Killbill
|
|
184
184
|
@audit_logs_for_bundle = j_obj.audit_logs_for_bundle
|
185
185
|
tmp = []
|
186
186
|
(@audit_logs_for_bundle || []).each do |m|
|
187
|
-
# conversion for m [type =
|
187
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
188
188
|
m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
|
189
189
|
tmp << m
|
190
190
|
end
|
@@ -194,7 +194,7 @@ module Killbill
|
|
194
194
|
@audit_logs_for_subscription = j_obj.audit_logs_for_subscription
|
195
195
|
tmp = []
|
196
196
|
(@audit_logs_for_subscription || []).each do |m|
|
197
|
-
# conversion for m [type =
|
197
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
198
198
|
m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
|
199
199
|
tmp << m
|
200
200
|
end
|
@@ -204,7 +204,7 @@ module Killbill
|
|
204
204
|
@audit_logs_for_subscription_event = j_obj.audit_logs_for_subscription_event
|
205
205
|
tmp = []
|
206
206
|
(@audit_logs_for_subscription_event || []).each do |m|
|
207
|
-
# conversion for m [type =
|
207
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
208
208
|
m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
|
209
209
|
tmp << m
|
210
210
|
end
|
@@ -214,7 +214,7 @@ module Killbill
|
|
214
214
|
@audit_logs_for_blocking_state = j_obj.audit_logs_for_blocking_state
|
215
215
|
tmp = []
|
216
216
|
(@audit_logs_for_blocking_state || []).each do |m|
|
217
|
-
# conversion for m [type =
|
217
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
218
218
|
m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
|
219
219
|
tmp << m
|
220
220
|
end
|
@@ -224,7 +224,7 @@ module Killbill
|
|
224
224
|
@audit_logs_for_invoice = j_obj.audit_logs_for_invoice
|
225
225
|
tmp = []
|
226
226
|
(@audit_logs_for_invoice || []).each do |m|
|
227
|
-
# conversion for m [type =
|
227
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
228
228
|
m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
|
229
229
|
tmp << m
|
230
230
|
end
|
@@ -234,7 +234,7 @@ module Killbill
|
|
234
234
|
@audit_logs_for_invoice_item = j_obj.audit_logs_for_invoice_item
|
235
235
|
tmp = []
|
236
236
|
(@audit_logs_for_invoice_item || []).each do |m|
|
237
|
-
# conversion for m [type =
|
237
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
238
238
|
m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
|
239
239
|
tmp << m
|
240
240
|
end
|
@@ -244,7 +244,7 @@ module Killbill
|
|
244
244
|
@audit_logs_for_invoice_payment = j_obj.audit_logs_for_invoice_payment
|
245
245
|
tmp = []
|
246
246
|
(@audit_logs_for_invoice_payment || []).each do |m|
|
247
|
-
# conversion for m [type =
|
247
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
248
248
|
m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
|
249
249
|
tmp << m
|
250
250
|
end
|
@@ -254,7 +254,7 @@ module Killbill
|
|
254
254
|
@audit_logs_for_payment = j_obj.audit_logs_for_payment
|
255
255
|
tmp = []
|
256
256
|
(@audit_logs_for_payment || []).each do |m|
|
257
|
-
# conversion for m [type =
|
257
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
258
258
|
m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
|
259
259
|
tmp << m
|
260
260
|
end
|
@@ -264,7 +264,7 @@ module Killbill
|
|
264
264
|
@audit_logs_for_payment_method = j_obj.audit_logs_for_payment_method
|
265
265
|
tmp = []
|
266
266
|
(@audit_logs_for_payment_method || []).each do |m|
|
267
|
-
# conversion for m [type =
|
267
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
268
268
|
m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
|
269
269
|
tmp << m
|
270
270
|
end
|
@@ -274,7 +274,7 @@ module Killbill
|
|
274
274
|
@audit_logs_for_refund = j_obj.audit_logs_for_refund
|
275
275
|
tmp = []
|
276
276
|
(@audit_logs_for_refund || []).each do |m|
|
277
|
-
# conversion for m [type =
|
277
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
278
278
|
m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
|
279
279
|
tmp << m
|
280
280
|
end
|
@@ -284,7 +284,7 @@ module Killbill
|
|
284
284
|
@audit_logs_for_chargeback = j_obj.audit_logs_for_chargeback
|
285
285
|
tmp = []
|
286
286
|
(@audit_logs_for_chargeback || []).each do |m|
|
287
|
-
# conversion for m [type =
|
287
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
288
288
|
m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
|
289
289
|
tmp << m
|
290
290
|
end
|
@@ -294,7 +294,7 @@ module Killbill
|
|
294
294
|
@audit_logs_for_tag = j_obj.audit_logs_for_tag
|
295
295
|
tmp = []
|
296
296
|
(@audit_logs_for_tag || []).each do |m|
|
297
|
-
# conversion for m [type =
|
297
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
298
298
|
m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
|
299
299
|
tmp << m
|
300
300
|
end
|
@@ -304,13 +304,13 @@ module Killbill
|
|
304
304
|
@audit_logs_for_custom_field = j_obj.audit_logs_for_custom_field
|
305
305
|
tmp = []
|
306
306
|
(@audit_logs_for_custom_field || []).each do |m|
|
307
|
-
# conversion for m [type =
|
307
|
+
# conversion for m [type = org.killbill.billing.util.audit.AuditLog]
|
308
308
|
m = Killbill::Plugin::Model::AuditLog.new.to_ruby(m) unless m.nil?
|
309
309
|
tmp << m
|
310
310
|
end
|
311
311
|
@audit_logs_for_custom_field = tmp
|
312
312
|
|
313
|
-
# conversion for audit_logs [type =
|
313
|
+
# conversion for audit_logs [type = org.killbill.billing.util.audit.AccountAuditLogsForObjectType]
|
314
314
|
@audit_logs = j_obj.audit_logs
|
315
315
|
@audit_logs = Killbill::Plugin::Model::AccountAuditLogsForObjectType.new.to_ruby(@audit_logs) unless @audit_logs.nil?
|
316
316
|
self
|