chargebee 2.7.1 → 2.7.2
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 +14 -0
- data/chargebee.gemspec +2 -2
- data/lib/chargebee.rb +1 -1
- data/lib/chargebee/models/addon.rb +4 -3
- data/lib/chargebee/models/gift.rb +5 -1
- data/lib/chargebee/models/plan.rb +5 -5
- 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: b44f485ff0c5ff3e2e7741f2c59c623a814f0288
|
4
|
+
data.tar.gz: 35fe1367aec6d6c824b0c9866126d80a8347d421
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa5e2d2b5790bcdf6ea693400828fed01f27710f1582404686ddb6b61f24f64ccb9e5dffc19347c6cfee23a9edbf83df1e5dd1c375da8847e94b9b897e18fcf3
|
7
|
+
data.tar.gz: 4e6ed3e62b0c8c702bcbbfd7ec0c7391ab27505336a8c365e53df333c5cc5b79f4f0f486e45a5d7ad9eec529b5af6411f535a350c71878744cae25840603582e
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
### v2.7.2 (2020-01-08)
|
2
|
+
* * *
|
3
|
+
|
4
|
+
* New attribute taxjar_product_code has been added in Addon and Plan resource.
|
5
|
+
* New input parameter taxjar_product_code has been added in create_an_addon, update_an_addon, create_a_plan and update_a_plan api
|
6
|
+
* New input parameter taxjar_exemption_category has been added in create_a_customer, update_a_customer , create_a_subscription and import_a_subscription api
|
7
|
+
* New input parameter no_expiry has been added in gift_subscription_estimate and create_a_gift api
|
8
|
+
* New attribute no_expiry has been added in Gift resource
|
9
|
+
* New endpoint update_gift has been added in Gift resource
|
10
|
+
* New value BUSINESS_CHECKING has been added in AccountType enum
|
11
|
+
* New value CCD has been added in EcheckType enum
|
12
|
+
* New event type GIFT_UPDATED has been added
|
13
|
+
* New enum taxjar_exemption_category has been added
|
14
|
+
|
1
15
|
### v2.7.1 (2019-09-13)
|
2
16
|
* * *
|
3
17
|
|
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.7.
|
8
|
-
s.date = '
|
7
|
+
s.version = '2.7.2'
|
8
|
+
s.date = '2020-01-08'
|
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
@@ -7,9 +7,10 @@ module ChargeBee
|
|
7
7
|
|
8
8
|
attr_accessor :id, :name, :invoice_name, :description, :pricing_model, :type, :charge_type,
|
9
9
|
:price, :currency_code, :period, :period_unit, :unit, :status, :archived_at, :enabled_in_portal,
|
10
|
-
:tax_code, :avalara_sale_type, :avalara_transaction_type, :avalara_service_type,
|
11
|
-
:accounting_category1, :accounting_category2, :is_shippable, :shipping_frequency_period,
|
12
|
-
:resource_version, :updated_at, :invoice_notes, :taxable, :tax_profile_id,
|
10
|
+
:tax_code, :taxjar_product_code, :avalara_sale_type, :avalara_transaction_type, :avalara_service_type,
|
11
|
+
:sku, :accounting_code, :accounting_category1, :accounting_category2, :is_shippable, :shipping_frequency_period,
|
12
|
+
:shipping_frequency_period_unit, :resource_version, :updated_at, :invoice_notes, :taxable, :tax_profile_id,
|
13
|
+
:meta_data, :tiers
|
13
14
|
|
14
15
|
# OPERATIONS
|
15
16
|
#-----------
|
@@ -13,7 +13,7 @@ module ChargeBee
|
|
13
13
|
attr_accessor :status, :occurred_at
|
14
14
|
end
|
15
15
|
|
16
|
-
attr_accessor :id, :status, :scheduled_at, :auto_claim, :claim_expiry_date, :resource_version,
|
16
|
+
attr_accessor :id, :status, :scheduled_at, :auto_claim, :no_expiry, :claim_expiry_date, :resource_version,
|
17
17
|
:updated_at, :gifter, :gift_receiver, :gift_timelines
|
18
18
|
|
19
19
|
# OPERATIONS
|
@@ -39,5 +39,9 @@ module ChargeBee
|
|
39
39
|
Request.send('post', uri_path("gifts",id.to_s,"cancel"), {}, env, headers)
|
40
40
|
end
|
41
41
|
|
42
|
+
def self.update_gift(id, params, env=nil, headers={})
|
43
|
+
Request.send('post', uri_path("gifts",id.to_s,"update_gift"), params, env, headers)
|
44
|
+
end
|
45
|
+
|
42
46
|
end # ~Gift
|
43
47
|
end # ~ChargeBee
|
@@ -20,11 +20,11 @@ module ChargeBee
|
|
20
20
|
attr_accessor :id, :name, :invoice_name, :description, :price, :currency_code, :period, :period_unit,
|
21
21
|
:trial_period, :trial_period_unit, :pricing_model, :charge_model, :free_quantity, :setup_cost,
|
22
22
|
:downgrade_penalty, :status, :archived_at, :billing_cycles, :redirect_url, :enabled_in_hosted_pages,
|
23
|
-
:enabled_in_portal, :addon_applicability, :tax_code, :
|
24
|
-
:avalara_service_type, :sku, :accounting_code, :accounting_category1,
|
25
|
-
:is_shippable, :shipping_frequency_period, :shipping_frequency_period_unit,
|
26
|
-
:updated_at, :giftable, :claim_url, :invoice_notes, :taxable, :tax_profile_id,
|
27
|
-
:applicable_addons, :attached_addons, :event_based_addons
|
23
|
+
:enabled_in_portal, :addon_applicability, :tax_code, :taxjar_product_code, :avalara_sale_type,
|
24
|
+
:avalara_transaction_type, :avalara_service_type, :sku, :accounting_code, :accounting_category1,
|
25
|
+
:accounting_category2, :is_shippable, :shipping_frequency_period, :shipping_frequency_period_unit,
|
26
|
+
:resource_version, :updated_at, :giftable, :claim_url, :invoice_notes, :taxable, :tax_profile_id,
|
27
|
+
:meta_data, :tiers, :applicable_addons, :attached_addons, :event_based_addons
|
28
28
|
|
29
29
|
# OPERATIONS
|
30
30
|
#-----------
|
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.7.
|
4
|
+
version: 2.7.2
|
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:
|
12
|
+
date: 2020-01-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_pure
|