chargebee 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -0
- data/README.rdoc +4 -4
- data/chargebee.gemspec +2 -2
- data/lib/chargebee.rb +1 -1
- data/lib/chargebee/models/addon.rb +2 -1
- data/lib/chargebee/models/customer.rb +3 -3
- 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: b11816f041213793a3f92fe930cdbbffd76f1cfc
|
4
|
+
data.tar.gz: 07e71df52d17b6504f8f37a89a216e2b7d728b41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4312b97926c4ac31442c7829c6b23b0c35e35d03144b7cb91c3177bb1b4177069a4b8a93716d8e07bc1377f53b3953c74edec82263deecefd9238fca3cf06687
|
7
|
+
data.tar.gz: 7f283ba2cd0bad812cdeb896dfbcf2b9252f6f34259f8fa1fb8994bf6b13f97c11c1b10bad4c83a2fb42a39591ab136d5575ec0bd212af88adf5f27190f0d583
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,27 @@
|
|
1
|
+
### v2.0.1 (2016-04-29)
|
2
|
+
* * *
|
3
|
+
|
4
|
+
** APIs updated**
|
5
|
+
|
6
|
+
Support to specify Avalara "tax_code" attribute in Plan and Addon resource. Now, create and update plan, create & update addon accept "tax_code" parameter. See create plan API here : https://apidocs.chargebee.com/docs/api/plans#create_a_plan
|
7
|
+
|
8
|
+
Support to specify the exemption category or exempt number for a customer by adding "entity_code" or "exempt_number" in customer resource. You can pass "entity_code" and "exempt_number" in create, update customer, create subscription and create subscription estimate APIs. See create customer API here : https://apidocs.chargebee.com/docs/api/customers#create_a_customer
|
9
|
+
|
10
|
+
The attribute "entity_code" or "exempt_number" is returned as part of Customer resource for Avalara.
|
11
|
+
See: https://apidocs.chargebee.com/docs/api/customers#customer_attributes
|
12
|
+
|
13
|
+
The attribute "tax_code" is returned as part of Plan & Addon resources for Avalara.
|
14
|
+
See : https://apidocs.chargebee.com/docs/api/plans#plan_attributes
|
15
|
+
|
16
|
+
Support for address parameters in estimate APIs that is used to calculate tax. Now, create & update subscription estimate APIs accept line1, line2, line3 and city. See : https://apidocs.chargebee.com/docs/api/estimates#estimate_attributes
|
17
|
+
|
18
|
+
The new Cancel reason type "tax_calculation_failed" for subscription resource is added. See subscription attributes
|
19
|
+
See : https://apidocs.chargebee.com/docs/api/subscriptions#subscription_attributes
|
20
|
+
|
21
|
+
** APIs deprecated**:
|
22
|
+
|
23
|
+
The attribute "taxability" for customer has been deprecated in the Update Subscription Estimate API.
|
24
|
+
|
1
25
|
### v2.0.0 (2016-04-11)
|
2
26
|
* * *
|
3
27
|
|
data/README.rdoc
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
= Chargebee Ruby Client Library - API V2
|
2
2
|
|
3
|
-
|
3
|
+
{<img src="https://img.shields.io/gem/dtv/chargebee.svg?maxAge=2592000"/>}[https://travis-ci.org/rdoc/rdoc]
|
4
|
+
{<img src="https://img.shields.io/gem/v/chargebee.svg?maxAge=2592000"/>}[https://travis-ci.org/rdoc/rdoc]
|
4
5
|
|
5
|
-
|
6
|
-
|
7
|
-
This library is for our <b>API version V2</b>. The library for V1 can be found in {chargebee-v1 branch}[https://github.com/chargebee/chargebee-ruby/tree/chargebee-v1].
|
6
|
+
This is the Ruby Library for integrating with Chargebee. Sign up for a Chargebee account {here}[https://www.chargebee.com].
|
8
7
|
|
8
|
+
Chargebee now supports two API versions - {V1}[https://apidocs.chargebee.com/docs/api/v1] and {V2}[https://apidocs.chargebee.com/docs/api], of which V2 is the latest release and all future developments will happen in V2. This library is for <b>API version V2</b>. If you’re looking for V1, head to {chargebee-v1 branch}[https://github.com/chargebee/chargebee-ruby/tree/chargebee-v1].
|
9
9
|
|
10
10
|
== Installation
|
11
11
|
|
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 = '2.0.
|
8
|
-
s.date = '2016-04-
|
7
|
+
s.version = '2.0.1'
|
8
|
+
s.date = '2016-04-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."
|
data/lib/chargebee.rb
CHANGED
@@ -2,7 +2,8 @@ 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, :enabled_in_portal, :invoice_notes, :taxable,
|
5
|
+
:period_unit, :unit, :status, :archived_at, :enabled_in_portal, :tax_code, :invoice_notes, :taxable,
|
6
|
+
:meta_data
|
6
7
|
|
7
8
|
# OPERATIONS
|
8
9
|
#-----------
|
@@ -14,9 +14,9 @@ module ChargeBee
|
|
14
14
|
end
|
15
15
|
|
16
16
|
attr_accessor :id, :first_name, :last_name, :email, :phone, :company, :vat_number, :auto_collection,
|
17
|
-
:allow_direct_debit, :created_at, :created_from_ip, :taxability, :
|
18
|
-
:
|
19
|
-
:meta_data
|
17
|
+
:allow_direct_debit, :created_at, :created_from_ip, :taxability, :entity_code, :exempt_number,
|
18
|
+
:card_status, :billing_address, :contacts, :payment_method, :invoice_notes, :promotional_credits,
|
19
|
+
:refundable_credits, :excess_payments, :meta_data
|
20
20
|
|
21
21
|
# OPERATIONS
|
22
22
|
#-----------
|
@@ -4,7 +4,7 @@ module ChargeBee
|
|
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
6
|
:archived_at, :billing_cycles, :redirect_url, :enabled_in_hosted_pages, :enabled_in_portal,
|
7
|
-
:invoice_notes, :taxable, :meta_data
|
7
|
+
:tax_code, :invoice_notes, :taxable, :meta_data
|
8
8
|
|
9
9
|
# OPERATIONS
|
10
10
|
#-----------
|
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.
|
4
|
+
version: 2.0.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-04-
|
12
|
+
date: 2016-04-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_pure
|