chargebee 2.28.0 → 2.29.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 05f9c3ec4f1ff2e33d378f56a27e511d0b399528
4
- data.tar.gz: 2b719615782c37002f70d6f63e2458d89f841374
3
+ metadata.gz: 68b40874a2d243ccfd129b7b206e5bc1dddd794f
4
+ data.tar.gz: 31eb38924a2abf8da312a58e2fe86f40b7e3b30f
5
5
  SHA512:
6
- metadata.gz: 5fc5b20f9d95df510c6b2323840c1b8db2788d0cb8bb88ab8444d8879b9ff49856150193d597a1264c8e5682a3d319c558adae4f802fcb13401f140991703d22
7
- data.tar.gz: e6a3eccd9fa61cd526023a4cd01ba7b8a85e91082821a02f38335116f3e8b6041121b7ef364946949f393fcd9510fa541eb38b6230703ed8f3db3239d515a195
6
+ metadata.gz: abd6b5eab94cd80f2ca8874ecaf4a2da29cf31ecee137b4ed8f7f00a33961da3a2bad37669edd8d1483655836ff4babd72b6124985981bf44f72dd5dfc0a081d
7
+ data.tar.gz: 1eb3a8158398972c5e955591dad5370f27ddd3fe20328b93abae0bc4e6e53d5e220b146defb6cb9a6a8e3d483b32d25113bc661923e9b05ab1ecea6d83069dfe
data/CHANGELOG.md CHANGED
@@ -1,3 +1,37 @@
1
+ ### v2.29.0 (2023-07-31)
2
+ * * *
3
+
4
+ #### Fixes:
5
+ * Fixed URI Encoder issue.
6
+
7
+ #### New Attributes:
8
+ * tax_category has been added to the CreditNote, Quote and Invoice resource.
9
+ * proration_type has been added in Addon resource.
10
+
11
+ #### New Enum values:
12
+ * tax has been added to EntityType enum in Invoice resource.
13
+ * payment_source_locally_deleted has been added to EventType.
14
+
15
+ #### New Input parameters:
16
+
17
+ * CouponId and CouponApplyTill has been added to Subscritpion#CreateRequest in Subscritpion resource.
18
+ * CouponId and CouponApplyTill has been added to Subscritpion#CreateForCustomerRequest in Subscritpion resource.
19
+ * CouponId and CouponApplyTill has been added to Subscritpion#CreateWithItemsRequest in Subscritpion resource.
20
+ * CouponId and CouponApplyTill has been added to Subscritpion#UpdateRequest in Subscritpion resource.
21
+ * CouponId and CouponApplyTill has been added to Subscritpion#UpdateForItemsRequest in Subscritpion resource.
22
+ * CouponId and CouponApplyTill has been added to Subscritpion#ImportSubscriptionRequest in Subscritpion resource.
23
+ * CouponId and CouponApplyTill has been added to Subscritpion#ImportForCustomerRequest in Subscritpion resource.
24
+ * CouponId and CouponApplyTill has been added to Subscritpion#ImportForItemsRequest in Subscritpion resource.
25
+ * cancel_reason_code has been added to Subscritpion#ImportForItemsRequest in Subscritpion resource.
26
+ * proration_type has been added in addon#createRequest and addon#UpdateRequest in Addon resource.
27
+ * addons[proration_type] has been added in Estimate#UpdateSubscriptionRequest in Estimate resource.
28
+ * addons[proration_type] has been added in Subscription#UpdateRequest in Subscritpion resource.
29
+
30
+ #### New Enum Class:
31
+ * ProrationType enum has been added to addon resource.
32
+ * ProrationType enum has been added.
33
+
34
+
1
35
  ### v2.28.0 (2023-06-30)
2
36
  * * *
3
37
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- chargebee (2.28.0)
4
+ chargebee (2.29.0)
5
5
  cgi (>= 0.1.0, < 1.0.0)
6
6
  json_pure (~> 2.1)
7
7
  rest-client (>= 1.8, <= 2.0.2)
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.28.0'
8
- s.date = '2023-06-30'
7
+ s.version = '2.29.0'
8
+ s.date = '2023-07-31'
9
9
  s.summary = "Ruby client for Chargebee API."
10
10
  s.description = "Subscription Billing - Simple. Secure. Affordable. More details at www.chargebee.com."
11
11
  s.metadata = {
@@ -10,8 +10,9 @@ module ChargeBee
10
10
  :tax_code, :hsn_code, :taxjar_product_code, :avalara_sale_type, :avalara_transaction_type, :avalara_service_type,
11
11
  :sku, :accounting_code, :accounting_category1, :accounting_category2, :accounting_category3,
12
12
  :accounting_category4, :is_shippable, :shipping_frequency_period, :shipping_frequency_period_unit,
13
- :resource_version, :updated_at, :price_in_decimal, :included_in_mrr, :channel, :invoice_notes,
14
- :taxable, :tax_profile_id, :meta_data, :tiers, :show_description_in_invoices, :show_description_in_quotes
13
+ :resource_version, :updated_at, :price_in_decimal, :included_in_mrr, :channel, :proration_type,
14
+ :invoice_notes, :taxable, :tax_profile_id, :meta_data, :tiers, :show_description_in_invoices,
15
+ :show_description_in_quotes
15
16
 
16
17
  # OPERATIONS
17
18
  #-----------
@@ -50,7 +50,7 @@ module ChargeBee
50
50
  :amount_available, :refunded_at, :voided_at, :generated_at, :resource_version, :updated_at,
51
51
  :channel, :einvoice, :sub_total, :sub_total_in_local_currency, :total_in_local_currency, :local_currency_code,
52
52
  :round_off_amount, :fractional_correction, :line_items, :discounts, :line_item_discounts, :line_item_tiers,
53
- :taxes, :line_item_taxes, :linked_refunds, :allocations, :deleted, :local_currency_exchange_rate,
53
+ :taxes, :line_item_taxes, :linked_refunds, :allocations, :deleted, :tax_category, :local_currency_exchange_rate,
54
54
  :create_reason_code, :vat_number_prefix, :business_entity_id, :shipping_address, :billing_address
55
55
 
56
56
  # OPERATIONS
@@ -74,7 +74,7 @@ module ChargeBee
74
74
  :amount_to_collect, :round_off_amount, :line_items, :discounts, :line_item_discounts, :taxes,
75
75
  :line_item_taxes, :line_item_tiers, :linked_payments, :dunning_attempts, :applied_credits, :adjustment_credit_notes,
76
76
  :issued_credit_notes, :linked_orders, :notes, :shipping_address, :billing_address, :einvoice,
77
- :payment_owner, :void_reason_code, :deleted, :vat_number_prefix, :channel, :business_entity_id
77
+ :payment_owner, :void_reason_code, :deleted, :tax_category, :vat_number_prefix, :channel, :business_entity_id
78
78
 
79
79
  # OPERATIONS
80
80
  #-----------
@@ -57,7 +57,7 @@ module ChargeBee
57
57
  if(path.nil? || path.strip.length < 1)
58
58
  raise "Id is empty or nil"
59
59
  end
60
- url = "#{url}/#{CGI.escape(path.strip).gsub("+","%20").gsub("%21","!").gsub("%24","$").gsub("%26","&").gsub("%27","'").gsub("%28","(").gsub("%29", ")").gsub("%2A","*").gsub("%2B","+").gsub("%2C",",").gsub("%2F", "/").gsub("%3A",":").gsub("%3B",";").gsub("%3D","=").gsub("%3F","?").gsub("%40","@").gsub("%5B","[").gsub("%5D","]")}"
60
+ url = "#{url}/#{CGI.escape(path.strip)}"
61
61
  end
62
62
  return url
63
63
  end
@@ -37,8 +37,8 @@ module ChargeBee
37
37
  :operation_type, :vat_number, :price_type, :valid_till, :date, :total_payable, :charge_on_acceptance,
38
38
  :sub_total, :total, :credits_applied, :amount_paid, :amount_due, :version, :resource_version,
39
39
  :updated_at, :vat_number_prefix, :line_items, :discounts, :line_item_discounts, :taxes, :line_item_taxes,
40
- :line_item_tiers, :currency_code, :notes, :shipping_address, :billing_address, :contract_term_start,
41
- :contract_term_end, :contract_term_termination_fee, :business_entity_id
40
+ :line_item_tiers, :tax_category, :currency_code, :notes, :shipping_address, :billing_address,
41
+ :contract_term_start, :contract_term_end, :contract_term_termination_fee, :business_entity_id
42
42
 
43
43
  # OPERATIONS
44
44
  #-----------
data/lib/chargebee.rb CHANGED
@@ -68,7 +68,7 @@ require File.dirname(__FILE__) + '/chargebee/models/token.rb'
68
68
 
69
69
  module ChargeBee
70
70
 
71
- VERSION = '2.28.0'
71
+ VERSION = '2.29.0'
72
72
 
73
73
  @@default_env = nil
74
74
  @@verify_ca_certs = true
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.28.0
4
+ version: 2.29.0
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: 2023-06-30 00:00:00.000000000 Z
12
+ date: 2023-07-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure