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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b6a44a19c5b629c69e82e64e119b6a2149346932
4
- data.tar.gz: 0f8182a246d89e0bb6f6b415ca2b6064622df58f
3
+ metadata.gz: c23239627c923c413ad5d0a52780589dcb3a3b06
4
+ data.tar.gz: 4e80c6d23fee7194ef4a073611e2d47ecc77fdb8
5
5
  SHA512:
6
- metadata.gz: 679cb07a7b13425570a2feb8c2bf27838cd425d37d5bca22fc5baccfc1202272847ad5d7b4778fb941d62d051c16ea3c42587ff6c79392ad6e34fa7746d7c26a
7
- data.tar.gz: ad488436d9143741d1e45dce55ae3fdf564f1a9af02ed5ab1d531a70fc43b074b5a938c5b52abb80bd8b2b1666241fd9f24eefb6cbe0c025458c3c5171f51ec7
6
+ metadata.gz: 7de2da99c96e1a8ee775cf3d3161fee9e58945383d08963e0f5a6e3590ca5b6930967c5188dbddc9753dccadcfe43d8e1754817c4ad375b411afb51720907f19
7
+ data.tar.gz: 6855593f080209cb9a1925a049d7dcf2fcf34acc645921ebea31bb191232873aaeb4fee10028c2d0a00bb4662030be50e1d53ff80357a429a1674c25c808e019
@@ -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
 
@@ -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.5'
8
- s.date = '2017-08-28'
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."
@@ -38,7 +38,7 @@ require File.dirname(__FILE__) + '/chargebee/models/time_machine'
38
38
 
39
39
  module ChargeBee
40
40
 
41
- VERSION = '2.3.5'
41
+ VERSION = '2.3.6'
42
42
 
43
43
  @@default_env = nil
44
44
  @@verify_ca_certs = true
@@ -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.5
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-28 00:00:00.000000000 Z
12
+ date: 2017-08-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure