Skip to content

Commit 5038c23

Browse files
committed
Releasing v2.66.0
1 parent 3c83e18 commit 5038c23

File tree

13 files changed

+42
-4
lines changed

13 files changed

+42
-4
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
### v2.66.0 (2025-12-30)
2+
* * *
3+
4+
### New Attributes:
5+
* retry_engine has been added to Invoice#DunningAttempt.
6+
7+
### New Endpoint:
8+
* move action has been added to ItemPrice.
9+
10+
### New Parameters:
11+
* exclude_tax_type has been added to Estimate#RenewalEstimateInputParam.
12+
* variant_id has been added to ItemPrice#MoveInputParam.
13+
* custom has been added to PricingPageSession#CreateForNewSubscriptionInputParam.
14+
* custom has been added to PricingPageSession#CreateForExistingSubscriptionInputParam.
15+
16+
### New Enums:
17+
* ELECTRONIC_PAYMENT_STANDARD has been added to PaymentMethodTypeEnum.
18+
* KBC_PAYMENT_BUTTON has been added to PaymentMethodTypeEnum.
19+
* PAY_BY_BANK has been added to PaymentMethodTypeEnum.
20+
* TRUSTLY has been added to PaymentMethodTypeEnum.
21+
* STABLECOIN has been added to PaymentMethodTypeEnum.
22+
123
### v2.65.0 (2025-11-26)
224
* * *
325

chargebee.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
44
s.rubygems_version = '1.3.5'
55
s.required_ruby_version = '>= 1.9.3'
66
s.name = 'chargebee'
7-
s.version = '2.65.0'
8-
s.date = '2025-11-26'
7+
s.version = '2.66.0'
8+
s.date = '2025-12-30'
99
s.summary = "Ruby client for Chargebee API."
1010
s.description = "Subscription Billing - Simple. Secure. Affordable. More details at www.chargebee.com."
1111
s.metadata = {

lib/chargebee.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100

101101
module ChargeBee
102102

103-
VERSION = '2.65.0'
103+
VERSION = '2.66.0'
104104

105105
@@default_env = nil
106106
@@verify_ca_certs = true

lib/chargebee/models/coupon_code.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ class CouponCode < Model
66
# OPERATIONS
77
#-----------
88

9+
# @deprecated This method is deprecated and will be removed in a future version.
910
def self.create(params, env=nil, headers={})
1011
jsonKeys = {
1112
}

lib/chargebee/models/credit_note.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ def self.list(params={}, env=nil, headers={})
135135
Request.send_list_request('get', uri_path("credit_notes"), params, env, headers,nil, false, jsonKeys, options)
136136
end
137137

138+
# @deprecated This method is deprecated and will be removed in a future version.
138139
def self.credit_notes_for_customer(id, params={}, env=nil, headers={})
139140
jsonKeys = {
140141
}

lib/chargebee/models/customer.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def self.delete_contact(id, params, env=nil, headers={})
157157
Request.send('post', uri_path("customers",id.to_s,"delete_contact"), params, env, headers,nil, false, jsonKeys, options)
158158
end
159159

160+
# @deprecated This method is deprecated and will be removed in a future version.
160161
def self.add_promotional_credits(id, params, env=nil, headers={})
161162
jsonKeys = {
162163
}
@@ -166,6 +167,7 @@ def self.add_promotional_credits(id, params, env=nil, headers={})
166167
Request.send('post', uri_path("customers",id.to_s,"add_promotional_credits"), params, env, headers,nil, false, jsonKeys, options)
167168
end
168169

170+
# @deprecated This method is deprecated and will be removed in a future version.
169171
def self.deduct_promotional_credits(id, params, env=nil, headers={})
170172
jsonKeys = {
171173
}
@@ -175,6 +177,7 @@ def self.deduct_promotional_credits(id, params, env=nil, headers={})
175177
Request.send('post', uri_path("customers",id.to_s,"deduct_promotional_credits"), params, env, headers,nil, false, jsonKeys, options)
176178
end
177179

180+
# @deprecated This method is deprecated and will be removed in a future version.
178181
def self.set_promotional_credits(id, params, env=nil, headers={})
179182
jsonKeys = {
180183
}

lib/chargebee/models/hosted_page.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def self.checkout_existing_for_items(params, env=nil, headers={})
7272
Request.send('post', uri_path("hosted_pages","checkout_existing_for_items"), params, env, headers,nil, false, jsonKeys, options)
7373
end
7474

75+
# @deprecated This method is deprecated and will be removed in a future version.
7576
def self.update_card(params, env=nil, headers={})
7677
jsonKeys = {
7778
}

lib/chargebee/models/invoice.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class ReferenceTransaction < Model
4646
end
4747

4848
class DunningAttempt < Model
49-
attr_accessor :attempt, :transaction_id, :dunning_type, :created_at, :txn_status, :txn_amount
49+
attr_accessor :attempt, :transaction_id, :dunning_type, :created_at, :txn_status, :txn_amount, :retry_engine
5050
end
5151

5252
class AppliedCredit < Model
@@ -145,6 +145,7 @@ def self.charge_addon(params, env=nil, headers={})
145145
Request.send('post', uri_path("invoices","charge_addon"), params, env, headers,nil, false, jsonKeys, options)
146146
end
147147

148+
# @deprecated This method is deprecated and will be removed in a future version.
148149
def self.create_for_charge_item(params, env=nil, headers={})
149150
jsonKeys = {
150151
}
@@ -233,13 +234,15 @@ def self.list(params={}, env=nil, headers={})
233234
Request.send_list_request('get', uri_path("invoices"), params, env, headers,nil, false, jsonKeys, options)
234235
end
235236

237+
# @deprecated This method is deprecated and will be removed in a future version.
236238
def self.invoices_for_customer(id, params={}, env=nil, headers={})
237239
jsonKeys = {
238240
}
239241
options = {}
240242
Request.send('get', uri_path("customers",id.to_s,"invoices"), params, env, headers,nil, false, jsonKeys, options)
241243
end
242244

245+
# @deprecated This method is deprecated and will be removed in a future version.
243246
def self.invoices_for_subscription(id, params={}, env=nil, headers={})
244247
jsonKeys = {
245248
}

lib/chargebee/models/item_price.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def self.find_applicable_item_prices(id, params={}, env=nil, headers={})
8585
Request.send('get', uri_path("item_prices",id.to_s,"applicable_item_prices"), params, env, headers,nil, false, jsonKeys, options)
8686
end
8787

88+
# @deprecated This method is deprecated and will be removed in a future version.
8889
def self.move_item_price(id, params, env=nil, headers={})
8990
jsonKeys = {
9091
}

lib/chargebee/models/order.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ def self.list(params={}, env=nil, headers={})
128128
Request.send_list_request('get', uri_path("orders"), params, env, headers,nil, false, jsonKeys, options)
129129
end
130130

131+
# @deprecated This method is deprecated and will be removed in a future version.
131132
def self.orders_for_invoice(id, params={}, env=nil, headers={})
132133
jsonKeys = {
133134
}

0 commit comments

Comments
 (0)