chargebee 2.2.0 → 2.2.1
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 +17 -0
- data/chargebee.gemspec +2 -2
- data/lib/chargebee.rb +1 -1
- data/lib/chargebee/models/credit_note.rb +1 -1
- data/lib/chargebee/models/credit_note_estimate.rb +1 -1
- data/lib/chargebee/models/invoice.rb +1 -1
- data/lib/chargebee/models/invoice_estimate.rb +1 -1
- data/lib/chargebee/models/subscription.rb +3 -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: 0989a7a3e1475c906fa992bd3659cf78d4241630
|
4
|
+
data.tar.gz: 1382b8d4b7d44a75938720fae64207919ad688bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4e6309b36da048b8379ed5563959be08098db401deace315d01342b304c2e516cb748244a6e05870d5754f615133707ca347a11f8dbd9c90a28ea4216573b30
|
7
|
+
data.tar.gz: 0e61ee09b466c3dd2f74899ad6f66c071ab6c3920ee442e6c1513ed8e516c964f08e1acbece9137dc58a7dcc274612df297b014cfd108596f5b5b94d571fb6f9
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,20 @@
|
|
1
|
+
###v2.2.1 (2016-12-30)
|
2
|
+
* * *
|
3
|
+
|
4
|
+
** APIs updated**:
|
5
|
+
|
6
|
+
The attributes 'plan_unit_price', 'setup_fee', 'billing_period', 'billing_period_unit' and 'plan_free_quantity' has been added to the Subscription resource.
|
7
|
+
See : https://apidocs.chargebee.com/docs/api/subscriptions#subscription_attributes
|
8
|
+
|
9
|
+
The input parameters 'plan_unit_price', 'setup_fee' and Addon 'unit_price' has been added to Create a subscription, Create subscription for customer, Update a subscription, Create a subscription estimate, Update a subscription estimate, Checkout a new subscription and Checkout existing subscription, Import a subscription and Import subscription for customer APIs.
|
10
|
+
See : https://apidocs.chargebee.com/docs/api/subscriptions#create_a_subscription
|
11
|
+
|
12
|
+
An input parameter Addon 'unit_price' has been added to Charge addon at term end, Create an Invoice, Create invoice for addon and Add addon item to pending invoice APIs.
|
13
|
+
See : https://apidocs.chargebee.com/docs/api/invoices#create_an_invoice
|
14
|
+
|
15
|
+
An attribute 'tax_exempt_reason' has been added to line items sub resource in Invoice, Credit Note and Estimate resources.
|
16
|
+
See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
|
17
|
+
|
1
18
|
###v2.2.0 (2016-12-09)
|
2
19
|
* * *
|
3
20
|
|
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.2.
|
8
|
-
s.date = '2016-12-
|
7
|
+
s.version = '2.2.1'
|
8
|
+
s.date = '2016-12-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
@@ -2,7 +2,7 @@ module ChargeBee
|
|
2
2
|
class CreditNote < Model
|
3
3
|
|
4
4
|
class LineItem < Model
|
5
|
-
attr_accessor :id, :date_from, :date_to, :unit_amount, :quantity, :is_taxed, :tax_amount, :tax_rate, :amount, :discount_amount, :item_level_discount_amount, :description, :entity_type, :entity_id
|
5
|
+
attr_accessor :id, :date_from, :date_to, :unit_amount, :quantity, :is_taxed, :tax_amount, :tax_rate, :amount, :discount_amount, :item_level_discount_amount, :description, :entity_type, :tax_exempt_reason, :entity_id
|
6
6
|
end
|
7
7
|
|
8
8
|
class Discount < Model
|
@@ -2,7 +2,7 @@ module ChargeBee
|
|
2
2
|
class CreditNoteEstimate < Model
|
3
3
|
|
4
4
|
class LineItem < Model
|
5
|
-
attr_accessor :id, :date_from, :date_to, :unit_amount, :quantity, :is_taxed, :tax_amount, :tax_rate, :amount, :discount_amount, :item_level_discount_amount, :description, :entity_type, :entity_id
|
5
|
+
attr_accessor :id, :date_from, :date_to, :unit_amount, :quantity, :is_taxed, :tax_amount, :tax_rate, :amount, :discount_amount, :item_level_discount_amount, :description, :entity_type, :tax_exempt_reason, :entity_id
|
6
6
|
end
|
7
7
|
|
8
8
|
class Discount < Model
|
@@ -2,7 +2,7 @@ module ChargeBee
|
|
2
2
|
class Invoice < Model
|
3
3
|
|
4
4
|
class LineItem < Model
|
5
|
-
attr_accessor :id, :date_from, :date_to, :unit_amount, :quantity, :is_taxed, :tax_amount, :tax_rate, :amount, :discount_amount, :item_level_discount_amount, :description, :entity_type, :entity_id
|
5
|
+
attr_accessor :id, :date_from, :date_to, :unit_amount, :quantity, :is_taxed, :tax_amount, :tax_rate, :amount, :discount_amount, :item_level_discount_amount, :description, :entity_type, :tax_exempt_reason, :entity_id
|
6
6
|
end
|
7
7
|
|
8
8
|
class Discount < Model
|
@@ -2,7 +2,7 @@ module ChargeBee
|
|
2
2
|
class InvoiceEstimate < Model
|
3
3
|
|
4
4
|
class LineItem < Model
|
5
|
-
attr_accessor :id, :date_from, :date_to, :unit_amount, :quantity, :is_taxed, :tax_amount, :tax_rate, :amount, :discount_amount, :item_level_discount_amount, :description, :entity_type, :entity_id
|
5
|
+
attr_accessor :id, :date_from, :date_to, :unit_amount, :quantity, :is_taxed, :tax_amount, :tax_rate, :amount, :discount_amount, :item_level_discount_amount, :description, :entity_type, :tax_exempt_reason, :entity_id
|
6
6
|
end
|
7
7
|
|
8
8
|
class Discount < Model
|
@@ -2,7 +2,7 @@ module ChargeBee
|
|
2
2
|
class Subscription < Model
|
3
3
|
|
4
4
|
class Addon < Model
|
5
|
-
attr_accessor :id, :quantity
|
5
|
+
attr_accessor :id, :quantity, :unit_price
|
6
6
|
end
|
7
7
|
|
8
8
|
class Coupon < Model
|
@@ -13,7 +13,8 @@ module ChargeBee
|
|
13
13
|
attr_accessor :first_name, :last_name, :email, :company, :phone, :line1, :line2, :line3, :city, :state_code, :state, :country, :zip, :validation_status
|
14
14
|
end
|
15
15
|
|
16
|
-
attr_accessor :id, :customer_id, :currency_code, :plan_id, :plan_quantity, :
|
16
|
+
attr_accessor :id, :customer_id, :currency_code, :plan_id, :plan_quantity, :plan_unit_price,
|
17
|
+
:setup_fee, :billing_period, :billing_period_unit, :plan_free_quantity, :status, :start_date,
|
17
18
|
:trial_start, :trial_end, :current_term_start, :current_term_end, :remaining_billing_cycles,
|
18
19
|
:po_number, :created_at, :started_at, :activated_at, :cancelled_at, :cancel_reason, :affiliate_token,
|
19
20
|
:created_from_ip, :resource_version, :updated_at, :has_scheduled_changes, :due_invoices_count,
|
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.2.
|
4
|
+
version: 2.2.1
|
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-
|
12
|
+
date: 2016-12-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_pure
|