killbill 1.8.3 → 1.8.4

Sign up to get free protection for your applications and to get access to all the features.
data/Jarfile CHANGED
@@ -1,4 +1,4 @@
1
- jar 'com.ning.billing:killbill-api', '0.7.4'
1
+ jar 'com.ning.billing:killbill-api', '0.7.6'
2
2
  jar 'com.ning.billing.plugin:killbill-plugin-api-notification', '0.6.1'
3
3
  jar 'com.ning.billing.plugin:killbill-plugin-api-payment', '0.6.1'
4
4
  jar 'com.ning.billing.plugin:killbill-plugin-api-currency', '0.6.1'
data/NEWS CHANGED
@@ -1,3 +1,6 @@
1
+ 1.8.4
2
+ Regenerate models to export refund status
3
+
1
4
  1.8.3
2
5
  Regenerate models for currency conversion api changes
3
6
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.3
1
+ 1.8.4
@@ -32,7 +32,7 @@ module Killbill
32
32
 
33
33
  include com.ning.billing.invoice.api.formatters.InvoiceFormatter
34
34
 
35
- attr_accessor :invoice_items, :number_of_items, :payments, :number_of_payments, :account_id, :invoice_number, :invoice_date, :target_date, :currency, :paid_amount, :original_charged_amount, :charged_amount, :credited_amount, :refunded_amount, :balance, :is_migration_invoice, :id, :created_date, :updated_date, :formatted_invoice_date, :formatted_charged_amount, :formatted_paid_amount, :formatted_balance
35
+ attr_accessor :invoice_items, :number_of_items, :payments, :number_of_payments, :account_id, :invoice_number, :invoice_date, :target_date, :currency, :paid_amount, :original_charged_amount, :charged_amount, :credited_amount, :refunded_amount, :balance, :is_migration_invoice, :id, :created_date, :updated_date, :formatted_invoice_date, :formatted_charged_amount, :formatted_paid_amount, :formatted_balance, :processed_currency, :processed_payment_rate
36
36
 
37
37
  def initialize()
38
38
  end
@@ -152,6 +152,12 @@ module Killbill
152
152
 
153
153
  # conversion for formatted_balance [type = java.lang.String]
154
154
  @formatted_balance = @formatted_balance.to_s unless @formatted_balance.nil?
155
+
156
+ # conversion for processed_currency [type = com.ning.billing.catalog.api.Currency]
157
+ @processed_currency = Java::com.ning.billing.catalog.api.Currency.value_of("#{@processed_currency.to_s}") unless @processed_currency.nil?
158
+
159
+ # conversion for processed_payment_rate [type = java.lang.String]
160
+ @processed_payment_rate = @processed_payment_rate.to_s unless @processed_payment_rate.nil?
155
161
  self
156
162
  end
157
163
 
@@ -269,6 +275,13 @@ module Killbill
269
275
 
270
276
  # conversion for formatted_balance [type = java.lang.String]
271
277
  @formatted_balance = j_obj.formatted_balance
278
+
279
+ # conversion for processed_currency [type = com.ning.billing.catalog.api.Currency]
280
+ @processed_currency = j_obj.processed_currency
281
+ @processed_currency = @processed_currency.to_s.to_sym unless @processed_currency.nil?
282
+
283
+ # conversion for processed_payment_rate [type = java.lang.String]
284
+ @processed_payment_rate = j_obj.processed_payment_rate
272
285
  self
273
286
  end
274
287
 
@@ -32,7 +32,7 @@ module Killbill
32
32
 
33
33
  include com.ning.billing.invoice.api.InvoicePayment
34
34
 
35
- attr_accessor :id, :created_date, :updated_date, :payment_id, :type, :invoice_id, :payment_date, :amount, :currency, :linked_invoice_payment_id, :payment_cookie_id
35
+ attr_accessor :id, :created_date, :updated_date, :payment_id, :type, :invoice_id, :payment_date, :amount, :currency, :linked_invoice_payment_id, :payment_cookie_id, :processed_currency
36
36
 
37
37
  def initialize()
38
38
  end
@@ -83,6 +83,9 @@ module Killbill
83
83
 
84
84
  # conversion for payment_cookie_id [type = java.util.UUID]
85
85
  @payment_cookie_id = java.util.UUID.fromString(@payment_cookie_id.to_s) unless @payment_cookie_id.nil?
86
+
87
+ # conversion for processed_currency [type = com.ning.billing.catalog.api.Currency]
88
+ @processed_currency = Java::com.ning.billing.catalog.api.Currency.value_of("#{@processed_currency.to_s}") unless @processed_currency.nil?
86
89
  self
87
90
  end
88
91
 
@@ -142,6 +145,10 @@ module Killbill
142
145
  # conversion for payment_cookie_id [type = java.util.UUID]
143
146
  @payment_cookie_id = j_obj.payment_cookie_id
144
147
  @payment_cookie_id = @payment_cookie_id.nil? ? nil : @payment_cookie_id.to_s
148
+
149
+ # conversion for processed_currency [type = com.ning.billing.catalog.api.Currency]
150
+ @processed_currency = j_obj.processed_currency
151
+ @processed_currency = @processed_currency.to_s.to_sym unless @processed_currency.nil?
145
152
  self
146
153
  end
147
154
 
@@ -32,7 +32,7 @@ module Killbill
32
32
 
33
33
  include com.ning.billing.payment.api.Refund
34
34
 
35
- attr_accessor :id, :created_date, :updated_date, :payment_id, :is_adjusted, :refund_amount, :currency, :effective_date, :plugin_detail
35
+ attr_accessor :id, :created_date, :updated_date, :payment_id, :is_adjusted, :refund_amount, :currency, :effective_date, :refund_status, :plugin_detail
36
36
 
37
37
  def initialize()
38
38
  end
@@ -75,6 +75,9 @@ module Killbill
75
75
  @effective_date = Java::org.joda.time.DateTime.new(@effective_date.to_s, Java::org.joda.time.DateTimeZone::UTC)
76
76
  end
77
77
 
78
+ # conversion for refund_status [type = com.ning.billing.payment.api.RefundStatus]
79
+ @refund_status = Java::com.ning.billing.payment.api.RefundStatus.value_of("#{@refund_status.to_s}") unless @refund_status.nil?
80
+
78
81
  # conversion for plugin_detail [type = com.ning.billing.payment.plugin.api.RefundInfoPlugin]
79
82
  @plugin_detail = @plugin_detail.to_java unless @plugin_detail.nil?
80
83
  self
@@ -130,6 +133,10 @@ module Killbill
130
133
  @effective_date = DateTime.iso8601(str)
131
134
  end
132
135
 
136
+ # conversion for refund_status [type = com.ning.billing.payment.api.RefundStatus]
137
+ @refund_status = j_obj.refund_status
138
+ @refund_status = @refund_status.to_s.to_sym unless @refund_status.nil?
139
+
133
140
  # conversion for plugin_detail [type = com.ning.billing.payment.plugin.api.RefundInfoPlugin]
134
141
  @plugin_detail = j_obj.plugin_detail
135
142
  @plugin_detail = Killbill::Plugin::Model::RefundInfoPlugin.new.to_ruby(@plugin_detail) unless @plugin_detail.nil?
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: killbill
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.3
5
4
  prerelease:
5
+ version: 1.8.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Kill Bill core team
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-29 00:00:00.000000000 Z
12
+ date: 2013-12-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sinatra
@@ -271,9 +271,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
271
271
  - !ruby/object:Gem::Version
272
272
  segments:
273
273
  - 0
274
+ hash: 2
274
275
  version: !binary |-
275
276
  MA==
276
- hash: 2
277
277
  none: false
278
278
  requirements:
279
279
  - jar 'com.ning.billing:killbill-api'