killbill 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Jarfile +2 -2
- data/VERSION +1 -1
- data/lib/killbill.rb +2 -1
- data/lib/killbill/gen/api/account.rb +2 -2
- data/lib/killbill/gen/api/audit_user_api.rb +3 -3
- data/lib/killbill/gen/api/blockable.rb +4 -4
- 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/{junction_api.rb → entitlement_api.rb} +4 -4
- data/lib/killbill/gen/api/osgi_killbill.rb +21 -21
- data/lib/killbill/gen/api/require_gen.rb +10 -10
- data/lib/killbill/gen/api/subscription.rb +16 -16
- data/lib/killbill/gen/api/subscription_bundle.rb +4 -4
- data/lib/killbill/gen/api/subscription_status_dry_run.rb +5 -5
- data/lib/killbill/gen/api/subscription_transition.rb +11 -11
- data/lib/killbill/gen/api/{entitlement_user_api.rb → subscription_user_api.rb} +36 -36
- data/lib/killbill/gen/api/{entitlement_user_api_exception.rb → subscription_user_api_exception.rb} +2 -2
- data/spec/spec_helper.rb +1 -1
- metadata +6 -6
data/Jarfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
jar 'com.ning.billing:killbill-api', '0.3.
|
1
|
+
jar 'com.ning.billing:killbill-api', '0.3.2'
|
2
2
|
jar 'com.ning.billing.plugin:killbill-plugin-api-notification', '0.2.4'
|
3
3
|
jar 'com.ning.billing.plugin:killbill-plugin-api-payment', '0.2.4'
|
4
|
-
jar 'com.ning.billing:killbill-util:tests', '0.
|
4
|
+
jar 'com.ning.billing:killbill-util:tests', '0.3.4'
|
5
5
|
jar 'javax.servlet:javax.servlet-api', '3.0.1'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.3.0
|
data/lib/killbill.rb
CHANGED
@@ -24,8 +24,9 @@ begin
|
|
24
24
|
IMPORT_KILLBILL_APIS = %w(
|
25
25
|
com.ning.billing.account.api.AccountUserApi
|
26
26
|
com.ning.billing.catalog.api.CatalogUserApi
|
27
|
-
com.ning.billing.
|
27
|
+
com.ning.billing.subscription.api.user.SubscriptionUserApi
|
28
28
|
com.ning.billing.invoice.api.InvoicePaymentApi
|
29
|
+
com.ning.billing.entitlement.api.EntitlementApi
|
29
30
|
com.ning.billing.invoice.api.InvoiceUserApi
|
30
31
|
com.ning.billing.overdue.OverdueUserApi
|
31
32
|
com.ning.billing.payment.api.PaymentApi
|
@@ -41,7 +41,7 @@ module Killbill
|
|
41
41
|
# conversion for id [type = java.util.UUID]
|
42
42
|
@id = java.util.UUID.fromString(@id.to_s) unless @id.nil?
|
43
43
|
|
44
|
-
# conversion for blocking_state [type = com.ning.billing.
|
44
|
+
# conversion for blocking_state [type = com.ning.billing.entitlement.api.BlockingState]
|
45
45
|
@blocking_state = @blocking_state.to_java unless @blocking_state.nil?
|
46
46
|
|
47
47
|
# conversion for created_date [type = org.joda.time.DateTime]
|
@@ -122,7 +122,7 @@ module Killbill
|
|
122
122
|
@id = j_obj.id
|
123
123
|
@id = @id.nil? ? nil : @id.to_s
|
124
124
|
|
125
|
-
# conversion for blocking_state [type = com.ning.billing.
|
125
|
+
# conversion for blocking_state [type = com.ning.billing.entitlement.api.BlockingState]
|
126
126
|
@blocking_state = j_obj.blocking_state
|
127
127
|
@blocking_state = Killbill::Plugin::Model::BlockingState.new.to_ruby(@blocking_state) unless @blocking_state.nil?
|
128
128
|
|
@@ -70,8 +70,8 @@ module Killbill
|
|
70
70
|
# conversion for res [type = com.ning.billing.util.audit.AuditLogsForBundles]
|
71
71
|
res = Killbill::Plugin::Model::AuditLogsForBundles.new.to_ruby(res) unless res.nil?
|
72
72
|
return res
|
73
|
-
rescue Java::com.ning.billing.
|
74
|
-
raise Killbill::Plugin::Model::
|
73
|
+
rescue Java::com.ning.billing.subscription.api.timeline.SubscriptionRepairException => e
|
74
|
+
raise Killbill::Plugin::Model::SubscriptionRepairException.new.to_ruby(e)
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
@@ -81,7 +81,7 @@ module Killbill
|
|
81
81
|
# conversion for bundles [type = java.util.List]
|
82
82
|
tmp = java.util.ArrayList.new
|
83
83
|
(bundles || []).each do |m|
|
84
|
-
# conversion for m [type = com.ning.billing.
|
84
|
+
# conversion for m [type = com.ning.billing.subscription.api.timeline.BundleTimeline]
|
85
85
|
m = m.to_java unless m.nil?
|
86
86
|
tmp.add(m)
|
87
87
|
end
|
@@ -27,10 +27,10 @@ module Killbill
|
|
27
27
|
module Plugin
|
28
28
|
module Model
|
29
29
|
|
30
|
-
java_package 'com.ning.billing.
|
30
|
+
java_package 'com.ning.billing.entitlement.api'
|
31
31
|
class Blockable
|
32
32
|
|
33
|
-
include com.ning.billing.
|
33
|
+
include com.ning.billing.entitlement.api.Blockable
|
34
34
|
|
35
35
|
attr_accessor :id, :created_date, :updated_date, :blocking_state
|
36
36
|
|
@@ -53,7 +53,7 @@ module Killbill
|
|
53
53
|
@updated_date = Java::org.joda.time.DateTime.new(@updated_date.to_s, Java::org.joda.time.DateTimeZone::UTC)
|
54
54
|
end
|
55
55
|
|
56
|
-
# conversion for blocking_state [type = com.ning.billing.
|
56
|
+
# conversion for blocking_state [type = com.ning.billing.entitlement.api.BlockingState]
|
57
57
|
@blocking_state = @blocking_state.to_java unless @blocking_state.nil?
|
58
58
|
self
|
59
59
|
end
|
@@ -79,7 +79,7 @@ module Killbill
|
|
79
79
|
@updated_date = DateTime.iso8601(str)
|
80
80
|
end
|
81
81
|
|
82
|
-
# conversion for blocking_state [type = com.ning.billing.
|
82
|
+
# conversion for blocking_state [type = com.ning.billing.entitlement.api.BlockingState]
|
83
83
|
@blocking_state = j_obj.blocking_state
|
84
84
|
@blocking_state = Killbill::Plugin::Model::BlockingState.new.to_ruby(@blocking_state) unless @blocking_state.nil?
|
85
85
|
self
|
@@ -44,7 +44,7 @@ module Killbill
|
|
44
44
|
|
45
45
|
# conversion for code [type = int]
|
46
46
|
@code = @code
|
47
|
-
Java::com.ning.billing.
|
47
|
+
Java::com.ning.billing.entitlement.api.BlockingApiException.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 'com.ning.billing.
|
30
|
+
java_package 'com.ning.billing.entitlement.api'
|
31
31
|
class BlockingState
|
32
32
|
|
33
|
-
include com.ning.billing.
|
33
|
+
include com.ning.billing.entitlement.api.BlockingState
|
34
34
|
|
35
35
|
attr_accessor :id, :created_date, :updated_date, :blocked_id, :state_name, :type, :timestamp, :is_block_change, :is_block_entitlement, :is_block_billing, :description, :service
|
36
36
|
|
@@ -59,8 +59,8 @@ module Killbill
|
|
59
59
|
# conversion for state_name [type = java.lang.String]
|
60
60
|
@state_name = @state_name.to_s unless @state_name.nil?
|
61
61
|
|
62
|
-
# conversion for type [type = com.ning.billing.
|
63
|
-
@type = Java::com.ning.billing.
|
62
|
+
# conversion for type [type = com.ning.billing.entitlement.api.Type]
|
63
|
+
@type = Java::com.ning.billing.entitlement.api.Type.value_of("#{@type.to_s}") unless @type.nil?
|
64
64
|
|
65
65
|
# conversion for timestamp [type = org.joda.time.DateTime]
|
66
66
|
if !@timestamp.nil?
|
@@ -113,7 +113,7 @@ module Killbill
|
|
113
113
|
# conversion for state_name [type = java.lang.String]
|
114
114
|
@state_name = j_obj.state_name
|
115
115
|
|
116
|
-
# conversion for type [type = com.ning.billing.
|
116
|
+
# conversion for type [type = com.ning.billing.entitlement.api.Type]
|
117
117
|
@type = j_obj.type
|
118
118
|
@type = @type.to_s.to_sym unless @type.nil?
|
119
119
|
|
@@ -27,10 +27,10 @@ module Killbill
|
|
27
27
|
module Plugin
|
28
28
|
module Api
|
29
29
|
|
30
|
-
java_package 'com.ning.billing.
|
31
|
-
class
|
30
|
+
java_package 'com.ning.billing.entitlement.api'
|
31
|
+
class EntitlementApi
|
32
32
|
|
33
|
-
include com.ning.billing.
|
33
|
+
include com.ning.billing.entitlement.api.EntitlementApi
|
34
34
|
|
35
35
|
def initialize(real_java_api)
|
36
36
|
@real_java_api = real_java_api
|
@@ -49,7 +49,7 @@ module Killbill
|
|
49
49
|
# conversion for res [type = java.util.List]
|
50
50
|
tmp = []
|
51
51
|
(res || []).each do |m|
|
52
|
-
# conversion for m [type = com.ning.billing.
|
52
|
+
# conversion for m [type = com.ning.billing.entitlement.api.BlockingState]
|
53
53
|
m = Killbill::Plugin::Model::BlockingState.new.to_ruby(m) unless m.nil?
|
54
54
|
tmp << m
|
55
55
|
end
|
@@ -32,7 +32,7 @@ module Killbill
|
|
32
32
|
|
33
33
|
include com.ning.billing.osgi.api.OSGIKillbill
|
34
34
|
|
35
|
-
attr_accessor :account_user_api, :catalog_user_api, :
|
35
|
+
attr_accessor :account_user_api, :catalog_user_api, :subscription_timeline_api, :subscription_transfer_api, :subscription_user_api, :invoice_payment_api, :invoice_user_api, :overdue_user_api, :payment_api, :tenant_user_api, :usage_user_api, :audit_user_api, :custom_field_user_api, :export_user_api, :tag_user_api, :entitlement_api, :record_id_api, :plugin_config_service_api
|
36
36
|
|
37
37
|
def initialize()
|
38
38
|
end
|
@@ -44,14 +44,14 @@ module Killbill
|
|
44
44
|
# conversion for catalog_user_api [type = com.ning.billing.catalog.api.CatalogUserApi]
|
45
45
|
@catalog_user_api = @catalog_user_api.to_java unless @catalog_user_api.nil?
|
46
46
|
|
47
|
-
# conversion for
|
48
|
-
@
|
47
|
+
# conversion for subscription_timeline_api [type = com.ning.billing.subscription.api.timeline.SubscriptionTimelineApi]
|
48
|
+
@subscription_timeline_api = @subscription_timeline_api.to_java unless @subscription_timeline_api.nil?
|
49
49
|
|
50
|
-
# conversion for
|
51
|
-
@
|
50
|
+
# conversion for subscription_transfer_api [type = com.ning.billing.subscription.api.transfer.SubscriptionTransferApi]
|
51
|
+
@subscription_transfer_api = @subscription_transfer_api.to_java unless @subscription_transfer_api.nil?
|
52
52
|
|
53
|
-
# conversion for
|
54
|
-
@
|
53
|
+
# conversion for subscription_user_api [type = com.ning.billing.subscription.api.user.SubscriptionUserApi]
|
54
|
+
@subscription_user_api = @subscription_user_api.to_java unless @subscription_user_api.nil?
|
55
55
|
|
56
56
|
# conversion for invoice_payment_api [type = com.ning.billing.invoice.api.InvoicePaymentApi]
|
57
57
|
@invoice_payment_api = @invoice_payment_api.to_java unless @invoice_payment_api.nil?
|
@@ -83,8 +83,8 @@ module Killbill
|
|
83
83
|
# conversion for tag_user_api [type = com.ning.billing.util.api.TagUserApi]
|
84
84
|
@tag_user_api = @tag_user_api.to_java unless @tag_user_api.nil?
|
85
85
|
|
86
|
-
# conversion for
|
87
|
-
@
|
86
|
+
# conversion for entitlement_api [type = com.ning.billing.entitlement.api.EntitlementApi]
|
87
|
+
@entitlement_api = @entitlement_api.to_java unless @entitlement_api.nil?
|
88
88
|
|
89
89
|
# conversion for record_id_api [type = com.ning.billing.util.api.RecordIdApi]
|
90
90
|
@record_id_api = @record_id_api.to_java unless @record_id_api.nil?
|
@@ -103,17 +103,17 @@ module Killbill
|
|
103
103
|
@catalog_user_api = j_obj.catalog_user_api
|
104
104
|
@catalog_user_api = Killbill::Plugin::Model::CatalogUserApi.new.to_ruby(@catalog_user_api) unless @catalog_user_api.nil?
|
105
105
|
|
106
|
-
# conversion for
|
107
|
-
@
|
108
|
-
@
|
106
|
+
# conversion for subscription_timeline_api [type = com.ning.billing.subscription.api.timeline.SubscriptionTimelineApi]
|
107
|
+
@subscription_timeline_api = j_obj.subscription_timeline_api
|
108
|
+
@subscription_timeline_api = Killbill::Plugin::Model::SubscriptionTimelineApi.new.to_ruby(@subscription_timeline_api) unless @subscription_timeline_api.nil?
|
109
109
|
|
110
|
-
# conversion for
|
111
|
-
@
|
112
|
-
@
|
110
|
+
# conversion for subscription_transfer_api [type = com.ning.billing.subscription.api.transfer.SubscriptionTransferApi]
|
111
|
+
@subscription_transfer_api = j_obj.subscription_transfer_api
|
112
|
+
@subscription_transfer_api = Killbill::Plugin::Model::SubscriptionTransferApi.new.to_ruby(@subscription_transfer_api) unless @subscription_transfer_api.nil?
|
113
113
|
|
114
|
-
# conversion for
|
115
|
-
@
|
116
|
-
@
|
114
|
+
# conversion for subscription_user_api [type = com.ning.billing.subscription.api.user.SubscriptionUserApi]
|
115
|
+
@subscription_user_api = j_obj.subscription_user_api
|
116
|
+
@subscription_user_api = Killbill::Plugin::Model::SubscriptionUserApi.new.to_ruby(@subscription_user_api) unless @subscription_user_api.nil?
|
117
117
|
|
118
118
|
# conversion for invoice_payment_api [type = com.ning.billing.invoice.api.InvoicePaymentApi]
|
119
119
|
@invoice_payment_api = j_obj.invoice_payment_api
|
@@ -155,9 +155,9 @@ module Killbill
|
|
155
155
|
@tag_user_api = j_obj.tag_user_api
|
156
156
|
@tag_user_api = Killbill::Plugin::Model::TagUserApi.new.to_ruby(@tag_user_api) unless @tag_user_api.nil?
|
157
157
|
|
158
|
-
# conversion for
|
159
|
-
@
|
160
|
-
@
|
158
|
+
# conversion for entitlement_api [type = com.ning.billing.entitlement.api.EntitlementApi]
|
159
|
+
@entitlement_api = j_obj.entitlement_api
|
160
|
+
@entitlement_api = Killbill::Plugin::Model::EntitlementApi.new.to_ruby(@entitlement_api) unless @entitlement_api.nil?
|
161
161
|
|
162
162
|
# conversion for record_id_api [type = com.ning.billing.util.api.RecordIdApi]
|
163
163
|
@record_id_api = j_obj.record_id_api
|
@@ -52,12 +52,10 @@ require 'killbill/gen/api/price_list_set'
|
|
52
52
|
require 'killbill/gen/api/product'
|
53
53
|
require 'killbill/gen/api/static_catalog'
|
54
54
|
require 'killbill/gen/api/unit'
|
55
|
-
require 'killbill/gen/api/
|
56
|
-
require 'killbill/gen/api/
|
57
|
-
require 'killbill/gen/api/
|
58
|
-
require 'killbill/gen/api/
|
59
|
-
require 'killbill/gen/api/subscription_status_dry_run'
|
60
|
-
require 'killbill/gen/api/subscription_transition'
|
55
|
+
require 'killbill/gen/api/blockable'
|
56
|
+
require 'killbill/gen/api/blocking_api_exception'
|
57
|
+
require 'killbill/gen/api/blocking_state'
|
58
|
+
require 'killbill/gen/api/entitlement_api'
|
61
59
|
require 'killbill/gen/api/invoice_formatter'
|
62
60
|
require 'killbill/gen/api/invoice_item_formatter'
|
63
61
|
require 'killbill/gen/api/invoice'
|
@@ -67,10 +65,6 @@ require 'killbill/gen/api/invoice_item'
|
|
67
65
|
require 'killbill/gen/api/invoice_payment'
|
68
66
|
require 'killbill/gen/api/invoice_payment_api'
|
69
67
|
require 'killbill/gen/api/invoice_user_api'
|
70
|
-
require 'killbill/gen/api/blockable'
|
71
|
-
require 'killbill/gen/api/blocking_api_exception'
|
72
|
-
require 'killbill/gen/api/blocking_state'
|
73
|
-
require 'killbill/gen/api/junction_api'
|
74
68
|
require 'killbill/gen/api/plugin_config_service_api'
|
75
69
|
require 'killbill/gen/api/osgi_killbill'
|
76
70
|
require 'killbill/gen/api/osgi_plugin_properties'
|
@@ -82,6 +76,12 @@ require 'killbill/gen/api/payment_method'
|
|
82
76
|
require 'killbill/gen/api/payment_method_kv_info'
|
83
77
|
require 'killbill/gen/api/payment_method_plugin'
|
84
78
|
require 'killbill/gen/api/refund'
|
79
|
+
require 'killbill/gen/api/subscription'
|
80
|
+
require 'killbill/gen/api/subscription_bundle'
|
81
|
+
require 'killbill/gen/api/subscription_status_dry_run'
|
82
|
+
require 'killbill/gen/api/subscription_transition'
|
83
|
+
require 'killbill/gen/api/subscription_user_api'
|
84
|
+
require 'killbill/gen/api/subscription_user_api_exception'
|
85
85
|
require 'killbill/gen/api/tenant'
|
86
86
|
require 'killbill/gen/api/tenant_api_exception'
|
87
87
|
require 'killbill/gen/api/tenant_data'
|
@@ -27,10 +27,10 @@ module Killbill
|
|
27
27
|
module Plugin
|
28
28
|
module Model
|
29
29
|
|
30
|
-
java_package 'com.ning.billing.
|
30
|
+
java_package 'com.ning.billing.subscription.api.user'
|
31
31
|
class Subscription
|
32
32
|
|
33
|
-
include com.ning.billing.
|
33
|
+
include com.ning.billing.subscription.api.user.Subscription
|
34
34
|
|
35
35
|
attr_accessor :id, :blocking_state, :created_date, :updated_date, :bundle_id, :state, :source_type, :start_date, :end_date, :future_end_date, :current_plan, :last_active_plan, :current_price_list, :current_phase, :last_active_product_name, :last_active_price_list_name, :last_active_category_name, :last_active_billing_period, :charged_through_date, :paid_through_date, :category, :pending_transition, :previous_transition, :all_transitions
|
36
36
|
|
@@ -41,7 +41,7 @@ module Killbill
|
|
41
41
|
# conversion for id [type = java.util.UUID]
|
42
42
|
@id = java.util.UUID.fromString(@id.to_s) unless @id.nil?
|
43
43
|
|
44
|
-
# conversion for blocking_state [type = com.ning.billing.
|
44
|
+
# conversion for blocking_state [type = com.ning.billing.entitlement.api.BlockingState]
|
45
45
|
@blocking_state = @blocking_state.to_java unless @blocking_state.nil?
|
46
46
|
|
47
47
|
# conversion for created_date [type = org.joda.time.DateTime]
|
@@ -59,11 +59,11 @@ module Killbill
|
|
59
59
|
# conversion for bundle_id [type = java.util.UUID]
|
60
60
|
@bundle_id = java.util.UUID.fromString(@bundle_id.to_s) unless @bundle_id.nil?
|
61
61
|
|
62
|
-
# conversion for state [type = com.ning.billing.
|
63
|
-
@state = Java::com.ning.billing.
|
62
|
+
# conversion for state [type = com.ning.billing.subscription.api.user.SubscriptionState]
|
63
|
+
@state = Java::com.ning.billing.subscription.api.user.SubscriptionState.value_of("#{@state.to_s}") unless @state.nil?
|
64
64
|
|
65
|
-
# conversion for source_type [type = com.ning.billing.
|
66
|
-
@source_type = Java::com.ning.billing.
|
65
|
+
# conversion for source_type [type = com.ning.billing.subscription.api.user.SubscriptionSourceType]
|
66
|
+
@source_type = Java::com.ning.billing.subscription.api.user.SubscriptionSourceType.value_of("#{@source_type.to_s}") unless @source_type.nil?
|
67
67
|
|
68
68
|
# conversion for start_date [type = org.joda.time.DateTime]
|
69
69
|
if !@start_date.nil?
|
@@ -122,16 +122,16 @@ module Killbill
|
|
122
122
|
# conversion for category [type = com.ning.billing.catalog.api.ProductCategory]
|
123
123
|
@category = Java::com.ning.billing.catalog.api.ProductCategory.value_of("#{@category.to_s}") unless @category.nil?
|
124
124
|
|
125
|
-
# conversion for pending_transition [type = com.ning.billing.
|
125
|
+
# conversion for pending_transition [type = com.ning.billing.subscription.api.user.SubscriptionTransition]
|
126
126
|
@pending_transition = @pending_transition.to_java unless @pending_transition.nil?
|
127
127
|
|
128
|
-
# conversion for previous_transition [type = com.ning.billing.
|
128
|
+
# conversion for previous_transition [type = com.ning.billing.subscription.api.user.SubscriptionTransition]
|
129
129
|
@previous_transition = @previous_transition.to_java unless @previous_transition.nil?
|
130
130
|
|
131
131
|
# conversion for all_transitions [type = java.util.List]
|
132
132
|
tmp = java.util.ArrayList.new
|
133
133
|
(@all_transitions || []).each do |m|
|
134
|
-
# conversion for m [type = com.ning.billing.
|
134
|
+
# conversion for m [type = com.ning.billing.subscription.api.user.SubscriptionTransition]
|
135
135
|
m = m.to_java unless m.nil?
|
136
136
|
tmp.add(m)
|
137
137
|
end
|
@@ -144,7 +144,7 @@ module Killbill
|
|
144
144
|
@id = j_obj.id
|
145
145
|
@id = @id.nil? ? nil : @id.to_s
|
146
146
|
|
147
|
-
# conversion for blocking_state [type = com.ning.billing.
|
147
|
+
# conversion for blocking_state [type = com.ning.billing.entitlement.api.BlockingState]
|
148
148
|
@blocking_state = j_obj.blocking_state
|
149
149
|
@blocking_state = Killbill::Plugin::Model::BlockingState.new.to_ruby(@blocking_state) unless @blocking_state.nil?
|
150
150
|
|
@@ -168,11 +168,11 @@ module Killbill
|
|
168
168
|
@bundle_id = j_obj.bundle_id
|
169
169
|
@bundle_id = @bundle_id.nil? ? nil : @bundle_id.to_s
|
170
170
|
|
171
|
-
# conversion for state [type = com.ning.billing.
|
171
|
+
# conversion for state [type = com.ning.billing.subscription.api.user.SubscriptionState]
|
172
172
|
@state = j_obj.state
|
173
173
|
@state = @state.to_s.to_sym unless @state.nil?
|
174
174
|
|
175
|
-
# conversion for source_type [type = com.ning.billing.
|
175
|
+
# conversion for source_type [type = com.ning.billing.subscription.api.user.SubscriptionSourceType]
|
176
176
|
@source_type = j_obj.source_type
|
177
177
|
@source_type = @source_type.to_s.to_sym unless @source_type.nil?
|
178
178
|
|
@@ -248,11 +248,11 @@ module Killbill
|
|
248
248
|
@category = j_obj.category
|
249
249
|
@category = @category.to_s.to_sym unless @category.nil?
|
250
250
|
|
251
|
-
# conversion for pending_transition [type = com.ning.billing.
|
251
|
+
# conversion for pending_transition [type = com.ning.billing.subscription.api.user.SubscriptionTransition]
|
252
252
|
@pending_transition = j_obj.pending_transition
|
253
253
|
@pending_transition = Killbill::Plugin::Model::SubscriptionTransition.new.to_ruby(@pending_transition) unless @pending_transition.nil?
|
254
254
|
|
255
|
-
# conversion for previous_transition [type = com.ning.billing.
|
255
|
+
# conversion for previous_transition [type = com.ning.billing.subscription.api.user.SubscriptionTransition]
|
256
256
|
@previous_transition = j_obj.previous_transition
|
257
257
|
@previous_transition = Killbill::Plugin::Model::SubscriptionTransition.new.to_ruby(@previous_transition) unless @previous_transition.nil?
|
258
258
|
|
@@ -260,7 +260,7 @@ module Killbill
|
|
260
260
|
@all_transitions = j_obj.all_transitions
|
261
261
|
tmp = []
|
262
262
|
(@all_transitions || []).each do |m|
|
263
|
-
# conversion for m [type = com.ning.billing.
|
263
|
+
# conversion for m [type = com.ning.billing.subscription.api.user.SubscriptionTransition]
|
264
264
|
m = Killbill::Plugin::Model::SubscriptionTransition.new.to_ruby(m) unless m.nil?
|
265
265
|
tmp << m
|
266
266
|
end
|
@@ -27,10 +27,10 @@ module Killbill
|
|
27
27
|
module Plugin
|
28
28
|
module Model
|
29
29
|
|
30
|
-
java_package 'com.ning.billing.
|
30
|
+
java_package 'com.ning.billing.subscription.api.user'
|
31
31
|
class SubscriptionBundle
|
32
32
|
|
33
|
-
include com.ning.billing.
|
33
|
+
include com.ning.billing.subscription.api.user.SubscriptionBundle
|
34
34
|
|
35
35
|
attr_accessor :id, :created_date, :updated_date, :blocking_state, :account_id, :external_key, :overdue_state
|
36
36
|
|
@@ -53,7 +53,7 @@ module Killbill
|
|
53
53
|
@updated_date = Java::org.joda.time.DateTime.new(@updated_date.to_s, Java::org.joda.time.DateTimeZone::UTC)
|
54
54
|
end
|
55
55
|
|
56
|
-
# conversion for blocking_state [type = com.ning.billing.
|
56
|
+
# conversion for blocking_state [type = com.ning.billing.entitlement.api.BlockingState]
|
57
57
|
@blocking_state = @blocking_state.to_java unless @blocking_state.nil?
|
58
58
|
|
59
59
|
# conversion for account_id [type = java.util.UUID]
|
@@ -88,7 +88,7 @@ module Killbill
|
|
88
88
|
@updated_date = DateTime.iso8601(str)
|
89
89
|
end
|
90
90
|
|
91
|
-
# conversion for blocking_state [type = com.ning.billing.
|
91
|
+
# conversion for blocking_state [type = com.ning.billing.entitlement.api.BlockingState]
|
92
92
|
@blocking_state = j_obj.blocking_state
|
93
93
|
@blocking_state = Killbill::Plugin::Model::BlockingState.new.to_ruby(@blocking_state) unless @blocking_state.nil?
|
94
94
|
|
@@ -27,10 +27,10 @@ module Killbill
|
|
27
27
|
module Plugin
|
28
28
|
module Model
|
29
29
|
|
30
|
-
java_package 'com.ning.billing.
|
30
|
+
java_package 'com.ning.billing.subscription.api.user'
|
31
31
|
class SubscriptionStatusDryRun
|
32
32
|
|
33
|
-
include com.ning.billing.
|
33
|
+
include com.ning.billing.subscription.api.user.SubscriptionStatusDryRun
|
34
34
|
|
35
35
|
attr_accessor :id, :product_name, :billing_period, :price_list, :phase_type, :reason
|
36
36
|
|
@@ -53,8 +53,8 @@ module Killbill
|
|
53
53
|
# conversion for phase_type [type = com.ning.billing.catalog.api.PhaseType]
|
54
54
|
@phase_type = Java::com.ning.billing.catalog.api.PhaseType.value_of("#{@phase_type.to_s}") unless @phase_type.nil?
|
55
55
|
|
56
|
-
# conversion for reason [type = com.ning.billing.
|
57
|
-
@reason = Java::com.ning.billing.
|
56
|
+
# conversion for reason [type = com.ning.billing.subscription.api.user.DryRunChangeReason]
|
57
|
+
@reason = Java::com.ning.billing.subscription.api.user.DryRunChangeReason.value_of("#{@reason.to_s}") unless @reason.nil?
|
58
58
|
self
|
59
59
|
end
|
60
60
|
|
@@ -77,7 +77,7 @@ module Killbill
|
|
77
77
|
@phase_type = j_obj.phase_type
|
78
78
|
@phase_type = @phase_type.to_s.to_sym unless @phase_type.nil?
|
79
79
|
|
80
|
-
# conversion for reason [type = com.ning.billing.
|
80
|
+
# conversion for reason [type = com.ning.billing.subscription.api.user.DryRunChangeReason]
|
81
81
|
@reason = j_obj.reason
|
82
82
|
@reason = @reason.to_s.to_sym unless @reason.nil?
|
83
83
|
self
|
@@ -27,10 +27,10 @@ module Killbill
|
|
27
27
|
module Plugin
|
28
28
|
module Model
|
29
29
|
|
30
|
-
java_package 'com.ning.billing.
|
30
|
+
java_package 'com.ning.billing.subscription.api.user'
|
31
31
|
class SubscriptionTransition
|
32
32
|
|
33
|
-
include com.ning.billing.
|
33
|
+
include com.ning.billing.subscription.api.user.SubscriptionTransition
|
34
34
|
|
35
35
|
attr_accessor :subscription_id, :bundle_id, :previous_state, :next_state, :previous_event_id, :previous_event_created_date, :previous_plan, :next_plan, :previous_phase, :next_event_id, :next_event_created_date, :next_phase, :previous_price_list, :next_price_list, :requested_transition_time, :effective_transition_time, :transition_type
|
36
36
|
|
@@ -44,11 +44,11 @@ module Killbill
|
|
44
44
|
# conversion for bundle_id [type = java.util.UUID]
|
45
45
|
@bundle_id = java.util.UUID.fromString(@bundle_id.to_s) unless @bundle_id.nil?
|
46
46
|
|
47
|
-
# conversion for previous_state [type = com.ning.billing.
|
48
|
-
@previous_state = Java::com.ning.billing.
|
47
|
+
# conversion for previous_state [type = com.ning.billing.subscription.api.user.SubscriptionState]
|
48
|
+
@previous_state = Java::com.ning.billing.subscription.api.user.SubscriptionState.value_of("#{@previous_state.to_s}") unless @previous_state.nil?
|
49
49
|
|
50
|
-
# conversion for next_state [type = com.ning.billing.
|
51
|
-
@next_state = Java::com.ning.billing.
|
50
|
+
# conversion for next_state [type = com.ning.billing.subscription.api.user.SubscriptionState]
|
51
|
+
@next_state = Java::com.ning.billing.subscription.api.user.SubscriptionState.value_of("#{@next_state.to_s}") unless @next_state.nil?
|
52
52
|
|
53
53
|
# conversion for previous_event_id [type = java.util.UUID]
|
54
54
|
@previous_event_id = java.util.UUID.fromString(@previous_event_id.to_s) unless @previous_event_id.nil?
|
@@ -98,8 +98,8 @@ module Killbill
|
|
98
98
|
@effective_transition_time = Java::org.joda.time.DateTime.new(@effective_transition_time.to_s, Java::org.joda.time.DateTimeZone::UTC)
|
99
99
|
end
|
100
100
|
|
101
|
-
# conversion for transition_type [type = com.ning.billing.
|
102
|
-
@transition_type = Java::com.ning.billing.
|
101
|
+
# conversion for transition_type [type = com.ning.billing.subscription.api.SubscriptionTransitionType]
|
102
|
+
@transition_type = Java::com.ning.billing.subscription.api.SubscriptionTransitionType.value_of("#{@transition_type.to_s}") unless @transition_type.nil?
|
103
103
|
self
|
104
104
|
end
|
105
105
|
|
@@ -112,11 +112,11 @@ module Killbill
|
|
112
112
|
@bundle_id = j_obj.bundle_id
|
113
113
|
@bundle_id = @bundle_id.nil? ? nil : @bundle_id.to_s
|
114
114
|
|
115
|
-
# conversion for previous_state [type = com.ning.billing.
|
115
|
+
# conversion for previous_state [type = com.ning.billing.subscription.api.user.SubscriptionState]
|
116
116
|
@previous_state = j_obj.previous_state
|
117
117
|
@previous_state = @previous_state.to_s.to_sym unless @previous_state.nil?
|
118
118
|
|
119
|
-
# conversion for next_state [type = com.ning.billing.
|
119
|
+
# conversion for next_state [type = com.ning.billing.subscription.api.user.SubscriptionState]
|
120
120
|
@next_state = j_obj.next_state
|
121
121
|
@next_state = @next_state.to_s.to_sym unless @next_state.nil?
|
122
122
|
|
@@ -184,7 +184,7 @@ module Killbill
|
|
184
184
|
@effective_transition_time = DateTime.iso8601(str)
|
185
185
|
end
|
186
186
|
|
187
|
-
# conversion for transition_type [type = com.ning.billing.
|
187
|
+
# conversion for transition_type [type = com.ning.billing.subscription.api.SubscriptionTransitionType]
|
188
188
|
@transition_type = j_obj.transition_type
|
189
189
|
@transition_type = @transition_type.to_s.to_sym unless @transition_type.nil?
|
190
190
|
self
|
@@ -27,17 +27,17 @@ module Killbill
|
|
27
27
|
module Plugin
|
28
28
|
module Api
|
29
29
|
|
30
|
-
java_package 'com.ning.billing.
|
31
|
-
class
|
30
|
+
java_package 'com.ning.billing.subscription.api.user'
|
31
|
+
class SubscriptionUserApi
|
32
32
|
|
33
|
-
include com.ning.billing.
|
33
|
+
include com.ning.billing.subscription.api.user.SubscriptionUserApi
|
34
34
|
|
35
35
|
def initialize(real_java_api)
|
36
36
|
@real_java_api = real_java_api
|
37
37
|
end
|
38
38
|
|
39
39
|
|
40
|
-
java_signature 'Java::com.ning.billing.
|
40
|
+
java_signature 'Java::com.ning.billing.subscription.api.user.SubscriptionBundle getBundleFromId(Java::java.util.UUID, Java::com.ning.billing.util.callcontext.TenantContext)'
|
41
41
|
def get_bundle_from_id(id, context)
|
42
42
|
|
43
43
|
# conversion for id [type = java.util.UUID]
|
@@ -47,15 +47,15 @@ module Killbill
|
|
47
47
|
context = context.to_java unless context.nil?
|
48
48
|
begin
|
49
49
|
res = @real_java_api.get_bundle_from_id(id, context)
|
50
|
-
# conversion for res [type = com.ning.billing.
|
50
|
+
# conversion for res [type = com.ning.billing.subscription.api.user.SubscriptionBundle]
|
51
51
|
res = Killbill::Plugin::Model::SubscriptionBundle.new.to_ruby(res) unless res.nil?
|
52
52
|
return res
|
53
|
-
rescue Java::com.ning.billing.
|
54
|
-
raise Killbill::Plugin::Model::
|
53
|
+
rescue Java::com.ning.billing.subscription.api.user.SubscriptionUserApiException => e
|
54
|
+
raise Killbill::Plugin::Model::SubscriptionUserApiException.new.to_ruby(e)
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
java_signature 'Java::com.ning.billing.
|
58
|
+
java_signature 'Java::com.ning.billing.subscription.api.user.Subscription getSubscriptionFromId(Java::java.util.UUID, Java::com.ning.billing.util.callcontext.TenantContext)'
|
59
59
|
def get_subscription_from_id(id, context)
|
60
60
|
|
61
61
|
# conversion for id [type = java.util.UUID]
|
@@ -65,11 +65,11 @@ module Killbill
|
|
65
65
|
context = context.to_java unless context.nil?
|
66
66
|
begin
|
67
67
|
res = @real_java_api.get_subscription_from_id(id, context)
|
68
|
-
# conversion for res [type = com.ning.billing.
|
68
|
+
# conversion for res [type = com.ning.billing.subscription.api.user.Subscription]
|
69
69
|
res = Killbill::Plugin::Model::Subscription.new.to_ruby(res) unless res.nil?
|
70
70
|
return res
|
71
|
-
rescue Java::com.ning.billing.
|
72
|
-
raise Killbill::Plugin::Model::
|
71
|
+
rescue Java::com.ning.billing.subscription.api.user.SubscriptionUserApiException => e
|
72
|
+
raise Killbill::Plugin::Model::SubscriptionUserApiException.new.to_ruby(e)
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
@@ -86,18 +86,18 @@ module Killbill
|
|
86
86
|
# conversion for res [type = java.util.List]
|
87
87
|
tmp = []
|
88
88
|
(res || []).each do |m|
|
89
|
-
# conversion for m [type = com.ning.billing.
|
89
|
+
# conversion for m [type = com.ning.billing.subscription.api.user.SubscriptionBundle]
|
90
90
|
m = Killbill::Plugin::Model::SubscriptionBundle.new.to_ruby(m) unless m.nil?
|
91
91
|
tmp << m
|
92
92
|
end
|
93
93
|
res = tmp
|
94
94
|
return res
|
95
|
-
rescue Java::com.ning.billing.
|
96
|
-
raise Killbill::Plugin::Model::
|
95
|
+
rescue Java::com.ning.billing.subscription.api.user.SubscriptionUserApiException => e
|
96
|
+
raise Killbill::Plugin::Model::SubscriptionUserApiException.new.to_ruby(e)
|
97
97
|
end
|
98
98
|
end
|
99
99
|
|
100
|
-
java_signature 'Java::com.ning.billing.
|
100
|
+
java_signature 'Java::com.ning.billing.subscription.api.user.SubscriptionBundle getBundleForAccountAndKey(Java::java.util.UUID, Java::java.lang.String, Java::com.ning.billing.util.callcontext.TenantContext)'
|
101
101
|
def get_bundle_for_account_and_key(accountId, bundleKey, context)
|
102
102
|
|
103
103
|
# conversion for accountId [type = java.util.UUID]
|
@@ -110,11 +110,11 @@ module Killbill
|
|
110
110
|
context = context.to_java unless context.nil?
|
111
111
|
begin
|
112
112
|
res = @real_java_api.get_bundle_for_account_and_key(accountId, bundleKey, context)
|
113
|
-
# conversion for res [type = com.ning.billing.
|
113
|
+
# conversion for res [type = com.ning.billing.subscription.api.user.SubscriptionBundle]
|
114
114
|
res = Killbill::Plugin::Model::SubscriptionBundle.new.to_ruby(res) unless res.nil?
|
115
115
|
return res
|
116
|
-
rescue Java::com.ning.billing.
|
117
|
-
raise Killbill::Plugin::Model::
|
116
|
+
rescue Java::com.ning.billing.subscription.api.user.SubscriptionUserApiException => e
|
117
|
+
raise Killbill::Plugin::Model::SubscriptionUserApiException.new.to_ruby(e)
|
118
118
|
end
|
119
119
|
end
|
120
120
|
|
@@ -130,7 +130,7 @@ module Killbill
|
|
130
130
|
# conversion for res [type = java.util.List]
|
131
131
|
tmp = []
|
132
132
|
(res || []).each do |m|
|
133
|
-
# conversion for m [type = com.ning.billing.
|
133
|
+
# conversion for m [type = com.ning.billing.subscription.api.user.SubscriptionBundle]
|
134
134
|
m = Killbill::Plugin::Model::SubscriptionBundle.new.to_ruby(m) unless m.nil?
|
135
135
|
tmp << m
|
136
136
|
end
|
@@ -150,7 +150,7 @@ module Killbill
|
|
150
150
|
# conversion for res [type = java.util.List]
|
151
151
|
tmp = []
|
152
152
|
(res || []).each do |m|
|
153
|
-
# conversion for m [type = com.ning.billing.
|
153
|
+
# conversion for m [type = com.ning.billing.subscription.api.user.Subscription]
|
154
154
|
m = Killbill::Plugin::Model::Subscription.new.to_ruby(m) unless m.nil?
|
155
155
|
tmp << m
|
156
156
|
end
|
@@ -173,7 +173,7 @@ module Killbill
|
|
173
173
|
# conversion for res [type = java.util.List]
|
174
174
|
tmp = []
|
175
175
|
(res || []).each do |m|
|
176
|
-
# conversion for m [type = com.ning.billing.
|
176
|
+
# conversion for m [type = com.ning.billing.subscription.api.user.Subscription]
|
177
177
|
m = Killbill::Plugin::Model::Subscription.new.to_ruby(m) unless m.nil?
|
178
178
|
tmp << m
|
179
179
|
end
|
@@ -181,7 +181,7 @@ module Killbill
|
|
181
181
|
return res
|
182
182
|
end
|
183
183
|
|
184
|
-
java_signature 'Java::com.ning.billing.
|
184
|
+
java_signature 'Java::com.ning.billing.subscription.api.user.Subscription getBaseSubscription(Java::java.util.UUID, Java::com.ning.billing.util.callcontext.TenantContext)'
|
185
185
|
def get_base_subscription(bundleId, context)
|
186
186
|
|
187
187
|
# conversion for bundleId [type = java.util.UUID]
|
@@ -191,15 +191,15 @@ module Killbill
|
|
191
191
|
context = context.to_java unless context.nil?
|
192
192
|
begin
|
193
193
|
res = @real_java_api.get_base_subscription(bundleId, context)
|
194
|
-
# conversion for res [type = com.ning.billing.
|
194
|
+
# conversion for res [type = com.ning.billing.subscription.api.user.Subscription]
|
195
195
|
res = Killbill::Plugin::Model::Subscription.new.to_ruby(res) unless res.nil?
|
196
196
|
return res
|
197
|
-
rescue Java::com.ning.billing.
|
198
|
-
raise Killbill::Plugin::Model::
|
197
|
+
rescue Java::com.ning.billing.subscription.api.user.SubscriptionUserApiException => e
|
198
|
+
raise Killbill::Plugin::Model::SubscriptionUserApiException.new.to_ruby(e)
|
199
199
|
end
|
200
200
|
end
|
201
201
|
|
202
|
-
java_signature 'Java::com.ning.billing.
|
202
|
+
java_signature 'Java::com.ning.billing.subscription.api.user.SubscriptionBundle createBundleForAccount(Java::java.util.UUID, Java::java.lang.String, Java::com.ning.billing.util.callcontext.CallContext)'
|
203
203
|
def create_bundle_for_account(accountId, bundleKey, context)
|
204
204
|
|
205
205
|
# conversion for accountId [type = java.util.UUID]
|
@@ -212,15 +212,15 @@ module Killbill
|
|
212
212
|
context = context.to_java unless context.nil?
|
213
213
|
begin
|
214
214
|
res = @real_java_api.create_bundle_for_account(accountId, bundleKey, context)
|
215
|
-
# conversion for res [type = com.ning.billing.
|
215
|
+
# conversion for res [type = com.ning.billing.subscription.api.user.SubscriptionBundle]
|
216
216
|
res = Killbill::Plugin::Model::SubscriptionBundle.new.to_ruby(res) unless res.nil?
|
217
217
|
return res
|
218
|
-
rescue Java::com.ning.billing.
|
219
|
-
raise Killbill::Plugin::Model::
|
218
|
+
rescue Java::com.ning.billing.subscription.api.user.SubscriptionUserApiException => e
|
219
|
+
raise Killbill::Plugin::Model::SubscriptionUserApiException.new.to_ruby(e)
|
220
220
|
end
|
221
221
|
end
|
222
222
|
|
223
|
-
java_signature 'Java::com.ning.billing.
|
223
|
+
java_signature 'Java::com.ning.billing.subscription.api.user.Subscription createSubscription(Java::java.util.UUID, Java::com.ning.billing.catalog.api.PlanPhaseSpecifier, Java::org.joda.time.DateTime, Java::com.ning.billing.util.callcontext.CallContext)'
|
224
224
|
def create_subscription(bundleId, spec, requestedDate, context)
|
225
225
|
|
226
226
|
# conversion for bundleId [type = java.util.UUID]
|
@@ -239,11 +239,11 @@ module Killbill
|
|
239
239
|
context = context.to_java unless context.nil?
|
240
240
|
begin
|
241
241
|
res = @real_java_api.create_subscription(bundleId, spec, requestedDate, context)
|
242
|
-
# conversion for res [type = com.ning.billing.
|
242
|
+
# conversion for res [type = com.ning.billing.subscription.api.user.Subscription]
|
243
243
|
res = Killbill::Plugin::Model::Subscription.new.to_ruby(res) unless res.nil?
|
244
244
|
return res
|
245
|
-
rescue Java::com.ning.billing.
|
246
|
-
raise Killbill::Plugin::Model::
|
245
|
+
rescue Java::com.ning.billing.subscription.api.user.SubscriptionUserApiException => e
|
246
|
+
raise Killbill::Plugin::Model::SubscriptionUserApiException.new.to_ruby(e)
|
247
247
|
end
|
248
248
|
end
|
249
249
|
|
@@ -269,14 +269,14 @@ module Killbill
|
|
269
269
|
# conversion for res [type = java.util.List]
|
270
270
|
tmp = []
|
271
271
|
(res || []).each do |m|
|
272
|
-
# conversion for m [type = com.ning.billing.
|
272
|
+
# conversion for m [type = com.ning.billing.subscription.api.user.SubscriptionStatusDryRun]
|
273
273
|
m = Killbill::Plugin::Model::SubscriptionStatusDryRun.new.to_ruby(m) unless m.nil?
|
274
274
|
tmp << m
|
275
275
|
end
|
276
276
|
res = tmp
|
277
277
|
return res
|
278
|
-
rescue Java::com.ning.billing.
|
279
|
-
raise Killbill::Plugin::Model::
|
278
|
+
rescue Java::com.ning.billing.subscription.api.user.SubscriptionUserApiException => e
|
279
|
+
raise Killbill::Plugin::Model::SubscriptionUserApiException.new.to_ruby(e)
|
280
280
|
end
|
281
281
|
end
|
282
282
|
|
data/lib/killbill/gen/api/{entitlement_user_api_exception.rb → subscription_user_api_exception.rb}
RENAMED
@@ -27,7 +27,7 @@ module Killbill
|
|
27
27
|
module Plugin
|
28
28
|
module Model
|
29
29
|
|
30
|
-
class
|
30
|
+
class SubscriptionUserApiException
|
31
31
|
|
32
32
|
|
33
33
|
attr_accessor :message, :cause, :code
|
@@ -44,7 +44,7 @@ module Killbill
|
|
44
44
|
|
45
45
|
# conversion for code [type = int]
|
46
46
|
@code = @code
|
47
|
-
Java::com.ning.billing.
|
47
|
+
Java::com.ning.billing.subscription.api.user.SubscriptionUserApiException.new(@message, @cause, @code)
|
48
48
|
end
|
49
49
|
|
50
50
|
def to_ruby(j_obj)
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: killbill
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.3.0
|
4
5
|
prerelease:
|
5
|
-
version: 1.2.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Kill Bill core team
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-07-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sinatra
|
@@ -147,8 +147,7 @@ files:
|
|
147
147
|
- lib/killbill/gen/api/custom_field_user_api.rb
|
148
148
|
- lib/killbill/gen/api/database_export_output_stream.rb
|
149
149
|
- lib/killbill/gen/api/duration.rb
|
150
|
-
- lib/killbill/gen/api/
|
151
|
-
- lib/killbill/gen/api/entitlement_user_api_exception.rb
|
150
|
+
- lib/killbill/gen/api/entitlement_api.rb
|
152
151
|
- lib/killbill/gen/api/entity.rb
|
153
152
|
- lib/killbill/gen/api/illegal_plan_change.rb
|
154
153
|
- lib/killbill/gen/api/international_price.rb
|
@@ -162,7 +161,6 @@ files:
|
|
162
161
|
- lib/killbill/gen/api/invoice_payment.rb
|
163
162
|
- lib/killbill/gen/api/invoice_payment_api.rb
|
164
163
|
- lib/killbill/gen/api/invoice_user_api.rb
|
165
|
-
- lib/killbill/gen/api/junction_api.rb
|
166
164
|
- lib/killbill/gen/api/limit.rb
|
167
165
|
- lib/killbill/gen/api/listing.rb
|
168
166
|
- lib/killbill/gen/api/migration_plan.rb
|
@@ -195,6 +193,8 @@ files:
|
|
195
193
|
- lib/killbill/gen/api/subscription_bundle.rb
|
196
194
|
- lib/killbill/gen/api/subscription_status_dry_run.rb
|
197
195
|
- lib/killbill/gen/api/subscription_transition.rb
|
196
|
+
- lib/killbill/gen/api/subscription_user_api.rb
|
197
|
+
- lib/killbill/gen/api/subscription_user_api_exception.rb
|
198
198
|
- lib/killbill/gen/api/tag.rb
|
199
199
|
- lib/killbill/gen/api/tag_api_exception.rb
|
200
200
|
- lib/killbill/gen/api/tag_definition.rb
|
@@ -258,9 +258,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
258
258
|
- !ruby/object:Gem::Version
|
259
259
|
segments:
|
260
260
|
- 0
|
261
|
-
hash: 2
|
262
261
|
version: !binary |-
|
263
262
|
MA==
|
263
|
+
hash: 2
|
264
264
|
none: false
|
265
265
|
requirements:
|
266
266
|
- jar 'com.ning.billing:killbill-api'
|