chargebee 2.3.6 → 2.3.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c23239627c923c413ad5d0a52780589dcb3a3b06
4
- data.tar.gz: 4e80c6d23fee7194ef4a073611e2d47ecc77fdb8
3
+ metadata.gz: c6b40f9820bca9790f2025fcbc28aa9fa46fde75
4
+ data.tar.gz: 8e4f459b920ee05015f6b6bcf4a59ec3250b1a7b
5
5
  SHA512:
6
- metadata.gz: 7de2da99c96e1a8ee775cf3d3161fee9e58945383d08963e0f5a6e3590ca5b6930967c5188dbddc9753dccadcfe43d8e1754817c4ad375b411afb51720907f19
7
- data.tar.gz: 6855593f080209cb9a1925a049d7dcf2fcf34acc645921ebea31bb191232873aaeb4fee10028c2d0a00bb4662030be50e1d53ff80357a429a1674c25c808e019
6
+ metadata.gz: aa66e92ac1a3d55b37a33d7f44386469833483f5e46517df656192b0ccec7e20a0c83a6dc92eb88cc73a7d72059e2f6da1da5552ba3ac9be6355c2e83bac97cc
7
+ data.tar.gz: 46a24a0209f667c01d91a4fc64126c07f60c349311ae416b64c44a136a26de227fd9b8294ff35b96ad50cf6bbdc4e964acf56b1f4e1c71376a160feac3c5dbd0
@@ -1,3 +1,22 @@
1
+ ### v2.3.7 (2017-09-06)
2
+ * * *
3
+
4
+ ** APIs added**:
5
+
6
+ The new endpoint Record refund for a credit note has been added to Credit note resource.
7
+ See : https://apidocs.chargebee.com/docs/api/credit_notes#record_refund_for_a_credit_note
8
+
9
+ ** APIs updated**:
10
+
11
+ The parameter tmp_token has been deprecated in card subresource in Create a customer , Create a subscription , Update a subscription and Import subscription APIs.
12
+ See : https://apidocs.chargebee.com/docs/api/customers#create_a_customer
13
+
14
+ The parameter tmp_token has been added to payment method subresource in Create a subscription API.
15
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#create_a_subscription
16
+
17
+ The type apple_pay has been added to payment method types.
18
+ See : https://apidocs.chargebee.com/docs/api/customers#create_a_customer_payment_method_type
19
+
1
20
  ### v2.3.6 (2017-08-31)
2
21
  * * *
3
22
 
@@ -980,7 +999,7 @@ A new API called Activate a portal session method(Portal session) added to suppo
980
999
 
981
1000
  ** APIs updated**:
982
1001
 
983
- Shipping and Billing Address are returned as part of Invoice resource attributes. This returns the shiping & billing address that was present at the time of invoice generation.
1002
+ Shipping and Billing Address are returned as part of Invoice resource attributes. This returns the shipping & billing address that was present at the time of invoice generation.
984
1003
 
985
1004
  Linked Customers as part of Portal session resource attributes.
986
1005
 
@@ -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.6'
8
- s.date = '2017-08-31'
7
+ s.version = '2.3.7'
8
+ s.date = '2017-09-06'
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.6'
41
+ VERSION = '2.3.7'
42
42
 
43
43
  @@default_env = nil
44
44
  @@verify_ca_certs = true
@@ -49,6 +49,10 @@ module ChargeBee
49
49
  Request.send('post', uri_path("credit_notes",id.to_s,"pdf"), {}, env, headers)
50
50
  end
51
51
 
52
+ def self.record_refund(id, params, env=nil, headers={})
53
+ Request.send('post', uri_path("credit_notes",id.to_s,"record_refund"), params, env, headers)
54
+ end
55
+
52
56
  def self.void_credit_note(id, params={}, env=nil, headers={})
53
57
  Request.send('post', uri_path("credit_notes",id.to_s,"void"), params, env, headers)
54
58
  end
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.6
4
+ version: 2.3.7
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-31 00:00:00.000000000 Z
12
+ date: 2017-09-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure