lib/killbill/gen/api/recurring.rb in killbill-3.2.4 vs lib/killbill/gen/api/recurring.rb in killbill-4.0.0
- old
+ new
@@ -39,10 +39,10 @@
def initialize()
end
def to_java()
# conversion for billing_period [type = org.killbill.billing.catalog.api.BillingPeriod]
- @billing_period = Java::org.killbill.billing.catalog.api.BillingPeriod.value_of("#{@billing_period.to_s}") unless @billing_period.nil?
+ @billing_period = Java::org.killbill.billing.catalog.api.BillingPeriod.value_of( @billing_period.to_s ) unless @billing_period.nil?
# conversion for recurring_price [type = org.killbill.billing.catalog.api.InternationalPrice]
@recurring_price = @recurring_price.to_java unless @recurring_price.nil?
self
end