chargebee 1.5.9 → 1.6.0
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 +12 -0
- data/chargebee.gemspec +2 -2
- data/lib/chargebee.rb +1 -1
- data/lib/chargebee/models/invoice.rb +7 -2
- 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: 3ea8b0c2b9dc8e9df25b457bb58cfdf0fba93328
|
|
4
|
+
data.tar.gz: 6553f9b49e3fd73075e693e0e59b1fa4011548a1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c81245e4704574b77e6349f0bba7dea9c71e3eda900ee667180541cdd704503aff563c238e3912f36a052ecb1e910a49926210acab905db440a1cf590759461a
|
|
7
|
+
data.tar.gz: b0696eeb706120e3249aae8c0b6bef5d9f0b7b98bdc39b66769c8f47ae36924851273e7b24538cdc330345f209695ed4a831f600bc48b7daa0c6ce4e616a26c2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
### v1.6.0 (2015-07-20)
|
|
2
|
+
* * *
|
|
3
|
+
|
|
4
|
+
** APIs added**:
|
|
5
|
+
|
|
6
|
+
New api endpoint to Stop Dunning for "Payment Due" invoices is added. See : https://apidocs.chargebee.com/docs/api/invoices#stop_dunning_for_invoice
|
|
7
|
+
|
|
8
|
+
** APIs updated**:
|
|
9
|
+
|
|
10
|
+
The attribute for "dunning_status" is returned as part of Invoice resource.
|
|
11
|
+
See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
|
|
12
|
+
|
|
1
13
|
### v1.5.9 (2015-07-09)
|
|
2
14
|
* * *
|
|
3
15
|
|
data/chargebee.gemspec
CHANGED
|
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
|
|
|
4
4
|
s.rubygems_version = '1.3.5'
|
|
5
5
|
|
|
6
6
|
s.name = 'chargebee'
|
|
7
|
-
s.version = '1.
|
|
8
|
-
s.date = '2015-07-
|
|
7
|
+
s.version = '1.6.0'
|
|
8
|
+
s.date = '2015-07-20'
|
|
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
|
@@ -34,8 +34,9 @@ module ChargeBee
|
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
attr_accessor :id, :po_number, :customer_id, :subscription_id, :recurring, :status, :vat_number,
|
|
37
|
-
:start_date, :end_date, :amount, :amount_due, :paid_on, :
|
|
38
|
-
:discounts, :taxes, :linked_transactions, :linked_orders, :notes, :shipping_address,
|
|
37
|
+
:start_date, :end_date, :amount, :amount_due, :paid_on, :dunning_status, :next_retry, :sub_total,
|
|
38
|
+
:tax, :line_items, :discounts, :taxes, :linked_transactions, :linked_orders, :notes, :shipping_address,
|
|
39
|
+
:billing_address
|
|
39
40
|
|
|
40
41
|
# OPERATIONS
|
|
41
42
|
#-----------
|
|
@@ -52,6 +53,10 @@ module ChargeBee
|
|
|
52
53
|
Request.send('post', uri_path("invoices","charge_addon"), params, env, headers)
|
|
53
54
|
end
|
|
54
55
|
|
|
56
|
+
def self.stop_dunning(id, env=nil, headers={})
|
|
57
|
+
Request.send('post', uri_path("invoices",id.to_s,"stop_dunning"), {}, env, headers)
|
|
58
|
+
end
|
|
59
|
+
|
|
55
60
|
def self.list(params={}, env=nil, headers={})
|
|
56
61
|
Request.send('get', uri_path("invoices"), params, env, headers)
|
|
57
62
|
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: 1.
|
|
4
|
+
version: 1.6.0
|
|
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: 2015-07-
|
|
12
|
+
date: 2015-07-20 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: json_pure
|