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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 10fa49b3ee8ed8dca25b7527359029784a8af56e
4
- data.tar.gz: 0d6fa392787a961cc2dfe9e505abd48b33b4be50
3
+ metadata.gz: b44f485ff0c5ff3e2e7741f2c59c623a814f0288
4
+ data.tar.gz: 35fe1367aec6d6c824b0c9866126d80a8347d421
5
5
  SHA512:
6
- metadata.gz: 84b5ee5b02234645ce18d23a478b8ad98029d6bbd12344905d93ca9c0df3cef8d0600b74e58624c6f02066ac2146134a85598c315ae8bc00e5dad6f3701454c5
7
- data.tar.gz: f57cc36bf1f7e9bd6c8774cfb239f84346bbf49bfa4d2e1fc288e3b881ede3fc7de4ebc1132090d9fef6a10c08f7cb494aa7b47d9b0f9319da9d139c28952589
6
+ metadata.gz: fa5e2d2b5790bcdf6ea693400828fed01f27710f1582404686ddb6b61f24f64ccb9e5dffc19347c6cfee23a9edbf83df1e5dd1c375da8847e94b9b897e18fcf3
7
+ data.tar.gz: 4e6ed3e62b0c8c702bcbbfd7ec0c7391ab27505336a8c365e53df333c5cc5b79f4f0f486e45a5d7ad9eec529b5af6411f535a350c71878744cae25840603582e
@@ -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
 
@@ -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.1'
8
- s.date = '2019-09-13'
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."
@@ -47,7 +47,7 @@ require File.dirname(__FILE__) + '/chargebee/models/payment_intent.rb'
47
47
 
48
48
  module ChargeBee
49
49
 
50
- VERSION = '2.7.1'
50
+ VERSION = '2.7.2'
51
51
 
52
52
  @@default_env = nil
53
53
  @@verify_ca_certs = true
@@ -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, :sku, :accounting_code,
11
- :accounting_category1, :accounting_category2, :is_shippable, :shipping_frequency_period, :shipping_frequency_period_unit,
12
- :resource_version, :updated_at, :invoice_notes, :taxable, :tax_profile_id, :meta_data, :tiers
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, :avalara_sale_type, :avalara_transaction_type,
24
- :avalara_service_type, :sku, :accounting_code, :accounting_category1, :accounting_category2,
25
- :is_shippable, :shipping_frequency_period, :shipping_frequency_period_unit, :resource_version,
26
- :updated_at, :giftable, :claim_url, :invoice_notes, :taxable, :tax_profile_id, :meta_data, :tiers,
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.1
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: 2019-09-13 00:00:00.000000000 Z
12
+ date: 2020-01-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure