chargebee 1.6.3 → 1.6.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa11ff0de2db8605403792b36bbdc366c17b1b3c
4
- data.tar.gz: b4bd340e21d7bb941d73530523924eef517ccecb
3
+ metadata.gz: 611032735c64fc9d99d72761bee4a04f937df983
4
+ data.tar.gz: 70c734a240e8c148e3c5a0b95666c87ed828c67b
5
5
  SHA512:
6
- metadata.gz: 708a2ea2201f8f90416c7af8722a08ba609cb0a12b341f0bb12c9666072331b386e88799544d1235dc4734b9520a01088c0ff81e708026d1bcd489728e43ebce
7
- data.tar.gz: 8b449a90109c01d463c60e001841f8e3860477740a01581c7c830b923bcafce4e2176ccf55fc61b68f401285c72c84d200c67cff577ef2d1581870119ad3f732
6
+ metadata.gz: 6b9dda64ed6ec58cded19c9d00313eadb0c41328d5a03389484ea34cff28915155ca568cb48b80e99347b60970aa2f3599dd5184b912c2ea2781746c96688b2e
7
+ data.tar.gz: 7abeec90de0ee46a215555d97a1179d80854b20f50b70a4cb1a9771da31e2f209185cc286aa8ec706b283c40f844f4fa9b7c593d9e7715a237b569a7879bf5e3
@@ -1,3 +1,19 @@
1
+ ### v1.6.4 (2015-10-26)
2
+ * * *
3
+
4
+ ** APIs updated**:
5
+
6
+ Support to specify if a customer can pay via direct debit. Now, create & update customer, create subscription APIs accept the "allow_direct_debit" parameter for Customer resource. See create customer API here : https://apidocs.chargebee.com/docs/api/customers#create_a_customer
7
+
8
+ New attribute "allow_direct_debit" is returned as part of Customer resource.
9
+ See : https://apidocs.chargebee.com/docs/api/customers#customer_attributes
10
+
11
+ New "price_type" attribute is returned as part of Estimate & Invoice Resource.
12
+ See : https://apidocs.chargebee.com/docs/api/estimates#estimate_attributes
13
+
14
+ Support for address parameters in estimate APIs that is used to calculate tax. Now, create & update subscription estimate APIs accept billing state code, billing zip, shipping country, shipping state code & shipping zip.
15
+ See : https://apidocs.chargebee.com/docs/api/estimates#create_subscription_estimate
16
+
1
17
  ### v1.6.3 (2015-09-18)
2
18
  * * *
3
19
 
@@ -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.6.3'
8
- s.date = '2015-09-18'
7
+ s.version = '1.6.4'
8
+ s.date = '2015-10-26'
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."
@@ -28,7 +28,7 @@ require File.dirname(__FILE__) + '/chargebee/models/download'
28
28
 
29
29
  module ChargeBee
30
30
 
31
- VERSION = '1.6.3'
31
+ VERSION = '1.6.4'
32
32
 
33
33
  @@default_env = nil
34
34
  @@verify_ca_certs = true
@@ -10,8 +10,8 @@ module ChargeBee
10
10
  end
11
11
 
12
12
  attr_accessor :id, :first_name, :last_name, :email, :phone, :company, :vat_number, :auto_collection,
13
- :created_at, :created_from_ip, :taxability, :card_status, :billing_address, :payment_method,
14
- :invoice_notes, :account_credits
13
+ :allow_direct_debit, :created_at, :created_from_ip, :taxability, :card_status, :billing_address,
14
+ :payment_method, :invoice_notes, :account_credits
15
15
 
16
16
  # OPERATIONS
17
17
  #-----------
@@ -14,7 +14,7 @@ module ChargeBee
14
14
  end
15
15
 
16
16
  attr_accessor :created_at, :recurring, :subscription_id, :subscription_status, :term_ends_at,
17
- :collect_now, :amount, :sub_total, :line_items, :discounts, :taxes
17
+ :collect_now, :amount, :price_type, :sub_total, :line_items, :discounts, :taxes
18
18
 
19
19
  # OPERATIONS
20
20
  #-----------
@@ -34,8 +34,8 @@ 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, :dunning_status, :next_retry, :sub_total,
38
- :tax, :first_invoice, :currency_code, :line_items, :discounts, :taxes, :linked_transactions,
37
+ :price_type, :start_date, :end_date, :amount, :amount_due, :paid_on, :dunning_status, :next_retry,
38
+ :sub_total, :tax, :first_invoice, :currency_code, :line_items, :discounts, :taxes, :linked_transactions,
39
39
  :linked_orders, :notes, :shipping_address, :billing_address
40
40
 
41
41
  # OPERATIONS
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.6.3
4
+ version: 1.6.4
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-09-18 00:00:00.000000000 Z
12
+ date: 2015-10-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure