chargebee 2.1.6 → 2.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +29 -0
- data/chargebee.gemspec +2 -2
- data/lib/chargebee.rb +1 -1
- data/lib/chargebee/models/addon.rb +2 -2
- data/lib/chargebee/models/coupon.rb +1 -1
- data/lib/chargebee/models/customer.rb +4 -4
- data/lib/chargebee/models/invoice.rb +5 -5
- data/lib/chargebee/models/plan.rb +1 -1
- 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: 5853c3e3c9e7bd296abb441da97c84f3e99e392f
|
4
|
+
data.tar.gz: 2baeddc4f6094d4a6c965b25452efbeee0b9b126
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a2531359883af4008ef0545c80ae849282b25d4fb42c07e53d98e72a07b1f4d2b62e1d4ce0da287874c4f6386d6ebc8fd0e82e8b3a44e1c1b582d19fd106198
|
7
|
+
data.tar.gz: f8b685f69e7a9b81ecc26d39f5ab53bc6a4aa0743ea123e0f67d5c80605d956baef39a2d4b88e351a2581dd4b552ddbf8704301c2c930c2f64aca1e545961e79
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,32 @@
|
|
1
|
+
###v2.1.7 (2016-11-09)
|
2
|
+
* * *
|
3
|
+
|
4
|
+
** APIs updated**:
|
5
|
+
The attributes "updated_at" and "resource_version" is added to Plan, Addon and Coupon resource.
|
6
|
+
See : https://apidocs.chargebee.com/docs/api/plans#plan_attributes
|
7
|
+
|
8
|
+
Following [Event types](https://apidocs.chargebee.com/docs/api/events#event_types) are added
|
9
|
+
* *plan_created*
|
10
|
+
* *plan_updated*
|
11
|
+
* *plan_deleted*
|
12
|
+
* *addon_created*
|
13
|
+
* *addon_updated*
|
14
|
+
* *addon_deleted*
|
15
|
+
* *coupon_created*
|
16
|
+
* *coupon_updated*
|
17
|
+
* *coupon_deleted*
|
18
|
+
* *netd_payment_due_reminder*
|
19
|
+
|
20
|
+
The new Invoice status "posted" is added.
|
21
|
+
See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
|
22
|
+
|
23
|
+
The attribute "net_term_days" is added to Customer resource and new input parameter "net_term_days" is added to Create Customer and Update Customer API. See : https://apidocs.chargebee.com/docs/api/customers#customer_attributes
|
24
|
+
|
25
|
+
The input parameter "net_term_days" is added to Create a Subscription API. See : https://apidocs.chargebee.com/docs/api/subscriptions#create_a_subscription
|
26
|
+
|
27
|
+
The attributes "net_term_days" and "due_date" is added to the Invoice resource. See : https://apidocs.chargebee.com/docs/api/invoices
|
28
|
+
|
29
|
+
|
1
30
|
###v2.1.6 (2016-10-27)
|
2
31
|
* * *
|
3
32
|
|
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.
|
8
|
-
s.date = '2016-
|
7
|
+
s.version = '2.1.7'
|
8
|
+
s.date = '2016-11-09'
|
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
@@ -2,8 +2,8 @@ module ChargeBee
|
|
2
2
|
class Addon < Model
|
3
3
|
|
4
4
|
attr_accessor :id, :name, :invoice_name, :description, :type, :charge_type, :price, :currency_code,
|
5
|
-
:period, :period_unit, :unit, :status, :archived_at, :enabled_in_portal, :tax_code, :
|
6
|
-
:taxable, :meta_data
|
5
|
+
:period, :period_unit, :unit, :status, :archived_at, :enabled_in_portal, :tax_code, :resource_version,
|
6
|
+
:updated_at, :invoice_notes, :taxable, :meta_data
|
7
7
|
|
8
8
|
# OPERATIONS
|
9
9
|
#-----------
|
@@ -4,7 +4,7 @@ module ChargeBee
|
|
4
4
|
attr_accessor :id, :name, :invoice_name, :discount_type, :discount_percentage, :discount_amount,
|
5
5
|
:discount_quantity, :currency_code, :duration_type, :duration_month, :valid_till, :max_redemptions,
|
6
6
|
:status, :apply_discount_on, :apply_on, :plan_constraint, :addon_constraint, :created_at, :archived_at,
|
7
|
-
:plan_ids, :addon_ids, :redemptions, :invoice_notes, :meta_data
|
7
|
+
:resource_version, :updated_at, :plan_ids, :addon_ids, :redemptions, :invoice_notes, :meta_data
|
8
8
|
|
9
9
|
# OPERATIONS
|
10
10
|
#-----------
|
@@ -14,10 +14,10 @@ module ChargeBee
|
|
14
14
|
end
|
15
15
|
|
16
16
|
attr_accessor :id, :first_name, :last_name, :email, :phone, :company, :vat_number, :auto_collection,
|
17
|
-
:allow_direct_debit, :created_at, :created_from_ip, :taxability, :entity_code,
|
18
|
-
:resource_version, :updated_at, :card_status, :fraud_flag, :billing_address,
|
19
|
-
:
|
20
|
-
:meta_data, :deleted
|
17
|
+
:net_term_days, :allow_direct_debit, :created_at, :created_from_ip, :taxability, :entity_code,
|
18
|
+
:exempt_number, :resource_version, :updated_at, :card_status, :fraud_flag, :billing_address,
|
19
|
+
:contacts, :payment_method, :invoice_notes, :preferred_currency_code, :promotional_credits,
|
20
|
+
:refundable_credits, :excess_payments, :meta_data, :deleted
|
21
21
|
|
22
22
|
# OPERATIONS
|
23
23
|
#-----------
|
@@ -50,11 +50,11 @@ module ChargeBee
|
|
50
50
|
end
|
51
51
|
|
52
52
|
attr_accessor :id, :po_number, :customer_id, :subscription_id, :recurring, :status, :vat_number,
|
53
|
-
:price_type, :date, :currency_code, :total, :amount_paid, :amount_adjusted,
|
54
|
-
:credits_applied, :amount_due, :paid_at, :dunning_status, :next_retry_at,
|
55
|
-
:updated_at, :sub_total, :tax, :first_invoice, :line_items, :discounts, :taxes,
|
56
|
-
:linked_payments, :applied_credits, :adjustment_credit_notes, :issued_credit_notes,
|
57
|
-
:notes, :shipping_address, :billing_address, :deleted
|
53
|
+
:price_type, :date, :due_date, :net_term_days, :currency_code, :total, :amount_paid, :amount_adjusted,
|
54
|
+
:write_off_amount, :credits_applied, :amount_due, :paid_at, :dunning_status, :next_retry_at,
|
55
|
+
:resource_version, :updated_at, :sub_total, :tax, :first_invoice, :line_items, :discounts, :taxes,
|
56
|
+
:line_item_taxes, :linked_payments, :applied_credits, :adjustment_credit_notes, :issued_credit_notes,
|
57
|
+
:linked_orders, :notes, :shipping_address, :billing_address, :deleted
|
58
58
|
|
59
59
|
# OPERATIONS
|
60
60
|
#-----------
|
@@ -4,7 +4,7 @@ module ChargeBee
|
|
4
4
|
attr_accessor :id, :name, :invoice_name, :description, :price, :currency_code, :period, :period_unit,
|
5
5
|
:trial_period, :trial_period_unit, :charge_model, :free_quantity, :setup_cost, :downgrade_penalty,
|
6
6
|
:status, :archived_at, :billing_cycles, :redirect_url, :enabled_in_hosted_pages, :enabled_in_portal,
|
7
|
-
:tax_code, :invoice_notes, :taxable, :meta_data
|
7
|
+
:tax_code, :resource_version, :updated_at, :invoice_notes, :taxable, :meta_data
|
8
8
|
|
9
9
|
# OPERATIONS
|
10
10
|
#-----------
|
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
|
+
version: 2.1.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: 2016-
|
12
|
+
date: 2016-11-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_pure
|