chargebee 2.7.0 → 2.7.1

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: e33d70e691b26d7aacf9a5b3f7150b337665db10
4
- data.tar.gz: c0dad38d4c54f9c62d04bb0a22c641e3a9104e6f
3
+ metadata.gz: 10fa49b3ee8ed8dca25b7527359029784a8af56e
4
+ data.tar.gz: 0d6fa392787a961cc2dfe9e505abd48b33b4be50
5
5
  SHA512:
6
- metadata.gz: 2991c047b78ccee6d8f6d3ea9ff7ceea1fdf25d1f9db0162581f049f80afa644d9f0d151ad393a2fcf0dcd126e345d8aebc5b8447e13a9a1184b6428ec1a258d
7
- data.tar.gz: 9397a8bcd07e75869ebfb4fd61e39e32bf110e21d4779f223a439e95c80ef2b5ad227f2711b4fa2e2724c62b68bbe87624caf60069dd95fe4b637edba612c45f
6
+ metadata.gz: 84b5ee5b02234645ce18d23a478b8ad98029d6bbd12344905d93ca9c0df3cef8d0600b74e58624c6f02066ac2146134a85598c315ae8bc00e5dad6f3701454c5
7
+ data.tar.gz: f57cc36bf1f7e9bd6c8774cfb239f84346bbf49bfa4d2e1fc288e3b881ede3fc7de4ebc1132090d9fef6a10c08f7cb494aa7b47d9b0f9319da9d139c28952589
@@ -1,3 +1,10 @@
1
+ ### v2.7.1 (2019-09-13)
2
+ * * *
3
+
4
+ * New endpoints gift_subscription_estimate and create_invoice_estimate have been added in estimate resource.
5
+ * New input parameter reference_id in payment_intent has been added in create_a_gift, create_an_invoice, create_using_payment_intent, create_a_subscription, create_subscription_for_customer, update_a_subscription, reactivate_a_subscription, resume_a_subscription, create_a_customer and collect_payment_for_customer api.
6
+ * New endpoint record_refund_for_a_payment has been added in transaction resource.
7
+
1
8
  ### v2.7.0 (2019-08-27)
2
9
  * * *
3
10
 
@@ -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.7.0'
8
- s.date = '2019-08-27'
7
+ s.version = '2.7.1'
8
+ s.date = '2019-09-13'
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."
@@ -47,7 +47,7 @@ require File.dirname(__FILE__) + '/chargebee/models/payment_intent.rb'
47
47
 
48
48
  module ChargeBee
49
49
 
50
- VERSION = '2.7.0'
50
+ VERSION = '2.7.1'
51
51
 
52
52
  @@default_env = nil
53
53
  @@verify_ca_certs = true
@@ -43,5 +43,13 @@ module ChargeBee
43
43
  Request.send('post', uri_path("subscriptions",id.to_s,"resume_subscription_estimate"), params, env, headers)
44
44
  end
45
45
 
46
+ def self.gift_subscription(params, env=nil, headers={})
47
+ Request.send('post', uri_path("estimates","gift_subscription"), params, env, headers)
48
+ end
49
+
50
+ def self.create_invoice(params, env=nil, headers={})
51
+ Request.send('post', uri_path("estimates","create_invoice"), params, env, headers)
52
+ end
53
+
46
54
  end # ~Estimate
47
55
  end # ~ChargeBee
@@ -36,6 +36,10 @@ module ChargeBee
36
36
  Request.send('post', uri_path("transactions",id.to_s,"void"), {}, env, headers)
37
37
  end
38
38
 
39
+ def self.record_refund(id, params, env=nil, headers={})
40
+ Request.send('post', uri_path("transactions",id.to_s,"record_refund"), params, env, headers)
41
+ end
42
+
39
43
  def self.list(params={}, env=nil, headers={})
40
44
  Request.send_list_request('get', uri_path("transactions"), params, env, headers)
41
45
  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.7.0
4
+ version: 2.7.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: 2019-08-27 00:00:00.000000000 Z
12
+ date: 2019-09-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure