Skip to content

Commit 9337690

Browse files
authored
Merge pull request chargebee#104 from chargebee/release/sdk-ruby/v2.63.0
Releasing v2.63.0
2 parents d3b85e0 + 9fa1be9 commit 9337690

File tree

12 files changed

+53
-19
lines changed

12 files changed

+53
-19
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
### v2.63.0 (2025-10-28)
2+
* * *
3+
4+
### New Attributes:
5+
* reference_transactions has been added to Invoice.
6+
* payment_attempts[] has been added to PaymentIntent.
7+
* checkout_details has been added to PaymentIntent#PaymentAttempt.
8+
* line_item_id has been added to CreditNoteEstimate#Discount.
9+
* line_item_id has been added to CreditNote#Discount.
10+
* line_item_id has been added to InvoiceEstimate#Discount.
11+
* line_item_id has been added to Invoice#Discount.
12+
* line_item_id has been added to InvoiceEstimate#Discount.
13+
* line_item_id has been added to Quote#Discount.
14+
* line_item_id has been added to QuoteLineGroup#Discount.
15+
16+
### Modified Attributes:
17+
* omnichannel_subscription_item_offers has been made optional attribute from required attribute.
18+
19+
### New Input Parameters:
20+
* discount[line_item_id] has been added to CreditNote#ImportCreditNoteRequest.
21+
* discount[line_item_id] has been added to CreditNote#ImportInvoiceRequest.
22+
23+
### New Enums:
24+
* OMNICHANNEL_TRANSACTION_CREATED has been added to EventTypeEnum.
25+
* DEUTSCHE_BANK has been added to Gateway.
26+
127
### v2.62.0 ( 2025-09-23)
228
* * *
329

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
chargebee (2.62.0)
4+
chargebee (2.63.0)
55
cgi (>= 0.1.0, < 1.0.0)
66

77
GEM

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.62.0'
8-
s.date = '2025-09-23'
7+
s.version = '2.63.0'
8+
s.date = '2025-10-28'
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
@@ -98,7 +98,7 @@
9898

9999
module ChargeBee
100100

101-
VERSION = '2.62.0'
101+
VERSION = '2.63.0'
102102

103103
@@default_env = nil
104104
@@verify_ca_certs = true

lib/chargebee/models/credit_note.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class LineItemAddress < Model
2222
end
2323

2424
class Discount < Model
25-
attr_accessor :amount, :description, :entity_type, :discount_type, :entity_id, :coupon_set_code
25+
attr_accessor :amount, :description, :line_item_id, :entity_type, :discount_type, :entity_id, :coupon_set_code
2626
end
2727

2828
class Tax < Model

lib/chargebee/models/credit_note_estimate.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class LineItemTax < Model
1818
end
1919

2020
class Discount < Model
21-
attr_accessor :amount, :description, :entity_type, :discount_type, :entity_id, :coupon_set_code
21+
attr_accessor :amount, :description, :line_item_id, :entity_type, :discount_type, :entity_id, :coupon_set_code
2222
end
2323

2424
class Tax < Model

lib/chargebee/models/invoice.rb

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class LineItemAddress < Model
2626
end
2727

2828
class Discount < Model
29-
attr_accessor :amount, :description, :entity_type, :discount_type, :entity_id, :coupon_set_code
29+
attr_accessor :amount, :description, :line_item_id, :entity_type, :discount_type, :entity_id, :coupon_set_code
3030
end
3131

3232
class Tax < Model
@@ -41,6 +41,10 @@ class LinkedPayment < Model
4141
attr_accessor :txn_id, :applied_amount, :applied_at, :txn_status, :txn_date, :txn_amount
4242
end
4343

44+
class ReferenceTransaction < Model
45+
attr_accessor :applied_amount, :applied_at, :txn_id, :txn_status, :txn_date, :txn_amount, :txn_type, :amount_capturable, :authorization_reason
46+
end
47+
4448
class DunningAttempt < Model
4549
attr_accessor :attempt, :transaction_id, :dunning_type, :created_at, :txn_status, :txn_amount
4650
end
@@ -93,10 +97,10 @@ class SiteDetailsAtCreation < Model
9397
:first_invoice, :new_sales_amount, :has_advance_charges, :term_finalized, :is_gifted, :generated_at,
9498
:expected_payment_date, :amount_to_collect, :round_off_amount, :line_items, :line_item_tiers,
9599
:line_item_discounts, :line_item_taxes, :line_item_credits, :line_item_addresses, :discounts,
96-
:taxes, :tax_origin, :linked_payments, :dunning_attempts, :applied_credits, :adjustment_credit_notes,
97-
:issued_credit_notes, :linked_orders, :notes, :shipping_address, :billing_address, :statement_descriptor,
98-
:einvoice, :void_reason_code, :deleted, :tax_category, :vat_number_prefix, :channel, :business_entity_id,
99-
:site_details_at_creation
100+
:taxes, :tax_origin, :linked_payments, :reference_transactions, :dunning_attempts, :applied_credits,
101+
:adjustment_credit_notes, :issued_credit_notes, :linked_orders, :notes, :shipping_address, :billing_address,
102+
:statement_descriptor, :einvoice, :void_reason_code, :deleted, :tax_category, :vat_number_prefix,
103+
:channel, :business_entity_id, :site_details_at_creation
100104

101105
# OPERATIONS
102106
#-----------

lib/chargebee/models/invoice_estimate.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class LineItemAddress < Model
2626
end
2727

2828
class Discount < Model
29-
attr_accessor :amount, :description, :entity_type, :discount_type, :entity_id, :coupon_set_code
29+
attr_accessor :amount, :description, :line_item_id, :entity_type, :discount_type, :entity_id, :coupon_set_code
3030
end
3131

3232
class Tax < Model

lib/chargebee/models/payment_intent.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@ module ChargeBee
22
class PaymentIntent < Model
33

44
class PaymentAttempt < Model
5-
attr_accessor :id, :status, :payment_method_type, :id_at_gateway, :error_code, :error_text, :created_at, :modified_at, :error_detail
5+
attr_accessor :id, :status, :payment_method_type, :id_at_gateway, :error_code, :error_text, :checkout_details, :created_at, :modified_at, :error_detail
6+
end
7+
8+
class PaymentAttempt < Model
9+
attr_accessor :id, :status, :payment_method_type, :id_at_gateway, :error_code, :error_text, :checkout_details, :created_at, :modified_at, :error_detail
610
end
711

812
attr_accessor :id, :status, :currency_code, :amount, :gateway_account_id, :expires_at, :reference_id,
913
:payment_method_type, :success_url, :failure_url, :created_at, :modified_at, :resource_version,
10-
:updated_at, :customer_id, :gateway, :active_payment_attempt, :business_entity_id
14+
:updated_at, :customer_id, :gateway, :active_payment_attempt, :payment_attempts, :business_entity_id
1115

1216
# OPERATIONS
1317
#-----------

lib/chargebee/models/quote.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class LineItemTax < Model
1818
end
1919

2020
class Discount < Model
21-
attr_accessor :amount, :description, :entity_type, :discount_type, :entity_id, :coupon_set_code
21+
attr_accessor :amount, :description, :line_item_id, :entity_type, :discount_type, :entity_id, :coupon_set_code
2222
end
2323

2424
class Tax < Model

0 commit comments

Comments
 (0)