lib/killbill/gen/api/plan_change_result.rb in killbill-2.0.1 vs lib/killbill/gen/api/plan_change_result.rb in killbill-3.0.0

- old
+ new

@@ -34,30 +34,30 @@ def initialize() end def to_java() - # conversion for new_price_list [type = com.ning.billing.catalog.api.PriceList] + # conversion for new_price_list [type = org.killbill.billing.catalog.api.PriceList] @new_price_list = @new_price_list.to_java unless @new_price_list.nil? - # conversion for policy [type = com.ning.billing.catalog.api.BillingActionPolicy] - @policy = Java::com.ning.billing.catalog.api.BillingActionPolicy.value_of("#{@policy.to_s}") unless @policy.nil? + # conversion for policy [type = org.killbill.billing.catalog.api.BillingActionPolicy] + @policy = Java::org.killbill.billing.catalog.api.BillingActionPolicy.value_of("#{@policy.to_s}") unless @policy.nil? - # conversion for alignment [type = com.ning.billing.catalog.api.PlanAlignmentChange] - @alignment = Java::com.ning.billing.catalog.api.PlanAlignmentChange.value_of("#{@alignment.to_s}") unless @alignment.nil? - Java::com.ning.billing.catalog.api.PlanChangeResult.new(@new_price_list, @policy, @alignment) + # conversion for alignment [type = org.killbill.billing.catalog.api.PlanAlignmentChange] + @alignment = Java::org.killbill.billing.catalog.api.PlanAlignmentChange.value_of("#{@alignment.to_s}") unless @alignment.nil? + Java::org.killbill.billing.catalog.api.PlanChangeResult.new(@new_price_list, @policy, @alignment) end def to_ruby(j_obj) - # conversion for new_price_list [type = com.ning.billing.catalog.api.PriceList] + # conversion for new_price_list [type = org.killbill.billing.catalog.api.PriceList] @new_price_list = j_obj.new_price_list @new_price_list = Killbill::Plugin::Model::PriceList.new.to_ruby(@new_price_list) unless @new_price_list.nil? - # conversion for policy [type = com.ning.billing.catalog.api.BillingActionPolicy] + # conversion for policy [type = org.killbill.billing.catalog.api.BillingActionPolicy] @policy = j_obj.policy @policy = @policy.to_s.to_sym unless @policy.nil? - # conversion for alignment [type = com.ning.billing.catalog.api.PlanAlignmentChange] + # conversion for alignment [type = org.killbill.billing.catalog.api.PlanAlignmentChange] @alignment = j_obj.alignment @alignment = @alignment.to_s.to_sym unless @alignment.nil? self end