chargebee 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f4dee269d7d7cdfd353947d85b08aad3584f469
4
- data.tar.gz: 26960db4cb4da9abe8f4ff96b2ecc084e151a8a0
3
+ metadata.gz: 0989a7a3e1475c906fa992bd3659cf78d4241630
4
+ data.tar.gz: 1382b8d4b7d44a75938720fae64207919ad688bf
5
5
  SHA512:
6
- metadata.gz: 7b2f5ac413ebe8bad1e02b1dda56233688708ab18e4b79f1efd312b0300da124dca68e02629ae626735e41f0dd851542dc4236036f6610548885cc8f386e1106
7
- data.tar.gz: 936c9e26ab19f7b17013aaa613ce073d3ca3affb9a9b091eb7b12bc36c4b12a87d1f0a4087d5c1ac6f49c603e6a740a77a32efa506ca97d6bc4379edf761426e
6
+ metadata.gz: d4e6309b36da048b8379ed5563959be08098db401deace315d01342b304c2e516cb748244a6e05870d5754f615133707ca347a11f8dbd9c90a28ea4216573b30
7
+ data.tar.gz: 0e61ee09b466c3dd2f74899ad6f66c071ab6c3920ee442e6c1513ed8e516c964f08e1acbece9137dc58a7dcc274612df297b014cfd108596f5b5b94d571fb6f9
@@ -1,3 +1,20 @@
1
+ ###v2.2.1 (2016-12-30)
2
+ * * *
3
+
4
+ ** APIs updated**:
5
+
6
+ The attributes 'plan_unit_price', 'setup_fee', 'billing_period', 'billing_period_unit' and 'plan_free_quantity' has been added to the Subscription resource.
7
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#subscription_attributes
8
+
9
+ The input parameters 'plan_unit_price', 'setup_fee' and Addon 'unit_price' has been added to Create a subscription, Create subscription for customer, Update a subscription, Create a subscription estimate, Update a subscription estimate, Checkout a new subscription and Checkout existing subscription, Import a subscription and Import subscription for customer APIs.
10
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#create_a_subscription
11
+
12
+ An input parameter Addon 'unit_price' has been added to Charge addon at term end, Create an Invoice, Create invoice for addon and Add addon item to pending invoice APIs.
13
+ See : https://apidocs.chargebee.com/docs/api/invoices#create_an_invoice
14
+
15
+ An attribute 'tax_exempt_reason' has been added to line items sub resource in Invoice, Credit Note and Estimate resources.
16
+ See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
17
+
1
18
  ###v2.2.0 (2016-12-09)
2
19
  * * *
3
20
 
@@ -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.2.0'
8
- s.date = '2016-12-09'
7
+ s.version = '2.2.1'
8
+ s.date = '2016-12-30'
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."
@@ -33,7 +33,7 @@ require File.dirname(__FILE__) + '/chargebee/models/download'
33
33
 
34
34
  module ChargeBee
35
35
 
36
- VERSION = '2.2.0'
36
+ VERSION = '2.2.1'
37
37
 
38
38
  @@default_env = nil
39
39
  @@verify_ca_certs = true
@@ -2,7 +2,7 @@ module ChargeBee
2
2
  class CreditNote < Model
3
3
 
4
4
  class LineItem < Model
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
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, :tax_exempt_reason, :entity_id
6
6
  end
7
7
 
8
8
  class Discount < Model
@@ -2,7 +2,7 @@ module ChargeBee
2
2
  class CreditNoteEstimate < Model
3
3
 
4
4
  class LineItem < Model
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
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, :tax_exempt_reason, :entity_id
6
6
  end
7
7
 
8
8
  class Discount < Model
@@ -2,7 +2,7 @@ module ChargeBee
2
2
  class Invoice < Model
3
3
 
4
4
  class LineItem < Model
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
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, :tax_exempt_reason, :entity_id
6
6
  end
7
7
 
8
8
  class Discount < Model
@@ -2,7 +2,7 @@ module ChargeBee
2
2
  class InvoiceEstimate < Model
3
3
 
4
4
  class LineItem < Model
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
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, :tax_exempt_reason, :entity_id
6
6
  end
7
7
 
8
8
  class Discount < Model
@@ -2,7 +2,7 @@ module ChargeBee
2
2
  class Subscription < Model
3
3
 
4
4
  class Addon < Model
5
- attr_accessor :id, :quantity
5
+ attr_accessor :id, :quantity, :unit_price
6
6
  end
7
7
 
8
8
  class Coupon < Model
@@ -13,7 +13,8 @@ module ChargeBee
13
13
  attr_accessor :first_name, :last_name, :email, :company, :phone, :line1, :line2, :line3, :city, :state_code, :state, :country, :zip, :validation_status
14
14
  end
15
15
 
16
- attr_accessor :id, :customer_id, :currency_code, :plan_id, :plan_quantity, :status, :start_date,
16
+ attr_accessor :id, :customer_id, :currency_code, :plan_id, :plan_quantity, :plan_unit_price,
17
+ :setup_fee, :billing_period, :billing_period_unit, :plan_free_quantity, :status, :start_date,
17
18
  :trial_start, :trial_end, :current_term_start, :current_term_end, :remaining_billing_cycles,
18
19
  :po_number, :created_at, :started_at, :activated_at, :cancelled_at, :cancel_reason, :affiliate_token,
19
20
  :created_from_ip, :resource_version, :updated_at, :has_scheduled_changes, :due_invoices_count,
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.2.0
4
+ version: 2.2.1
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-12-09 00:00:00.000000000 Z
12
+ date: 2016-12-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure