lib/killbill/gen/api/refund.rb in killbill-3.1.3 vs lib/killbill/gen/api/refund.rb in killbill-3.1.4
- old
+ new
@@ -1,12 +1,13 @@
###################################################################################
# #
# Copyright 2010-2013 Ning, Inc. #
+# Copyright 2014 The Billing Project, LLC #
# #
-# Ning licenses this file to you under the Apache License, version 2.0 #
-# (the "License"); you may not use this file except in compliance with the #
-# License. You may obtain a copy of the License at: #
+# The Billing Project licenses this file to you under the Apache License, #
+# version 2.0 (the "License"); you may not use this file except in #
+# compliance with the License. You may obtain a copy of the License at: #
# #
# http://www.apache.org/licenses/LICENSE-2.0 #
# #
# Unless required by applicable law or agreed to in writing, software #
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
@@ -76,11 +77,11 @@
end
# conversion for refund_status [type = org.killbill.billing.payment.api.RefundStatus]
@refund_status = Java::org.killbill.billing.payment.api.RefundStatus.value_of("#{@refund_status.to_s}") unless @refund_status.nil?
- # conversion for refund_info_plugin [type = org.killbill.billing.payment.plugin.api.RefundInfoPlugin]
+ # conversion for refund_info_plugin [type = org.killbill.billing.payment.plugin.api.PaymentTransactionInfoPlugin]
@refund_info_plugin = @refund_info_plugin.to_java unless @refund_info_plugin.nil?
self
end
def to_ruby(j_obj)
@@ -135,12 +136,12 @@
# conversion for refund_status [type = org.killbill.billing.payment.api.RefundStatus]
@refund_status = j_obj.refund_status
@refund_status = @refund_status.to_s.to_sym unless @refund_status.nil?
- # conversion for refund_info_plugin [type = org.killbill.billing.payment.plugin.api.RefundInfoPlugin]
+ # conversion for refund_info_plugin [type = org.killbill.billing.payment.plugin.api.PaymentTransactionInfoPlugin]
@refund_info_plugin = j_obj.refund_info_plugin
- @refund_info_plugin = Killbill::Plugin::Model::RefundInfoPlugin.new.to_ruby(@refund_info_plugin) unless @refund_info_plugin.nil?
+ @refund_info_plugin = Killbill::Plugin::Model::PaymentTransactionInfoPlugin.new.to_ruby(@refund_info_plugin) unless @refund_info_plugin.nil?
self
end
end
end