lib/killbill/gen/plugin-api/subscription_metadata.rb in killbill-8.3.6 vs lib/killbill/gen/plugin-api/subscription_metadata.rb in killbill-9.2.0
- old
+ new
@@ -30,24 +30,30 @@
module Model
class SubscriptionMetadata
- attr_accessor :action_type
+ attr_accessor :action_type, :bundle_external_key
def initialize()
end
def to_java()
# conversion for action_type [type = org.killbill.billing.notification.plugin.api.ActionType]
@action_type = Java::org.killbill.billing.notification.plugin.api.ActionType.value_of( @action_type.to_s ) unless @action_type.nil?
- Java::org.killbill.billing.notification.plugin.api.SubscriptionMetadata.new(@action_type)
+
+ # conversion for bundle_external_key [type = java.lang.String]
+ @bundle_external_key = @bundle_external_key.to_s unless @bundle_external_key.nil?
+ Java::org.killbill.billing.notification.plugin.api.SubscriptionMetadata.new(@action_type, @bundle_external_key)
end
def to_ruby(j_obj)
# conversion for action_type [type = org.killbill.billing.notification.plugin.api.ActionType]
@action_type = j_obj.action_type
@action_type = @action_type.to_s.to_sym unless @action_type.nil?
+
+ # conversion for bundle_external_key [type = java.lang.String]
+ @bundle_external_key = j_obj.bundle_external_key
self
end
end
end