killbill 1.8.1 → 1.8.2
Sign up to get free protection for your applications and to get access to all the features.
data/NEWS
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.8.
|
1
|
+
1.8.2
|
@@ -32,7 +32,7 @@ module Killbill
|
|
32
32
|
|
33
33
|
include com.ning.billing.payment.plugin.api.PaymentInfoPlugin
|
34
34
|
|
35
|
-
attr_accessor :amount, :created_date, :effective_date, :status, :gateway_error, :gateway_error_code, :first_payment_reference_id, :second_payment_reference_id
|
35
|
+
attr_accessor :amount, :currency, :created_date, :effective_date, :status, :gateway_error, :gateway_error_code, :first_payment_reference_id, :second_payment_reference_id
|
36
36
|
|
37
37
|
def initialize()
|
38
38
|
end
|
@@ -45,6 +45,9 @@ module Killbill
|
|
45
45
|
@amount = java.math.BigDecimal.new(@amount.to_s)
|
46
46
|
end
|
47
47
|
|
48
|
+
# conversion for currency [type = com.ning.billing.catalog.api.Currency]
|
49
|
+
@currency = Java::com.ning.billing.catalog.api.Currency.value_of("#{@currency.to_s}") unless @currency.nil?
|
50
|
+
|
48
51
|
# conversion for created_date [type = org.joda.time.DateTime]
|
49
52
|
if !@created_date.nil?
|
50
53
|
@created_date = (@created_date.kind_of? Time) ? DateTime.parse(@created_date.to_s) : @created_date
|
@@ -79,6 +82,10 @@ module Killbill
|
|
79
82
|
@amount = j_obj.amount
|
80
83
|
@amount = @amount.nil? ? 0 : BigDecimal.new(@amount.to_s)
|
81
84
|
|
85
|
+
# conversion for currency [type = com.ning.billing.catalog.api.Currency]
|
86
|
+
@currency = j_obj.currency
|
87
|
+
@currency = @currency.to_s.to_sym unless @currency.nil?
|
88
|
+
|
82
89
|
# conversion for created_date [type = org.joda.time.DateTime]
|
83
90
|
@created_date = j_obj.created_date
|
84
91
|
if !@created_date.nil?
|
@@ -32,7 +32,7 @@ module Killbill
|
|
32
32
|
|
33
33
|
include com.ning.billing.payment.plugin.api.RefundInfoPlugin
|
34
34
|
|
35
|
-
attr_accessor :amount, :created_date, :effective_date, :status, :gateway_error, :gateway_error_code, :reference_id
|
35
|
+
attr_accessor :amount, :currency, :created_date, :effective_date, :status, :gateway_error, :gateway_error_code, :reference_id
|
36
36
|
|
37
37
|
def initialize()
|
38
38
|
end
|
@@ -45,6 +45,9 @@ module Killbill
|
|
45
45
|
@amount = java.math.BigDecimal.new(@amount.to_s)
|
46
46
|
end
|
47
47
|
|
48
|
+
# conversion for currency [type = com.ning.billing.catalog.api.Currency]
|
49
|
+
@currency = Java::com.ning.billing.catalog.api.Currency.value_of("#{@currency.to_s}") unless @currency.nil?
|
50
|
+
|
48
51
|
# conversion for created_date [type = org.joda.time.DateTime]
|
49
52
|
if !@created_date.nil?
|
50
53
|
@created_date = (@created_date.kind_of? Time) ? DateTime.parse(@created_date.to_s) : @created_date
|
@@ -76,6 +79,10 @@ module Killbill
|
|
76
79
|
@amount = j_obj.amount
|
77
80
|
@amount = @amount.nil? ? 0 : BigDecimal.new(@amount.to_s)
|
78
81
|
|
82
|
+
# conversion for currency [type = com.ning.billing.catalog.api.Currency]
|
83
|
+
@currency = j_obj.currency
|
84
|
+
@currency = @currency.to_s.to_sym unless @currency.nil?
|
85
|
+
|
79
86
|
# conversion for created_date [type = org.joda.time.DateTime]
|
80
87
|
@created_date = j_obj.created_date
|
81
88
|
if !@created_date.nil?
|