chargebee 2.1.4 → 2.1.5

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: b2dbd4a6df7459f89079d1c728093503d34888bc
4
- data.tar.gz: 9a798b1c327f87dcff10e9815b0a60ab5025a8d8
3
+ metadata.gz: 6c77b9a5426a5c07f53ad9317e86b29838ce5c8d
4
+ data.tar.gz: 06baa046bde3680294bf570992765224d51b4931
5
5
  SHA512:
6
- metadata.gz: 602847c2ee3736f04d69744f3d732e6c2cb8ce355de743c7722d2b416ab317447f69d0aee2060f17aa9bfe26627bff281038ab3096a008cdc36e4da81d7ef1b3
7
- data.tar.gz: 37b6735bb5655f4a55829c54f80bf720eed062f4f50a26ad795b653ec772bad6168829426fa4ebbf7fb64de7f31709cab03b6b214145a8e3affd9b07b267d0d1
6
+ metadata.gz: c30567ae6593f3002b2bbc58e2c369bfc322c37ff2a3ef3b987604b1be8f1ab30fc01a2f2d137d9cf4699c0f335207a60f208d082c8ceb770d1d2dbb526cb887
7
+ data.tar.gz: e4e3c60bc8702109f936520581a61f1a12a0c58f9a5c2cbf85ef243f300cef839a4885f311bf3152e0b1f5047fa204a3c12f04d20384003739cc87bc7922f181
data/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ###v2.1.5 (2016-09-30)
2
+ * * *
3
+
4
+ ** APIs updated**:
5
+ The new attributes "updated_at", "resource_version" and "deleted" is returned as part of Customer, Subscription, Invoice, Credit Note and Transaction resources.
6
+ See : https://apidocs.chargebee.com/docs/api/subscriptions#subscription_attributes
7
+
8
+ The new parameter "include_deleted" is added to Customer, Subscription, Invoice, Credit Note and Transaction List API.
9
+ See : https://apidocs.chargebee.com/docs/api/customers#list_customers
10
+
11
+ The new parameter "date" is added to Create Credit Note API.
12
+ See : https://apidocs.chargebee.com/docs/api/credit_notes#create_credit_note
13
+
1
14
  ###v2.1.4 (2016-09-21)
2
15
  * * *
3
16
 
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 = '2.1.4'
8
- s.date = '2016-09-21'
7
+ s.version = '2.1.5'
8
+ s.date = '2016-09-30'
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
@@ -33,7 +33,7 @@ require File.dirname(__FILE__) + '/chargebee/models/download'
33
33
 
34
34
  module ChargeBee
35
35
 
36
- VERSION = '2.1.4'
36
+ VERSION = '2.1.5'
37
37
 
38
38
  @@default_env = nil
39
39
  @@verify_ca_certs = true
@@ -27,8 +27,8 @@ module ChargeBee
27
27
 
28
28
  attr_accessor :id, :customer_id, :subscription_id, :reference_invoice_id, :type, :reason_code,
29
29
  :status, :vat_number, :date, :price_type, :currency_code, :total, :amount_allocated, :amount_refunded,
30
- :amount_available, :refunded_at, :sub_total, :line_items, :discounts, :taxes, :line_item_taxes,
31
- :linked_refunds, :allocations
30
+ :amount_available, :refunded_at, :resource_version, :updated_at, :sub_total, :line_items, :discounts,
31
+ :taxes, :line_item_taxes, :linked_refunds, :allocations, :deleted
32
32
 
33
33
  # OPERATIONS
34
34
  #-----------
@@ -15,8 +15,8 @@ module ChargeBee
15
15
 
16
16
  attr_accessor :id, :first_name, :last_name, :email, :phone, :company, :vat_number, :auto_collection,
17
17
  :allow_direct_debit, :created_at, :created_from_ip, :taxability, :entity_code, :exempt_number,
18
- :card_status, :fraud_flag, :billing_address, :contacts, :payment_method, :invoice_notes, :promotional_credits,
19
- :refundable_credits, :excess_payments, :meta_data
18
+ :resource_version, :updated_at, :card_status, :fraud_flag, :billing_address, :contacts, :payment_method,
19
+ :invoice_notes, :promotional_credits, :refundable_credits, :excess_payments, :meta_data, :deleted
20
20
 
21
21
  # OPERATIONS
22
22
  #-----------
@@ -51,9 +51,10 @@ module ChargeBee
51
51
 
52
52
  attr_accessor :id, :po_number, :customer_id, :subscription_id, :recurring, :status, :vat_number,
53
53
  :price_type, :date, :currency_code, :total, :amount_paid, :amount_adjusted, :write_off_amount,
54
- :credits_applied, :amount_due, :paid_at, :dunning_status, :next_retry_at, :sub_total, :tax,
55
- :first_invoice, :line_items, :discounts, :taxes, :line_item_taxes, :linked_payments, :applied_credits,
56
- :adjustment_credit_notes, :issued_credit_notes, :linked_orders, :notes, :shipping_address, :billing_address
54
+ :credits_applied, :amount_due, :paid_at, :dunning_status, :next_retry_at, :resource_version,
55
+ :updated_at, :sub_total, :tax, :first_invoice, :line_items, :discounts, :taxes, :line_item_taxes,
56
+ :linked_payments, :applied_credits, :adjustment_credit_notes, :issued_credit_notes, :linked_orders,
57
+ :notes, :shipping_address, :billing_address, :deleted
57
58
 
58
59
  # OPERATIONS
59
60
  #-----------
@@ -16,8 +16,9 @@ module ChargeBee
16
16
  attr_accessor :id, :customer_id, :currency_code, :plan_id, :plan_quantity, :status, :start_date,
17
17
  :trial_start, :trial_end, :current_term_start, :current_term_end, :remaining_billing_cycles,
18
18
  :po_number, :created_at, :started_at, :activated_at, :cancelled_at, :cancel_reason, :affiliate_token,
19
- :created_from_ip, :has_scheduled_changes, :due_invoices_count, :due_since, :total_dues, :addons,
20
- :coupon, :coupons, :shipping_address, :invoice_notes, :meta_data
19
+ :created_from_ip, :resource_version, :updated_at, :has_scheduled_changes, :due_invoices_count,
20
+ :due_since, :total_dues, :addons, :coupon, :coupons, :shipping_address, :invoice_notes, :meta_data,
21
+ :deleted
21
22
 
22
23
  # OPERATIONS
23
24
  #-----------
@@ -15,8 +15,9 @@ module ChargeBee
15
15
 
16
16
  attr_accessor :id, :customer_id, :subscription_id, :payment_method, :reference_number, :gateway,
17
17
  :type, :date, :currency_code, :amount, :id_at_gateway, :status, :error_code, :error_text, :voided_at,
18
- :amount_unused, :masked_card_number, :reference_transaction_id, :refunded_txn_id, :reversal_transaction_id,
19
- :linked_invoices, :linked_credit_notes, :linked_refunds
18
+ :resource_version, :updated_at, :amount_unused, :masked_card_number, :reference_transaction_id,
19
+ :refunded_txn_id, :reversal_transaction_id, :linked_invoices, :linked_credit_notes, :linked_refunds,
20
+ :deleted
20
21
 
21
22
  # OPERATIONS
22
23
  #-----------
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.1.4
4
+ version: 2.1.5
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: 2016-09-21 00:00:00.000000000 Z
12
+ date: 2016-09-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure