chargebee 2.3.6 → 2.3.7
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 +20 -1
- data/chargebee.gemspec +2 -2
- data/lib/chargebee.rb +1 -1
- data/lib/chargebee/models/credit_note.rb +4 -0
- 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: c6b40f9820bca9790f2025fcbc28aa9fa46fde75
|
|
4
|
+
data.tar.gz: 8e4f459b920ee05015f6b6bcf4a59ec3250b1a7b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aa66e92ac1a3d55b37a33d7f44386469833483f5e46517df656192b0ccec7e20a0c83a6dc92eb88cc73a7d72059e2f6da1da5552ba3ac9be6355c2e83bac97cc
|
|
7
|
+
data.tar.gz: 46a24a0209f667c01d91a4fc64126c07f60c349311ae416b64c44a136a26de227fd9b8294ff35b96ad50cf6bbdc4e964acf56b1f4e1c71376a160feac3c5dbd0
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
|
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
|
|
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-
|
|
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."
|
data/lib/chargebee.rb
CHANGED
|
@@ -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.
|
|
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-
|
|
12
|
+
date: 2017-09-06 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: json_pure
|