lib/killbill/gen/api/invoice_formatter.rb in killbill-3.2.4 vs lib/killbill/gen/api/invoice_formatter.rb in killbill-4.0.0

- old
+ new

@@ -79,11 +79,11 @@ if !@target_date.nil? @target_date = Java::org.joda.time.LocalDate.parse(@target_date.to_s) end # conversion for currency [type = org.killbill.billing.catalog.api.Currency] - @currency = Java::org.killbill.billing.catalog.api.Currency.value_of("#{@currency.to_s}") unless @currency.nil? + @currency = Java::org.killbill.billing.catalog.api.Currency.value_of( @currency.to_s ) unless @currency.nil? # conversion for paid_amount [type = java.math.BigDecimal] if @paid_amount.nil? @paid_amount = java.math.BigDecimal::ZERO else @@ -154,10 +154,10 @@ # conversion for formatted_balance [type = java.lang.String] @formatted_balance = @formatted_balance.to_s unless @formatted_balance.nil? # conversion for processed_currency [type = org.killbill.billing.catalog.api.Currency] - @processed_currency = Java::org.killbill.billing.catalog.api.Currency.value_of("#{@processed_currency.to_s}") unless @processed_currency.nil? + @processed_currency = Java::org.killbill.billing.catalog.api.Currency.value_of( @processed_currency.to_s ) unless @processed_currency.nil? # conversion for processed_payment_rate [type = java.lang.String] @processed_payment_rate = @processed_payment_rate.to_s unless @processed_payment_rate.nil? self end