chargebee 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 03b981e967df2845afe5a4012f7bd25a19735b64
4
- data.tar.gz: ec73acf89d1558036cb5c7d3b4419898b409a10f
3
+ metadata.gz: c50f7763337a5cd1aaa98f7875b30d3c3f734fba
4
+ data.tar.gz: 178dbfe900f73a7bdcc647bf87a3541649c751ff
5
5
  SHA512:
6
- metadata.gz: ca9a30a8fd1812b57af85f7c89343e5964d16deb9155a9721e8ef9a73250bab9f4ef929b51e055affb7e2f1e2c6f255e34346a665a9cb4c3a9436b764bb99523
7
- data.tar.gz: 4915512947310028191ea516a37b8869767c533709ba550a10706eb9c7a71374d64d7c761b6166011645c826080eecc93b26d148372b6ea471a8d8a31a4ba698
6
+ metadata.gz: a756b7a44160fffedb9df52269caa8f180678d0b38a62693fcd4a310f03612f15091eed08c8cfeb544a9d405bcaab70541d2f52a0a82c3e2d9355bebfb586660
7
+ data.tar.gz: 316350759181c640abc1ca0a99f3793f21b93668800a08af3a3a5f4d52e34beb98f270781f2f0116fcab8bf1db3ec080b482af1c33339ae4182219c871aa56cd
@@ -1,3 +1,40 @@
1
+ ### v2.0.3 (2016-05-20)
2
+ * * *
3
+
4
+ #### Filtering Resources using List API
5
+
6
+ Chargebee supports bulk fetching of resources via 'List' API methods. (List invoices, List subscriptions etc..). In the List methods, filtering of resources can be performed using filter parameters. Also in the List methods, the sort_by parameter is provided for sorting the result in the desired order.
7
+ See : https://apidocs.chargebee.com/docs/api#pagination_and_filtering
8
+
9
+ ** APIs deprecated**:
10
+
11
+ The Following API's are deprecated since these operations can be achieved through List API's
12
+ * List Subscriptions for a Customer
13
+ * List Invoices for a Customer
14
+ * List Invoices for a Subscription
15
+ * List Credit Note for a Customer
16
+ * List Credit Note for a Subscription
17
+ * List Transactions for a Customer
18
+ * List Transations for a Subscription
19
+
20
+ ** APIs added**:
21
+
22
+ Support to copy card to gateway for a customer. New api endpoint to copy card for a customer is added to Card resources.
23
+ See: https://apidocs.chargebee.com/docs/api/cards#copy_card
24
+
25
+ ** APIs updated**:
26
+
27
+ New attribute "id" is returned as part of Line Items subresource of Invoice and Credit Note resource.
28
+ See: https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
29
+
30
+ New attribute "name" is returned as part of Taxes subresource of Invoice and Credit Note resource.
31
+ See: https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
32
+
33
+
34
+ A new sub-resource "line_item_taxes" is returned as part of the Invoice and Credit Note resource attributes.
35
+ See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
36
+
37
+
1
38
  ### v2.0.2 (2016-05-02)
2
39
  * * *
3
40
  ** APIs added**:
@@ -38,7 +75,7 @@ The attribute "taxability" for customer has been deprecated in the Update Subscr
38
75
  #### Attributes and Operations Removed/Renamed in V2
39
76
  Chargebee [API V2](https://apidocs.chargebee.com/docs/api#versions) is now live! All our future developments will happen in V2.
40
77
 
41
- V2 has been released to accommodate certain backwards-incompatible changes. Refer our [API V2 Upgradation guide](https://apidocs.chargebee.com/docs/api#api-v2-upgradation-guide) for the complete listing of the attributes and operations that have been removed/renamed in API V2.
78
+ V2 has been released to accommodate certain backwards-incompatible changes. Refer our [API V2 Upgradation guide](https://apidocs.chargebee.com/docs/api/v1#api-v2-upgradation-guide) for the complete listing of the attributes and operations that have been removed/renamed in API V2.
42
79
 
43
80
  #### Incremental Changes in V2
44
81
 
@@ -61,6 +98,7 @@ V2 has been released to accommodate certain backwards-incompatible changes. Refe
61
98
  * *item_level_discount_amount* - only the item-level-discount amount component.
62
99
  * Further [discounts[].entity_type](https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes) will have two types for coupon - *item_level_coupon* and *document_level_coupon*.
63
100
  * Input Param *use_existing_balances* is added to the operations - [Update Subscription Estimate](https://apidocs.chargebee.com/docs/api/estimates#update_subscription_estimate) and [Subscription Renewal Estimate](https://apidocs.chargebee.com/docs/api/estimates#subscription_renewal_estimate)
101
+ * The API's *checkout_onetime_addons* and *checkout_onetime_charge* in Hosted Page resource are removed in V2.
64
102
 
65
103
  ### v1.7.2 (2016-04-06)
66
104
  * * *
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
4
4
  s.rubygems_version = '1.3.5'
5
5
 
6
6
  s.name = 'chargebee'
7
- s.version = '2.0.2'
8
- s.date = '2016-05-02'
7
+ s.version = '2.0.3'
8
+ s.date = '2016-05-20'
9
9
 
10
10
  s.summary = "Ruby client for Chargebee API."
11
11
  s.description = "Subscription Billing - Simple. Secure. Affordable. More details at www.chargebee.com."
@@ -55,6 +55,7 @@ Gem::Specification.new do |s|
55
55
  lib/chargebee/models/model.rb
56
56
  lib/chargebee/models/order.rb
57
57
  lib/chargebee/models/plan.rb
58
+ lib/chargebee/models/plan.rb~
58
59
  lib/chargebee/models/portal_session.rb
59
60
  lib/chargebee/models/subscription.rb
60
61
  lib/chargebee/models/subscription_estimate.rb
@@ -32,7 +32,7 @@ require File.dirname(__FILE__) + '/chargebee/models/download'
32
32
 
33
33
  module ChargeBee
34
34
 
35
- VERSION = '2.0.2'
35
+ VERSION = '2.0.3'
36
36
 
37
37
  @@default_env = nil
38
38
  @@verify_ca_certs = true
@@ -17,7 +17,7 @@ module ChargeBee
17
17
  end
18
18
 
19
19
  def self.list(params={}, env=nil, headers={})
20
- Request.send('get', uri_path("addons"), params, env, headers)
20
+ Request.send_list_request('get', uri_path("addons"), params, env, headers)
21
21
  end
22
22
 
23
23
  def self.retrieve(id, env=nil, headers={})
@@ -20,6 +20,10 @@ module ChargeBee
20
20
  Request.send('post', uri_path("customers",id.to_s,"switch_gateway"), params, env, headers)
21
21
  end
22
22
 
23
+ def self.copy_card_for_customer(id, params, env=nil, headers={})
24
+ Request.send('post', uri_path("customers",id.to_s,"copy_card"), params, env, headers)
25
+ end
26
+
23
27
  def self.delete_card_for_customer(id, env=nil, headers={})
24
28
  Request.send('post', uri_path("customers",id.to_s,"delete_card"), {}, env, headers)
25
29
  end
@@ -15,7 +15,7 @@ module ChargeBee
15
15
  end
16
16
 
17
17
  def self.list(params={}, env=nil, headers={})
18
- Request.send('get', uri_path("comments"), params, env, headers)
18
+ Request.send_list_request('get', uri_path("comments"), params, env, headers)
19
19
  end
20
20
 
21
21
  def self.delete(id, env=nil, headers={})
@@ -14,7 +14,7 @@ module ChargeBee
14
14
  end
15
15
 
16
16
  def self.list(params={}, env=nil, headers={})
17
- Request.send('get', uri_path("coupons"), params, env, headers)
17
+ Request.send_list_request('get', uri_path("coupons"), params, env, headers)
18
18
  end
19
19
 
20
20
  def self.retrieve(id, env=nil, headers={})
@@ -2,7 +2,7 @@ module ChargeBee
2
2
  class CreditNote < Model
3
3
 
4
4
  class LineItem < Model
5
- attr_accessor :date_from, :date_to, :unit_amount, :quantity, :is_taxed, :tax_amount, :tax_rate, :amount, :discount_amount, :item_level_discount_amount, :description, :entity_type, :entity_id
5
+ attr_accessor :id, :date_from, :date_to, :unit_amount, :quantity, :is_taxed, :tax_amount, :tax_rate, :amount, :discount_amount, :item_level_discount_amount, :description, :entity_type, :entity_id
6
6
  end
7
7
 
8
8
  class Discount < Model
@@ -10,7 +10,11 @@ module ChargeBee
10
10
  end
11
11
 
12
12
  class Tax < Model
13
- attr_accessor :amount, :description
13
+ attr_accessor :name, :amount, :description
14
+ end
15
+
16
+ class LineItemTax < Model
17
+ attr_accessor :line_item_id, :tax_name, :tax_rate, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code
14
18
  end
15
19
 
16
20
  class LinkedRefund < Model
@@ -23,7 +27,8 @@ module ChargeBee
23
27
 
24
28
  attr_accessor :id, :customer_id, :subscription_id, :reference_invoice_id, :type, :reason_code,
25
29
  :status, :vat_number, :date, :price_type, :total, :amount_allocated, :amount_refunded, :amount_available,
26
- :refunded_at, :sub_total, :line_items, :discounts, :taxes, :linked_refunds, :allocations
30
+ :refunded_at, :sub_total, :line_items, :discounts, :taxes, :line_item_taxes, :linked_refunds,
31
+ :allocations
27
32
 
28
33
  # OPERATIONS
29
34
  #-----------
@@ -33,7 +38,7 @@ module ChargeBee
33
38
  end
34
39
 
35
40
  def self.list(params={}, env=nil, headers={})
36
- Request.send('get', uri_path("credit_notes"), params, env, headers)
41
+ Request.send_list_request('get', uri_path("credit_notes"), params, env, headers)
37
42
  end
38
43
 
39
44
  def self.credit_notes_for_customer(id, params={}, env=nil, headers={})
@@ -2,7 +2,7 @@ module ChargeBee
2
2
  class CreditNoteEstimate < Model
3
3
 
4
4
  class LineItem < Model
5
- attr_accessor :date_from, :date_to, :unit_amount, :quantity, :is_taxed, :tax_amount, :tax_rate, :amount, :discount_amount, :item_level_discount_amount, :description, :entity_type, :entity_id
5
+ attr_accessor :id, :date_from, :date_to, :unit_amount, :quantity, :is_taxed, :tax_amount, :tax_rate, :amount, :discount_amount, :item_level_discount_amount, :description, :entity_type, :entity_id
6
6
  end
7
7
 
8
8
  class Discount < Model
@@ -10,11 +10,15 @@ module ChargeBee
10
10
  end
11
11
 
12
12
  class Tax < Model
13
- attr_accessor :amount, :description
13
+ attr_accessor :name, :amount, :description
14
+ end
15
+
16
+ class LineItemTax < Model
17
+ attr_accessor :line_item_id, :tax_name, :tax_rate, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code
14
18
  end
15
19
 
16
20
  attr_accessor :reference_invoice_id, :type, :price_type, :sub_total, :total, :amount_allocated,
17
- :amount_available, :line_items, :discounts, :taxes
21
+ :amount_available, :line_items, :discounts, :taxes, :line_item_taxes
18
22
 
19
23
  # OPERATIONS
20
24
  #-----------
@@ -26,7 +26,7 @@ module ChargeBee
26
26
  end
27
27
 
28
28
  def self.list(params={}, env=nil, headers={})
29
- Request.send('get', uri_path("customers"), params, env, headers)
29
+ Request.send_list_request('get', uri_path("customers"), params, env, headers)
30
30
  end
31
31
 
32
32
  def self.retrieve(id, env=nil, headers={})
@@ -35,7 +35,7 @@ module ChargeBee
35
35
  #-----------
36
36
 
37
37
  def self.list(params={}, env=nil, headers={})
38
- Request.send('get', uri_path("events"), params, env, headers)
38
+ Request.send_list_request('get', uri_path("events"), params, env, headers)
39
39
  end
40
40
 
41
41
  def self.retrieve(id, env=nil, headers={})
@@ -2,7 +2,7 @@ module ChargeBee
2
2
  class Invoice < Model
3
3
 
4
4
  class LineItem < Model
5
- attr_accessor :date_from, :date_to, :unit_amount, :quantity, :is_taxed, :tax_amount, :tax_rate, :amount, :discount_amount, :item_level_discount_amount, :description, :entity_type, :entity_id
5
+ attr_accessor :id, :date_from, :date_to, :unit_amount, :quantity, :is_taxed, :tax_amount, :tax_rate, :amount, :discount_amount, :item_level_discount_amount, :description, :entity_type, :entity_id
6
6
  end
7
7
 
8
8
  class Discount < Model
@@ -10,7 +10,11 @@ module ChargeBee
10
10
  end
11
11
 
12
12
  class Tax < Model
13
- attr_accessor :amount, :description
13
+ attr_accessor :name, :amount, :description
14
+ end
15
+
16
+ class LineItemTax < Model
17
+ attr_accessor :line_item_id, :tax_name, :tax_rate, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code
14
18
  end
15
19
 
16
20
  class LinkedPayment < Model
@@ -48,7 +52,7 @@ module ChargeBee
48
52
  attr_accessor :id, :po_number, :customer_id, :subscription_id, :recurring, :status, :vat_number,
49
53
  :price_type, :date, :total, :amount_paid, :amount_adjusted, :write_off_amount, :credits_applied,
50
54
  :amount_due, :paid_at, :dunning_status, :next_retry_at, :sub_total, :tax, :first_invoice, :currency_code,
51
- :line_items, :discounts, :taxes, :linked_payments, :applied_credits, :adjustment_credit_notes,
55
+ :line_items, :discounts, :taxes, :line_item_taxes, :linked_payments, :applied_credits, :adjustment_credit_notes,
52
56
  :issued_credit_notes, :linked_orders, :notes, :shipping_address, :billing_address
53
57
 
54
58
  # OPERATIONS
@@ -71,7 +75,7 @@ module ChargeBee
71
75
  end
72
76
 
73
77
  def self.list(params={}, env=nil, headers={})
74
- Request.send('get', uri_path("invoices"), params, env, headers)
78
+ Request.send_list_request('get', uri_path("invoices"), params, env, headers)
75
79
  end
76
80
 
77
81
  def self.invoices_for_customer(id, params={}, env=nil, headers={})
@@ -2,7 +2,7 @@ module ChargeBee
2
2
  class InvoiceEstimate < Model
3
3
 
4
4
  class LineItem < Model
5
- attr_accessor :date_from, :date_to, :unit_amount, :quantity, :is_taxed, :tax_amount, :tax_rate, :amount, :discount_amount, :item_level_discount_amount, :description, :entity_type, :entity_id
5
+ attr_accessor :id, :date_from, :date_to, :unit_amount, :quantity, :is_taxed, :tax_amount, :tax_rate, :amount, :discount_amount, :item_level_discount_amount, :description, :entity_type, :entity_id
6
6
  end
7
7
 
8
8
  class Discount < Model
@@ -10,11 +10,15 @@ module ChargeBee
10
10
  end
11
11
 
12
12
  class Tax < Model
13
- attr_accessor :amount, :description
13
+ attr_accessor :name, :amount, :description
14
+ end
15
+
16
+ class LineItemTax < Model
17
+ attr_accessor :line_item_id, :tax_name, :tax_rate, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code
14
18
  end
15
19
 
16
20
  attr_accessor :recurring, :price_type, :sub_total, :total, :credits_applied, :amount_paid, :amount_due,
17
- :line_items, :discounts, :taxes
21
+ :line_items, :discounts, :taxes, :line_item_taxes
18
22
 
19
23
  # OPERATIONS
20
24
  #-----------
@@ -20,7 +20,7 @@ module ChargeBee
20
20
  end
21
21
 
22
22
  def self.list(params={}, env=nil, headers={})
23
- Request.send('get', uri_path("orders"), params, env, headers)
23
+ Request.send_list_request('get', uri_path("orders"), params, env, headers)
24
24
  end
25
25
 
26
26
  def self.orders_for_invoice(id, params={}, env=nil, headers={})
@@ -18,7 +18,7 @@ module ChargeBee
18
18
  end
19
19
 
20
20
  def self.list(params={}, env=nil, headers={})
21
- Request.send('get', uri_path("plans"), params, env, headers)
21
+ Request.send_list_request('get', uri_path("plans"), params, env, headers)
22
22
  end
23
23
 
24
24
  def self.retrieve(id, env=nil, headers={})
@@ -0,0 +1,33 @@
1
+ module ChargeBee
2
+ class Plan < Model
3
+
4
+ attr_accessor :id, :name, :invoice_name, :description, :price, :period, :period_unit, :trial_period,
5
+ :trial_period_unit, :charge_model, :free_quantity, :setup_cost, :downgrade_penalty, :status,
6
+ :archived_at, :billing_cycles, :redirect_url, :enabled_in_hosted_pages, :enabled_in_portal,
7
+ :tax_code, :invoice_notes, :taxable, :meta_data
8
+
9
+ # OPERATIONS
10
+ #-----------
11
+
12
+ def self.create(params, env=nil, headers={})
13
+ Request.send('post', uri_path("plans"), params, env, headers)
14
+ end
15
+
16
+ def self.update(id, params={}, env=nil, headers={})
17
+ Request.send('post', uri_path("plans",id.to_s), params, env, headers)
18
+ end
19
+
20
+ def self.list(params={}, env=nil, headers={})
21
+ Request.send_list('get', uri_path("plans"), params, env, headers)
22
+ end
23
+
24
+ def self.retrieve(id, env=nil, headers={})
25
+ Request.send('get', uri_path("plans",id.to_s), {}, env, headers)
26
+ end
27
+
28
+ def self.delete(id, env=nil, headers={})
29
+ Request.send('post', uri_path("plans",id.to_s,"delete"), {}, env, headers)
30
+ end
31
+
32
+ end # ~Plan
33
+ end # ~ChargeBee
@@ -13,8 +13,8 @@ module ChargeBee
13
13
  attr_accessor :first_name, :last_name, :email, :company, :phone, :line1, :line2, :line3, :city, :state_code, :state, :country, :zip
14
14
  end
15
15
 
16
- attr_accessor :id, :plan_id, :plan_quantity, :status, :start_date, :trial_start, :trial_end,
17
- :current_term_start, :current_term_end, :remaining_billing_cycles, :po_number, :created_at,
16
+ attr_accessor :id, :customer_id, :plan_id, :plan_quantity, :status, :start_date, :trial_start,
17
+ :trial_end, :current_term_start, :current_term_end, :remaining_billing_cycles, :po_number, :created_at,
18
18
  :started_at, :activated_at, :cancelled_at, :cancel_reason, :affiliate_token, :created_from_ip,
19
19
  :has_scheduled_changes, :due_invoices_count, :due_since, :total_dues, :addons, :coupon, :coupons,
20
20
  :shipping_address, :invoice_notes, :meta_data
@@ -31,7 +31,7 @@ module ChargeBee
31
31
  end
32
32
 
33
33
  def self.list(params={}, env=nil, headers={})
34
- Request.send('get', uri_path("subscriptions"), params, env, headers)
34
+ Request.send_list_request('get', uri_path("subscriptions"), params, env, headers)
35
35
  end
36
36
 
37
37
  def self.subscriptions_for_customer(id, params={}, env=nil, headers={})
@@ -22,7 +22,7 @@ module ChargeBee
22
22
  #-----------
23
23
 
24
24
  def self.list(params={}, env=nil, headers={})
25
- Request.send('get', uri_path("transactions"), params, env, headers)
25
+ Request.send_list_request('get', uri_path("transactions"), params, env, headers)
26
26
  end
27
27
 
28
28
  def self.transactions_for_customer(id, params={}, env=nil, headers={})
@@ -1,6 +1,17 @@
1
1
  module ChargeBee
2
2
  class Request
3
3
 
4
+ def self.send_list_request(method, url, params={}, env=nil, headers={})
5
+ serialized = {}
6
+ params.each do |k, v|
7
+ if(v.kind_of? Array)
8
+ v = v.to_json
9
+ end
10
+ serialized["#{k}"] = v
11
+ end
12
+ self.send(method, url, serialized, env, headers)
13
+ end
14
+
4
15
  def self.send(method, url, params={}, env=nil, headers={})
5
16
  env ||= ChargeBee.default_env
6
17
  ser_params = Util.serialize(params)
@@ -24,13 +24,13 @@ module ChargeBee
24
24
 
25
25
  def invoice()
26
26
  invoice = get(:invoice, Invoice,
27
- {:line_items => Invoice::LineItem, :discounts => Invoice::Discount, :taxes => Invoice::Tax, :linked_payments => Invoice::LinkedPayment, :applied_credits => Invoice::AppliedCredit, :adjustment_credit_notes => Invoice::AdjustmentCreditNote, :issued_credit_notes => Invoice::IssuedCreditNote, :linked_orders => Invoice::LinkedOrder, :notes => Invoice::Note, :shipping_address => Invoice::ShippingAddress, :billing_address => Invoice::BillingAddress});
27
+ {:line_items => Invoice::LineItem, :discounts => Invoice::Discount, :taxes => Invoice::Tax, :line_item_taxes => Invoice::LineItemTax, :linked_payments => Invoice::LinkedPayment, :applied_credits => Invoice::AppliedCredit, :adjustment_credit_notes => Invoice::AdjustmentCreditNote, :issued_credit_notes => Invoice::IssuedCreditNote, :linked_orders => Invoice::LinkedOrder, :notes => Invoice::Note, :shipping_address => Invoice::ShippingAddress, :billing_address => Invoice::BillingAddress});
28
28
  return invoice;
29
29
  end
30
30
 
31
31
  def credit_note()
32
32
  credit_note = get(:credit_note, CreditNote,
33
- {:line_items => CreditNote::LineItem, :discounts => CreditNote::Discount, :taxes => CreditNote::Tax, :linked_refunds => CreditNote::LinkedRefund, :allocations => CreditNote::Allocation});
33
+ {:line_items => CreditNote::LineItem, :discounts => CreditNote::Discount, :taxes => CreditNote::Tax, :line_item_taxes => CreditNote::LineItemTax, :linked_refunds => CreditNote::LinkedRefund, :allocations => CreditNote::Allocation});
34
34
  return credit_note;
35
35
  end
36
36
 
@@ -56,9 +56,9 @@ module ChargeBee
56
56
  estimate.init_dependant(@response[:estimate], :subscription_estimate,
57
57
  {});
58
58
  estimate.init_dependant(@response[:estimate], :invoice_estimate,
59
- {:line_items => InvoiceEstimate::LineItem, :discounts => InvoiceEstimate::Discount, :taxes => InvoiceEstimate::Tax});
59
+ {:line_items => InvoiceEstimate::LineItem, :discounts => InvoiceEstimate::Discount, :taxes => InvoiceEstimate::Tax, :line_item_taxes => InvoiceEstimate::LineItemTax});
60
60
  estimate.init_dependant_list(@response[:estimate], :credit_note_estimates,
61
- {:line_items => CreditNoteEstimate::LineItem, :discounts => CreditNoteEstimate::Discount, :taxes => CreditNoteEstimate::Tax});
61
+ {:line_items => CreditNoteEstimate::LineItem, :discounts => CreditNoteEstimate::Discount, :taxes => CreditNoteEstimate::Tax, :line_item_taxes => CreditNoteEstimate::LineItemTax});
62
62
  return estimate;
63
63
  end
64
64
 
@@ -112,7 +112,7 @@ module ChargeBee
112
112
 
113
113
  def credit_notes()
114
114
  credit_notes = get_list(:credit_notes, CreditNote,
115
- {:line_items => CreditNote::LineItem, :discounts => CreditNote::Discount, :taxes => CreditNote::Tax, :linked_refunds => CreditNote::LinkedRefund, :allocations => CreditNote::Allocation});
115
+ {:line_items => CreditNote::LineItem, :discounts => CreditNote::Discount, :taxes => CreditNote::Tax, :line_item_taxes => CreditNote::LineItemTax, :linked_refunds => CreditNote::LinkedRefund, :allocations => CreditNote::Allocation});
116
116
  return credit_notes;
117
117
  end
118
118
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chargebee
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rajaraman S
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-05-02 00:00:00.000000000 Z
12
+ date: 2016-05-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure
@@ -104,6 +104,7 @@ files:
104
104
  - lib/chargebee/models/model.rb
105
105
  - lib/chargebee/models/order.rb
106
106
  - lib/chargebee/models/plan.rb
107
+ - lib/chargebee/models/plan.rb~
107
108
  - lib/chargebee/models/portal_session.rb
108
109
  - lib/chargebee/models/subscription.rb
109
110
  - lib/chargebee/models/subscription_estimate.rb