chargebee 1.6.2 → 1.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -0
- data/chargebee.gemspec +2 -2
- data/lib/chargebee.rb +1 -1
- data/lib/chargebee/models/addon.rb +1 -1
- data/lib/chargebee/models/customer.rb +2 -2
- data/lib/chargebee/models/estimate.rb +1 -1
- data/lib/chargebee/models/invoice.rb +1 -1
- data/lib/chargebee/models/plan.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa11ff0de2db8605403792b36bbdc366c17b1b3c
|
4
|
+
data.tar.gz: b4bd340e21d7bb941d73530523924eef517ccecb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 708a2ea2201f8f90416c7af8722a08ba609cb0a12b341f0bb12c9666072331b386e88799544d1235dc4734b9520a01088c0ff81e708026d1bcd489728e43ebce
|
7
|
+
data.tar.gz: 8b449a90109c01d463c60e001841f8e3860477740a01581c7c830b923bcafce4e2176ccf55fc61b68f401285c72c84d200c67cff577ef2d1581870119ad3f732
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,26 @@
|
|
1
|
+
### v1.6.3 (2015-09-18)
|
2
|
+
* * *
|
3
|
+
|
4
|
+
** APIs updated**:
|
5
|
+
|
6
|
+
Support to specify customer's tax liability. Now, create & update customer, create & update subscription, create & update subscription estimate, checkout new hosted page APIs accept the "taxability" parameter for Customer resource. See create customer API here : https://apidocs.chargebee.com/docs/api/customers#create_a_customer
|
7
|
+
|
8
|
+
Support to specify taxability for a plan & addon. Create & update methods of Plan & Addon APIs accept "taxable" parameter. See create plan API here : https://apidocs.chargebee.com/docs/api/plans#create_a_plan
|
9
|
+
|
10
|
+
The attribute "taxablility" is returned as part of Customer resource.
|
11
|
+
https://apidocs.chargebee.com/docs/api/customers#customer_attributes
|
12
|
+
|
13
|
+
The attribute "taxable" is returned as part of Plan resource.
|
14
|
+
See : https://apidocs.chargebee.com/docs/api/plans#plan_attributes
|
15
|
+
|
16
|
+
The attribute "taxable" is returned as part of Addon resource.
|
17
|
+
See : https://apidocs.chargebee.com/docs/api/addons#addon_attributes
|
18
|
+
|
19
|
+
|
20
|
+
The attribute "is_taxed" returned as part of "line_items" subresource of Estimate & Invoice resorces.
|
21
|
+
See attribute of line_items in Estimate here :
|
22
|
+
https://apidocs.chargebee.com/docs/api/estimates#estimate_attributes
|
23
|
+
|
1
24
|
### v1.6.2 (2015-09-07)
|
2
25
|
* * *
|
3
26
|
|
data/chargebee.gemspec
CHANGED
@@ -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 = '1.6.
|
8
|
-
s.date = '2015-09-
|
7
|
+
s.version = '1.6.3'
|
8
|
+
s.date = '2015-09-18'
|
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."
|
data/lib/chargebee.rb
CHANGED
@@ -2,7 +2,7 @@ module ChargeBee
|
|
2
2
|
class Addon < Model
|
3
3
|
|
4
4
|
attr_accessor :id, :name, :invoice_name, :description, :type, :charge_type, :price, :period,
|
5
|
-
:period_unit, :unit, :status, :archived_at, :invoice_notes
|
5
|
+
:period_unit, :unit, :status, :archived_at, :invoice_notes, :taxable
|
6
6
|
|
7
7
|
# OPERATIONS
|
8
8
|
#-----------
|
@@ -10,8 +10,8 @@ module ChargeBee
|
|
10
10
|
end
|
11
11
|
|
12
12
|
attr_accessor :id, :first_name, :last_name, :email, :phone, :company, :vat_number, :auto_collection,
|
13
|
-
:created_at, :created_from_ip, :card_status, :billing_address, :payment_method,
|
14
|
-
:account_credits
|
13
|
+
:created_at, :created_from_ip, :taxability, :card_status, :billing_address, :payment_method,
|
14
|
+
:invoice_notes, :account_credits
|
15
15
|
|
16
16
|
# OPERATIONS
|
17
17
|
#-----------
|
@@ -2,7 +2,7 @@ module ChargeBee
|
|
2
2
|
class Estimate < Model
|
3
3
|
|
4
4
|
class LineItem < Model
|
5
|
-
attr_accessor :date_from, :date_to, :unit_amount, :quantity, :tax, :tax_rate, :amount, :description, :type, :entity_type, :entity_id
|
5
|
+
attr_accessor :date_from, :date_to, :unit_amount, :quantity, :is_taxed, :tax, :tax_rate, :amount, :description, :type, :entity_type, :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 :date_from, :date_to, :unit_amount, :quantity, :tax, :tax_rate, :amount, :description, :type, :entity_type, :entity_id
|
5
|
+
attr_accessor :date_from, :date_to, :unit_amount, :quantity, :is_taxed, :tax, :tax_rate, :amount, :description, :type, :entity_type, :entity_id
|
6
6
|
end
|
7
7
|
|
8
8
|
class Discount < Model
|
@@ -3,7 +3,7 @@ module ChargeBee
|
|
3
3
|
|
4
4
|
attr_accessor :id, :name, :invoice_name, :description, :price, :period, :period_unit, :trial_period,
|
5
5
|
:trial_period_unit, :charge_model, :free_quantity, :setup_cost, :downgrade_penalty, :status,
|
6
|
-
:archived_at, :billing_cycles, :redirect_url, :enabled_in_hosted_pages, :invoice_notes
|
6
|
+
:archived_at, :billing_cycles, :redirect_url, :enabled_in_hosted_pages, :invoice_notes, :taxable
|
7
7
|
|
8
8
|
# OPERATIONS
|
9
9
|
#-----------
|
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: 1.6.
|
4
|
+
version: 1.6.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: 2015-09-
|
12
|
+
date: 2015-09-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_pure
|