chargebee 2.22.0 → 2.23.0

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: 713fc3ef9187f7ad0cfc0cd0a9c60ff5d057bf39
4
- data.tar.gz: ba0a29c1d187ddcf991ee969e35d5454c90489d8
3
+ metadata.gz: 9a3b8e280cfa9e70dc97bb62beda8d83a508d6a3
4
+ data.tar.gz: 5f4b6675e3acf83b23c50bd7a0d28ec6a8014dc2
5
5
  SHA512:
6
- metadata.gz: 3e53f86e0ae3d4e2ff161d7bc5a45b50a2b599b334167c54d798fe435961968874702629ca534af5610433775f5b01b7aea8df188ee73d6e1043ddf387bab83f
7
- data.tar.gz: 479a753dfc973473738b7fa1f3cc21f7cc54974b1989b8f733618f4690f2e3e1100820dd1e2f5eff6c83fce890ba4f7eee971c06cbb419495c3cd3fd340e1a20
6
+ metadata.gz: 4ab7cd552055af62a89b811f273b3277d68b0c7dcb08f590bfc0775756da0f6c56617095ebc32f7324a91dbf49d2fcc2fd843d4e446b680f581cf7c1d1f4856e
7
+ data.tar.gz: 9a683cd77db7ffae024ec673cc050734c2cbb7cd862eaca9be9a3da6eab5652221473fc9d1a417a5a211620182a0b96aaf75b151655767fc7500bb18f597ec5c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,36 @@
1
+ ### v2.23.0 (2023-02-17)
2
+ * * *
3
+
4
+ #### New Attributes:
5
+ * resource_version and updated_at parameter has been added to the tax_withheld resource.
6
+
7
+ #### Added input parameters:
8
+ * ListRequestParams#updated_at parameter has been added to attached_item resource.
9
+ * AttachedItemsAttachedItemParams#updated_at parameter has been added to export resource.
10
+ * CheckoutGiftRequestParams#coupon_ids parameter has been added to hosted_page resource.
11
+ * ProcessReceiptCustomerParams#email, ProcessReceiptCustomerParams#first_name and ProcessReceiptCustomerParams#last_name parameters has been added to in_app_subscription resource.
12
+
13
+ #### New endpoints:
14
+ * invoice#record_tax_withheld and invoice#remove_tax_withheld has been added to the invoice resource.
15
+ * credit_note#remove_tax_withheld_refund has been added to the credit_note resource.
16
+
17
+ #### New Enum values:
18
+ * custom has been added to payment_method Enum.
19
+ * ecentric has been added to gateway Enum.
20
+
21
+ #### Removed input parameters:
22
+ * EstimateRequestParams#EstimateInvoiceInfoParams parameter has been removed from purchase resource.
23
+
24
+ #### Deprecated input parameters:
25
+ * CheckoutGiftRequest#coupon parameter have been deprecated in hosted_page resource.
26
+
27
+ ### v2.22.1 (2023-01-13)
28
+ * * *
29
+
30
+ #### Fixes:
31
+ * Fixed `require`'s for Quoted_Charge models.
32
+
33
+
1
34
  ### v2.22.0 (2023-01-13)
2
35
  * * *
3
36
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- chargebee (2.22.0)
4
+ chargebee (2.23.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.22.0'
8
- s.date = '2023-01-13'
7
+ s.version = '2.23.0'
8
+ s.date = '2023-02-17'
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
 
@@ -96,6 +96,10 @@ module ChargeBee
96
96
  Request.send('post', uri_path("credit_notes",id.to_s,"delete"), params, env, headers)
97
97
  end
98
98
 
99
+ def self.remove_tax_withheld_refund(id, params, env=nil, headers={})
100
+ Request.send('post', uri_path("credit_notes",id.to_s,"remove_tax_withheld_refund"), params, env, headers)
101
+ end
102
+
99
103
  def self.resend_einvoice(id, env=nil, headers={})
100
104
  Request.send('post', uri_path("credit_notes",id.to_s,"resend_einvoice"), {}, env, headers)
101
105
  end
@@ -171,6 +171,14 @@ module ChargeBee
171
171
  Request.send('post', uri_path("invoices",id.to_s,"record_payment"), params, env, headers)
172
172
  end
173
173
 
174
+ def self.record_tax_withheld(id, params, env=nil, headers={})
175
+ Request.send('post', uri_path("invoices",id.to_s,"record_tax_withheld"), params, env, headers)
176
+ end
177
+
178
+ def self.remove_tax_withheld(id, params, env=nil, headers={})
179
+ Request.send('post', uri_path("invoices",id.to_s,"remove_tax_withheld"), params, env, headers)
180
+ end
181
+
174
182
  def self.refund(id, params={}, env=nil, headers={})
175
183
  Request.send('post', uri_path("invoices",id.to_s,"refund"), params, env, headers)
176
184
  end
@@ -2,7 +2,7 @@ module ChargeBee
2
2
  class TaxWithheld < Model
3
3
 
4
4
  attr_accessor :id, :user, :reference_number, :description, :type, :payment_method, :date, :currency_code,
5
- :amount, :exchange_rate
5
+ :amount, :resource_version, :updated_at, :exchange_rate
6
6
 
7
7
  # OPERATIONS
8
8
  #-----------
data/lib/chargebee.rb CHANGED
@@ -60,7 +60,7 @@ require File.dirname(__FILE__) + '/chargebee/models/in_app_subscription.rb'
60
60
  require File.dirname(__FILE__) + '/chargebee/models/item_entitlement.rb'
61
61
  require File.dirname(__FILE__) + '/chargebee/models/purchase.rb'
62
62
  require File.dirname(__FILE__) + '/chargebee/models/quote_line_group.rb'
63
- require File.dirname(__FILE__) + '/chargebee/models/quote_charge.rb'
63
+ require File.dirname(__FILE__) + '/chargebee/models/quoted_charge.rb'
64
64
  require File.dirname(__FILE__) + '/chargebee/models/quoted_subscription.rb'
65
65
  require File.dirname(__FILE__) + '/chargebee/models/subscription_entitlement'
66
66
  require File.dirname(__FILE__) + '/chargebee/models/tax_withheld.rb'
@@ -68,7 +68,7 @@ require File.dirname(__FILE__) + '/chargebee/models/token.rb'
68
68
 
69
69
  module ChargeBee
70
70
 
71
- VERSION = '2.22.0'
71
+ VERSION = '2.23.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.22.0
4
+ version: 2.23.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-01-13 00:00:00.000000000 Z
12
+ date: 2023-02-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure