chargebee 2.3.5 → 2.3.6
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 +4 -4
- data/CHANGELOG.md +18 -0
- data/chargebee.gemspec +2 -2
- data/lib/chargebee.rb +1 -1
- data/lib/chargebee/models/estimate.rb +4 -0
- data/lib/chargebee/models/unbilled_charge.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: c23239627c923c413ad5d0a52780589dcb3a3b06
|
|
4
|
+
data.tar.gz: 4e80c6d23fee7194ef4a073611e2d47ecc77fdb8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7de2da99c96e1a8ee775cf3d3161fee9e58945383d08963e0f5a6e3590ca5b6930967c5188dbddc9753dccadcfe43d8e1754817c4ad375b411afb51720907f19
|
|
7
|
+
data.tar.gz: 6855593f080209cb9a1925a049d7dcf2fcf34acc645921ebea31bb191232873aaeb4fee10028c2d0a00bb4662030be50e1d53ff80357a429a1674c25c808e019
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
### v2.3.6 (2017-08-31)
|
|
2
|
+
* * *
|
|
3
|
+
|
|
4
|
+
** APIs added**:
|
|
5
|
+
|
|
6
|
+
The parameters credit_option_for_current_term_charges, unbilled_charges_option,refundable_credits_handling and account_receivables_handling would be added inCancel subscription API.
|
|
7
|
+
See : https://apidocs.chargebee.com/docs/api/subscriptions#cancel_a_subscription
|
|
8
|
+
|
|
9
|
+
A new endpoint Cancel subscription estimate would be added to the Estimate resource.
|
|
10
|
+
See : https://apidocs.chargebee.com/docs/api/estimates#cancel_subscription_estimate
|
|
11
|
+
|
|
12
|
+
The attribute deleted would be added to the Unbilled charge resource.
|
|
13
|
+
See : https://apidocs.chargebee.com/docs/api/unbilled_charges#unbilled_charge_attributes
|
|
14
|
+
|
|
15
|
+
The parameter include_deleted would be added in List Unbilled Charges API.
|
|
16
|
+
See : https://apidocs.chargebee.com/docs/api/unbilled_charges#list_unbilled_charges
|
|
17
|
+
|
|
18
|
+
|
|
1
19
|
### v2.3.5 (2017-08-28)
|
|
2
20
|
* * *
|
|
3
21
|
|
data/chargebee.gemspec
CHANGED
|
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
|
|
|
4
4
|
s.rubygems_version = '1.3.5'
|
|
5
5
|
s.required_ruby_version = '>= 1.9.3'
|
|
6
6
|
s.name = 'chargebee'
|
|
7
|
-
s.version = '2.3.
|
|
8
|
-
s.date = '2017-08-
|
|
7
|
+
s.version = '2.3.6'
|
|
8
|
+
s.date = '2017-08-31'
|
|
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
|
@@ -31,5 +31,9 @@ module ChargeBee
|
|
|
31
31
|
Request.send('post', uri_path("subscriptions",id.to_s,"change_term_end_estimate"), params, env, headers)
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
+
def self.cancel_subscription(id, params={}, env=nil, headers={})
|
|
35
|
+
Request.send('post', uri_path("subscriptions",id.to_s,"cancel_subscription_estimate"), params, env, headers)
|
|
36
|
+
end
|
|
37
|
+
|
|
34
38
|
end # ~Estimate
|
|
35
39
|
end # ~ChargeBee
|
|
@@ -3,7 +3,7 @@ module ChargeBee
|
|
|
3
3
|
|
|
4
4
|
attr_accessor :id, :customer_id, :subscription_id, :date_from, :date_to, :unit_amount, :quantity,
|
|
5
5
|
:amount, :currency_code, :discount_amount, :description, :entity_type, :entity_id, :is_voided,
|
|
6
|
-
:voided_at
|
|
6
|
+
:voided_at, :deleted
|
|
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: 2.3.
|
|
4
|
+
version: 2.3.6
|
|
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: 2017-08-
|
|
12
|
+
date: 2017-08-31 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: json_pure
|