chargebee 2.62.0 → 2.63.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 +4 -4
- data/CHANGELOG.md +26 -0
- data/Gemfile.lock +1 -1
- data/chargebee.gemspec +2 -2
- data/lib/chargebee/models/credit_note.rb +1 -1
- data/lib/chargebee/models/credit_note_estimate.rb +1 -1
- data/lib/chargebee/models/invoice.rb +9 -5
- data/lib/chargebee/models/invoice_estimate.rb +1 -1
- data/lib/chargebee/models/payment_intent.rb +6 -2
- data/lib/chargebee/models/quote.rb +1 -1
- data/lib/chargebee/models/quote_line_group.rb +1 -1
- data/lib/chargebee/result.rb +3 -3
- data/lib/chargebee.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 296d2eccf7af2ab3d24e90fe64baa8496761a6785108b62c161fcd2c408f2e61
|
|
4
|
+
data.tar.gz: 973118c500afa122cdd08536a51fd68e82220be13ddb6dbb6724239bf64a841a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6e1c0b75e91eb669dbc39baed6b5a9bc018b02c581bb2aeec8927891b82556fda02fa36d58c53560b67a35fd5b377bad4a5e09cd0ffeb7245610dd2964ad6a87
|
|
7
|
+
data.tar.gz: 75378fd389a1db7c9febff79334d7fc83ad8e151080cc9245c31c8f2fb552d836d2ec698a56c98c35d06530f5a7f8d6ee3b10e309ab5f6addb2ccfa311df99cc
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
+
|
|
1
27
|
### v2.62.0 ( 2025-09-23)
|
|
2
28
|
* * *
|
|
3
29
|
|
data/Gemfile.lock
CHANGED
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.
|
|
8
|
-
s.date = '2025-
|
|
7
|
+
s.version = '2.63.0'
|
|
8
|
+
s.date = '2025-10-28'
|
|
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 = {
|
|
@@ -22,7 +22,7 @@ module ChargeBee
|
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
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
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
class Tax < Model
|
|
@@ -18,7 +18,7 @@ module ChargeBee
|
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
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
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
class Tax < Model
|
|
@@ -26,7 +26,7 @@ module ChargeBee
|
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
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
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
class Tax < Model
|
|
@@ -41,6 +41,10 @@ module ChargeBee
|
|
|
41
41
|
attr_accessor :txn_id, :applied_amount, :applied_at, :txn_status, :txn_date, :txn_amount
|
|
42
42
|
end
|
|
43
43
|
|
|
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
|
+
|
|
44
48
|
class DunningAttempt < Model
|
|
45
49
|
attr_accessor :attempt, :transaction_id, :dunning_type, :created_at, :txn_status, :txn_amount
|
|
46
50
|
end
|
|
@@ -93,10 +97,10 @@ module ChargeBee
|
|
|
93
97
|
:first_invoice, :new_sales_amount, :has_advance_charges, :term_finalized, :is_gifted, :generated_at,
|
|
94
98
|
:expected_payment_date, :amount_to_collect, :round_off_amount, :line_items, :line_item_tiers,
|
|
95
99
|
:line_item_discounts, :line_item_taxes, :line_item_credits, :line_item_addresses, :discounts,
|
|
96
|
-
:taxes, :tax_origin, :linked_payments, :
|
|
97
|
-
:issued_credit_notes, :linked_orders, :notes, :shipping_address, :billing_address,
|
|
98
|
-
:einvoice, :void_reason_code, :deleted, :tax_category, :vat_number_prefix,
|
|
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
|
|
100
104
|
|
|
101
105
|
# OPERATIONS
|
|
102
106
|
#-----------
|
|
@@ -26,7 +26,7 @@ module ChargeBee
|
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
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
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
class Tax < Model
|
|
@@ -2,12 +2,16 @@ module ChargeBee
|
|
|
2
2
|
class PaymentIntent < Model
|
|
3
3
|
|
|
4
4
|
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
|
|
6
10
|
end
|
|
7
11
|
|
|
8
12
|
attr_accessor :id, :status, :currency_code, :amount, :gateway_account_id, :expires_at, :reference_id,
|
|
9
13
|
: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
|
|
11
15
|
|
|
12
16
|
# OPERATIONS
|
|
13
17
|
#-----------
|
|
@@ -18,7 +18,7 @@ module ChargeBee
|
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
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
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
class Tax < Model
|
|
@@ -14,7 +14,7 @@ module ChargeBee
|
|
|
14
14
|
end
|
|
15
15
|
|
|
16
16
|
class Discount < Model
|
|
17
|
-
attr_accessor :amount, :description, :entity_type, :discount_type, :entity_id, :coupon_set_code
|
|
17
|
+
attr_accessor :amount, :description, :line_item_id, :entity_type, :discount_type, :entity_id, :coupon_set_code
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
class Tax < Model
|
data/lib/chargebee/result.rb
CHANGED
|
@@ -106,7 +106,7 @@ module ChargeBee
|
|
|
106
106
|
|
|
107
107
|
def invoice()
|
|
108
108
|
invoice = get(:invoice, Invoice,
|
|
109
|
-
{:line_items => Invoice::LineItem, :line_item_tiers => Invoice::LineItemTier, :line_item_discounts => Invoice::LineItemDiscount, :line_item_taxes => Invoice::LineItemTax, :line_item_credits => Invoice::LineItemCredit, :line_item_addresses => Invoice::LineItemAddress, :discounts => Invoice::Discount, :taxes => Invoice::Tax, :tax_origin => Invoice::TaxOrigin, :linked_payments => Invoice::LinkedPayment, :dunning_attempts => Invoice::DunningAttempt, :applied_credits => Invoice::AppliedCredit, :adjustment_credit_notes => Invoice::AdjustmentCreditNote, :issued_credit_notes => Invoice::IssuedCreditNote, :linked_orders => Invoice::LinkedOrder, :notes => Invoice::Note, :shipping_address => Invoice::ShippingAddress, :billing_address => Invoice::BillingAddress, :statement_descriptor => Invoice::StatementDescriptor, :einvoice => Invoice::Einvoice, :site_details_at_creation => Invoice::SiteDetailsAtCreation});
|
|
109
|
+
{:line_items => Invoice::LineItem, :line_item_tiers => Invoice::LineItemTier, :line_item_discounts => Invoice::LineItemDiscount, :line_item_taxes => Invoice::LineItemTax, :line_item_credits => Invoice::LineItemCredit, :line_item_addresses => Invoice::LineItemAddress, :discounts => Invoice::Discount, :taxes => Invoice::Tax, :tax_origin => Invoice::TaxOrigin, :linked_payments => Invoice::LinkedPayment, :reference_transactions => Invoice::ReferenceTransaction, :dunning_attempts => Invoice::DunningAttempt, :applied_credits => Invoice::AppliedCredit, :adjustment_credit_notes => Invoice::AdjustmentCreditNote, :issued_credit_notes => Invoice::IssuedCreditNote, :linked_orders => Invoice::LinkedOrder, :notes => Invoice::Note, :shipping_address => Invoice::ShippingAddress, :billing_address => Invoice::BillingAddress, :statement_descriptor => Invoice::StatementDescriptor, :einvoice => Invoice::Einvoice, :site_details_at_creation => Invoice::SiteDetailsAtCreation});
|
|
110
110
|
return invoice;
|
|
111
111
|
end
|
|
112
112
|
|
|
@@ -302,7 +302,7 @@ module ChargeBee
|
|
|
302
302
|
|
|
303
303
|
def payment_intent()
|
|
304
304
|
payment_intent = get(:payment_intent, PaymentIntent,
|
|
305
|
-
{:payment_attempt => PaymentIntent::PaymentAttempt});
|
|
305
|
+
{:payment_attempt => PaymentIntent::PaymentAttempt, :payment_attempts => PaymentIntent::PaymentAttempt});
|
|
306
306
|
return payment_intent;
|
|
307
307
|
end
|
|
308
308
|
|
|
@@ -582,7 +582,7 @@ module ChargeBee
|
|
|
582
582
|
|
|
583
583
|
def invoices()
|
|
584
584
|
invoices = get_list(:invoices, Invoice,
|
|
585
|
-
{:line_items => Invoice::LineItem, :line_item_tiers => Invoice::LineItemTier, :line_item_discounts => Invoice::LineItemDiscount, :line_item_taxes => Invoice::LineItemTax, :line_item_credits => Invoice::LineItemCredit, :line_item_addresses => Invoice::LineItemAddress, :discounts => Invoice::Discount, :taxes => Invoice::Tax, :tax_origin => Invoice::TaxOrigin, :linked_payments => Invoice::LinkedPayment, :dunning_attempts => Invoice::DunningAttempt, :applied_credits => Invoice::AppliedCredit, :adjustment_credit_notes => Invoice::AdjustmentCreditNote, :issued_credit_notes => Invoice::IssuedCreditNote, :linked_orders => Invoice::LinkedOrder, :notes => Invoice::Note, :shipping_address => Invoice::ShippingAddress, :billing_address => Invoice::BillingAddress, :statement_descriptor => Invoice::StatementDescriptor, :einvoice => Invoice::Einvoice, :site_details_at_creation => Invoice::SiteDetailsAtCreation});
|
|
585
|
+
{:line_items => Invoice::LineItem, :line_item_tiers => Invoice::LineItemTier, :line_item_discounts => Invoice::LineItemDiscount, :line_item_taxes => Invoice::LineItemTax, :line_item_credits => Invoice::LineItemCredit, :line_item_addresses => Invoice::LineItemAddress, :discounts => Invoice::Discount, :taxes => Invoice::Tax, :tax_origin => Invoice::TaxOrigin, :linked_payments => Invoice::LinkedPayment, :reference_transactions => Invoice::ReferenceTransaction, :dunning_attempts => Invoice::DunningAttempt, :applied_credits => Invoice::AppliedCredit, :adjustment_credit_notes => Invoice::AdjustmentCreditNote, :issued_credit_notes => Invoice::IssuedCreditNote, :linked_orders => Invoice::LinkedOrder, :notes => Invoice::Note, :shipping_address => Invoice::ShippingAddress, :billing_address => Invoice::BillingAddress, :statement_descriptor => Invoice::StatementDescriptor, :einvoice => Invoice::Einvoice, :site_details_at_creation => Invoice::SiteDetailsAtCreation});
|
|
586
586
|
return invoices;
|
|
587
587
|
end
|
|
588
588
|
|
data/lib/chargebee.rb
CHANGED
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.
|
|
4
|
+
version: 2.63.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: 2025-
|
|
12
|
+
date: 2025-10-28 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: cgi
|