chargebee 2.3.9 → 2.4.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/customer.rb +4 -0
- data/lib/chargebee/models/invoice.rb +3 -3
- 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: 9db3200b540a1474a92bd91f908b4e2ef32d1c96
|
|
4
|
+
data.tar.gz: 9634b99e26ef82102f0ebc34f1bc1972a9dacd5a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0dcb0d25c5ce8cb0b36600d2403b2fc98dd78fafd4124e5d4a243badf41a957e4ea1dc171370205ffed306d7703b748424e3426d73ca1915abb358f314004f35
|
|
7
|
+
data.tar.gz: 7a354690e7f684545997ca8981903f743973b0fb87042ea3b1765d454aa6a41da92c0535c3adf450e5f721caee0fb42bdaeae438958b9ea9c5e5fb412097f15b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
### v2.4.0 (2017-09-22)
|
|
2
|
+
* * *
|
|
3
|
+
|
|
4
|
+
** APIs added**:
|
|
5
|
+
|
|
6
|
+
New endpoint 'Collect payment for a customer' has been added as a restricted and deprecated API.
|
|
7
|
+
|
|
8
|
+
** APIs updated**:
|
|
9
|
+
|
|
10
|
+
The attribute 'amount_to_collect' would be added to Invoice resource.
|
|
11
|
+
See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
|
|
12
|
+
|
|
1
13
|
### v2.3.9 (2017-09-15)
|
|
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
|
s.required_ruby_version = '>= 1.9.3'
|
|
6
6
|
s.name = 'chargebee'
|
|
7
|
-
s.version = '2.
|
|
8
|
-
s.date = '2017-09-
|
|
7
|
+
s.version = '2.4.0'
|
|
8
|
+
s.date = '2017-09-22'
|
|
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
|
@@ -84,6 +84,10 @@ module ChargeBee
|
|
|
84
84
|
Request.send('post', uri_path("customers",id.to_s,"record_excess_payment"), params, env, headers)
|
|
85
85
|
end
|
|
86
86
|
|
|
87
|
+
def self.collect_payment(id, params={}, env=nil, headers={})
|
|
88
|
+
Request.send('post', uri_path("customers",id.to_s,"collect_payment"), params, env, headers)
|
|
89
|
+
end
|
|
90
|
+
|
|
87
91
|
def self.delete(id, params={}, env=nil, headers={})
|
|
88
92
|
Request.send('post', uri_path("customers",id.to_s,"delete"), params, env, headers)
|
|
89
93
|
end
|
|
@@ -57,9 +57,9 @@ module ChargeBee
|
|
|
57
57
|
:price_type, :date, :due_date, :net_term_days, :currency_code, :total, :amount_paid, :amount_adjusted,
|
|
58
58
|
:write_off_amount, :credits_applied, :amount_due, :paid_at, :dunning_status, :next_retry_at,
|
|
59
59
|
:voided_at, :resource_version, :updated_at, :sub_total, :tax, :first_invoice, :has_advance_charges,
|
|
60
|
-
:line_items, :discounts, :line_item_discounts, :taxes, :line_item_taxes,
|
|
61
|
-
:
|
|
62
|
-
:deleted
|
|
60
|
+
:amount_to_collect, :line_items, :discounts, :line_item_discounts, :taxes, :line_item_taxes,
|
|
61
|
+
:linked_payments, :applied_credits, :adjustment_credit_notes, :issued_credit_notes, :linked_orders,
|
|
62
|
+
:notes, :shipping_address, :billing_address, :deleted
|
|
63
63
|
|
|
64
64
|
# OPERATIONS
|
|
65
65
|
#-----------
|
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.
|
|
4
|
+
version: 2.4.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: 2017-09-
|
|
12
|
+
date: 2017-09-22 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: json_pure
|