Skip to content

Commit 92dfaa1

Browse files
authored
Merge pull request #122 from chargebee/release-v2.72.0
Release v2.72.0
2 parents 0708107 + 329065e commit 92dfaa1

9 files changed

Lines changed: 76 additions & 21 deletions

File tree

CHANGELOG.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,63 @@
1+
### v2.72.0 (2026-06-08)
2+
* * *
3+
### New Attributes:
4+
- [`purchased_at`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/omnichannel-subscription-object#purchased_at) has been added to [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
5+
- [`updated_at`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/omnichannel-subscription-object#updated_at) has been added to [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
6+
- [`updated_at`](https://apidocs.chargebee.com/docs/api/omnichannel_subscription_items/omnichannel-subscription-item-object#updated_at) has been added to [`OmnichannelSubscriptionItem`](https://apidocs.chargebee.com/docs/api/omnichannel_subscription_items).
7+
8+
9+
### New Parameters:
10+
- [`customer_id.in`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#customer_id_in) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
11+
- [`customer_id.not_in`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#customer_id_not_in) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
12+
- [`id`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#id) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
13+
- [`id_at_source`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#id_at_source) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
14+
- [`updated_at`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#updated_at) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
15+
- [`purchased_at`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#purchased_at) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
16+
- [`gift_receiver`](https://apidocs.chargebee.com/docs/api/gifts/update-a-gift#gift_receiver) has been added as request body parameter to [`update_a_gift`](https://apidocs.chargebee.com/docs/api/gifts/update-a-gift) in [`Gift`](https://apidocs.chargebee.com/docs/api/gifts).
17+
- [`layout`](https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-gift-subscription-for-items#layout) has been added as request body parameter to [`checkout_gift_subscription_for_items`](https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-gift-subscription-for-items) in [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages).
18+
19+
20+
### Parameter Updates:
21+
- [`scheduled_at`](https://apidocs.chargebee.com/docs/api/gifts/update-a-gift#scheduled_at) has been changed from required to optional in [`update_a_gift`](https://apidocs.chargebee.com/docs/api/gifts/update-a-gift) of [`Gift`](https://apidocs.chargebee.com/docs/api/gifts).
22+
23+
24+
### New Events:
25+
- [`omnichannel_subscription_item_updated`](https://apidocs.chargebee.com/docs/api/events/webhook/omnichannel_subscription_item_updated) has been added.
26+
- [`omnichannel_subscription_item_recovered`](https://apidocs.chargebee.com/docs/api/events/webhook/omnichannel_subscription_item_recovered) has been added.
27+
28+
29+
### Deleted Resources:
30+
- QuoteEntitlement has been removed.
31+
32+
33+
### Deleted Attributes:
34+
- `entity_id` has been removed from `QuoteEntitlement`.
35+
- `entity_type` has been removed from `QuoteEntitlement`.
36+
- `feature_id` has been removed from `QuoteEntitlement`.
37+
- `value` has been removed from `QuoteEntitlement`.
38+
- `is_enabled` has been removed from `QuoteEntitlement`.
39+
- `start_date` has been removed from `QuoteEntitlement`.
40+
- `end_date` has been removed from `QuoteEntitlement`.
41+
- `created_at` has been removed from `QuoteEntitlement`.
42+
- `modified_at` has been removed from `QuoteEntitlement`.
43+
44+
45+
### Deleted Parameters:
46+
- `exclude` has been removed as query parameter from [`list_invoices`](https://apidocs.chargebee.com/docs/api/invoices/list-invoices) in [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
47+
48+
49+
### New Enums:
50+
- `omnichannel_subscription_item_updated` and `omnichannel_subscription_item_recovered` have been added as new values enum `EventType`.
51+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values enum `PaymentMethod`.
52+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values enum `PaymentMethodType`.
53+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values enum `Type`.
54+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values to enum attribute [`payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#payment_method_type) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
55+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values to enum attribute [`active_payment_attempt.payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#active_payment_attempt_payment_method_type) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
56+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values to enum request body parameter `payment_method_type` in [`update_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/update-a-payment-intent) of [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
57+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values to enum request body parameter `payment_method_type` in [`create_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/create-a-payment-intent) of [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
58+
59+
60+
161
### v2.71.0 (2026-05-04)
262
* * *
363
### New Resources:

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.71.0)
4+
chargebee (2.72.0)
55
cgi (>= 0.1.0, < 1.0.0)
66

77
GEM

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.71.0
1+
2.72.0

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.71.0'
8-
s.date = '2026-05-04'
7+
s.version = '2.72.0'
8+
s.date = '2026-06-08'
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.71.0'
103+
VERSION = '2.72.0'
104104

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

lib/chargebee/models/gift.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def self.cancel(id, env=nil, headers={})
7272
Request.send('post', uri_path("gifts",id.to_s,"cancel"), {}, env, headers,nil, false, jsonKeys, options)
7373
end
7474

75-
def self.update_gift(id, params, env=nil, headers={})
75+
def self.update_gift(id, params={}, env=nil, headers={})
7676
jsonKeys = {
7777
}
7878
options = {

lib/chargebee/models/omnichannel_subscription.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module ChargeBee
22
class OmnichannelSubscription < Model
33

4-
attr_accessor :id, :id_at_source, :app_id, :source, :customer_id, :created_at, :resource_version,
5-
:omnichannel_subscription_items, :initial_purchase_transaction
4+
attr_accessor :id, :id_at_source, :app_id, :source, :customer_id, :created_at, :purchased_at,
5+
:updated_at, :resource_version, :omnichannel_subscription_items, :initial_purchase_transaction
66

77
# OPERATIONS
88
#-----------

lib/chargebee/models/omnichannel_subscription_item.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ class LinkedItem < Model
1111

1212
attr_accessor :id, :item_id_at_source, :item_parent_id_at_source, :status, :auto_renew_status,
1313
:current_term_start, :current_term_end, :expired_at, :expiration_reason, :cancelled_at, :cancellation_reason,
14-
:grace_period_expires_at, :resumes_at, :has_scheduled_changes, :resource_version, :omnichannel_subscription_item_offers,
15-
:upcoming_renewal, :linked_item
14+
:grace_period_expires_at, :resumes_at, :has_scheduled_changes, :updated_at, :resource_version,
15+
:omnichannel_subscription_item_offers, :upcoming_renewal, :linked_item
1616

1717
# OPERATIONS
1818
#-----------

lib/chargebee/result.rb

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,6 @@ def quote_line_group()
230230
return quote_line_group;
231231
end
232232

233-
def quote_entitlement()
234-
quote_entitlement = get(:quote_entitlement, QuoteEntitlement);
235-
return quote_entitlement;
236-
end
237-
238233
def cpq_quote_signature()
239234
cpq_quote_signature = get(:cpq_quote_signature, CpqQuoteSignature);
240235
return cpq_quote_signature;
@@ -479,6 +474,12 @@ def pricing_page_session()
479474
return pricing_page_session;
480475
end
481476

477+
def omnichannel_subscription_item_scheduled_change()
478+
omnichannel_subscription_item_scheduled_change = get(:omnichannel_subscription_item_scheduled_change, OmnichannelSubscriptionItemScheduledChange,
479+
{:current_state => OmnichannelSubscriptionItemScheduledChange::CurrentState, :scheduled_state => OmnichannelSubscriptionItemScheduledChange::ScheduledState});
480+
return omnichannel_subscription_item_scheduled_change;
481+
end
482+
482483
def omnichannel_subscription()
483484
omnichannel_subscription = get(:omnichannel_subscription, OmnichannelSubscription, {},
484485
{:omnichannel_subscription_items => OmnichannelSubscriptionItem, :initial_purchase_transaction => OmnichannelTransaction});
@@ -534,12 +535,6 @@ def usage_event()
534535
return usage_event;
535536
end
536537

537-
def omnichannel_subscription_item_scheduled_change()
538-
omnichannel_subscription_item_scheduled_change = get(:omnichannel_subscription_item_scheduled_change, OmnichannelSubscriptionItemScheduledChange,
539-
{:current_state => OmnichannelSubscriptionItemScheduledChange::CurrentState, :scheduled_state => OmnichannelSubscriptionItemScheduledChange::ScheduledState});
540-
return omnichannel_subscription_item_scheduled_change;
541-
end
542-
543538
def usage_file()
544539
usage_file = get(:usage_file, UsageFile,
545540
{:upload_detail => UsageFile::UploadDetail});

0 commit comments

Comments
 (0)