chargebee 2.66.0 → 2.68.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 +57 -0
- data/Gemfile.lock +2 -2
- data/README.md +1 -1
- data/chargebee.gemspec +2 -2
- data/lib/chargebee/models/entitlement_override.rb +2 -2
- data/lib/chargebee/models/item_price.rb +0 -10
- data/lib/chargebee/models/subscription.rb +1 -1
- 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: a1fc0134fd863cafca532aa8b2e4a05c087631d3473197e605479e2dd813b2da
|
|
4
|
+
data.tar.gz: 75aff02231b095d3e781b7d86efe895eeb4e026f81a5c8f34137267ecc8d83f3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bd541ef721a84ccf6e991e43042ce51193515720ec01cc7b5035410b6dcb5504c775401699b2d4b7b7ae05504a4e25453b0093e2d9718251d5430830d05cce74
|
|
7
|
+
data.tar.gz: 64d99d438c593e71c29669c74857841ba8bea72a78b7ff17aec9ac101b6b0e57561611de9fcb5303b2091aa8ce6415159e98c2649f959ca8ab5c67823e4deb16
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,60 @@
|
|
|
1
|
+
### v2.68.0 (2026-02-06)
|
|
2
|
+
* * *
|
|
3
|
+
### New Attributes:
|
|
4
|
+
- [`subscription_id`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/entitlement-override-object#subscription_id) has been added to [`EntitlementOverride`](https://apidocs.chargebee.com/docs/api/entitlement_overrides).
|
|
5
|
+
- [`is_enabled`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/entitlement-override-object#is_enabled) has been added to [`EntitlementOverride`](https://apidocs.chargebee.com/docs/api/entitlement_overrides).
|
|
6
|
+
- [`decommissioned`](https://apidocs.chargebee.com/docs/api/subscriptions/subscription-object#decommissioned) has been added to [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions).
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### New Parameters:
|
|
10
|
+
- [`omnichannel_subscription_item`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#omnichannel_subscription_item) 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
|
+
- [`entitlement_overrides.entity_id`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription#entitlement_overrides_entity_id) has been added as request body parameter to [`upsert_or_remove_entitlement_overrides_for_a_subscription`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription) in [`EntitlementOverride`](https://apidocs.chargebee.com/docs/api/entitlement_overrides).
|
|
12
|
+
- [`entitlement_overrides.entity_type`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription#entitlement_overrides_entity_type) has been added as request body parameter to [`upsert_or_remove_entitlement_overrides_for_a_subscription`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription) in [`EntitlementOverride`](https://apidocs.chargebee.com/docs/api/entitlement_overrides).
|
|
13
|
+
- [`entitlement_overrides.is_enabled`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription#entitlement_overrides_is_enabled) has been added as request body parameter to [`upsert_or_remove_entitlement_overrides_for_a_subscription`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription) in [`EntitlementOverride`](https://apidocs.chargebee.com/docs/api/entitlement_overrides).
|
|
14
|
+
- [`payment_method_save_policy`](https://apidocs.chargebee.com/docs/api/hosted_pages/collect-now#payment_method_save_policy) has been added as request body parameter to [`collect_now`](https://apidocs.chargebee.com/docs/api/hosted_pages/collect-now) in [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages).
|
|
15
|
+
- [`decommissioned`](https://apidocs.chargebee.com/docs/api/subscriptions/cancel-subscription-for-items#decommissioned) has been added as request body parameter to [`cancel_subscription_for_items`](https://apidocs.chargebee.com/docs/api/subscriptions/cancel-subscription-for-items) in [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions).
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Parameter Updates:
|
|
19
|
+
- [`pricing_page`](https://apidocs.chargebee.com/docs/api/pricing_page_sessions/create-pricing-page-for-existing-subscription#pricing_page) has been changed from required to optional in [`create_pricing_page_for_existing_subscription`](https://apidocs.chargebee.com/docs/api/pricing_page_sessions/create-pricing-page-for-existing-subscription) of [`PricingPageSession`](https://apidocs.chargebee.com/docs/api/pricing_page_sessions).
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### New Events:
|
|
23
|
+
- [`payment_due_reminder`](https://apidocs.chargebee.com/docs/api/events/webhook/payment_due_reminder) has been added.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### New Enums:
|
|
27
|
+
- `charge` has been added as a new value enum `EntityType`.
|
|
28
|
+
- `payment_due_reminder` has been added as a new value enum `EventType`.
|
|
29
|
+
- `tempus` has been added as a new value enum `Gateway`.
|
|
30
|
+
- `kakao_pay`, `naver_pay`, `revolut_pay`, and `cash_app_pay` have been added as new values enum `PaymentMethod`.
|
|
31
|
+
- `always`, `ask`, and `never` have been added as new values enum `PaymentMethodSavePolicy`.
|
|
32
|
+
- `kakao_pay`, `naver_pay`, `revolut_pay`, and `cash_app_pay` have been added as new values enum `PaymentMethodType`.
|
|
33
|
+
- `kakao_pay`, `naver_pay`, `revolut_pay`, and `cash_app_pay` have been added as new values enum `Type`.
|
|
34
|
+
- `accepted`, `rejected`, `message_acknowledgement`, `in_process`, `under_query`, `conditionally_accepted`, and `paid` have been added as new values to enum attribute [`einvoice.status`](https://apidocs.chargebee.com/docs/api/credit_notes/credit-note-object#einvoice_status) in [`CreditNote`](https://apidocs.chargebee.com/docs/api/credit_notes).
|
|
35
|
+
- `accepted`, `rejected`, `message_acknowledgement`, `in_process`, `under_query`, `conditionally_accepted`, and `paid` have been added as new values to enum attribute [`status`](https://apidocs.chargebee.com/docs/api/einvoices/einvoice-object#status) in [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
36
|
+
- `accepted`, `rejected`, `message_acknowledgement`, `in_process`, `under_query`, `conditionally_accepted`, and `paid` have been added as new values to enum attribute [`einvoice.status`](https://apidocs.chargebee.com/docs/api/invoices/invoice-object#einvoice_status) in [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
|
|
37
|
+
- `kakao_pay`, `naver_pay`, `revolut_pay`, `cash_app_pay`, `wechat_pay`, and `alipay` 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).
|
|
38
|
+
- `kakao_pay`, `naver_pay`, `revolut_pay`, `cash_app_pay`, `wechat_pay`, and `alipay` 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).
|
|
39
|
+
- `kakao_pay`, `naver_pay`, `revolut_pay`, `cash_app_pay`, `wechat_pay`, and `alipay` 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).
|
|
40
|
+
- `kakao_pay`, `naver_pay`, `revolut_pay`, `cash_app_pay`, `wechat_pay`, and `alipay` 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).
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### v3.67.0 (2026-01-16)
|
|
45
|
+
* * *
|
|
46
|
+
|
|
47
|
+
### New Parameters:
|
|
48
|
+
* `applicable_item_price_ids` has been added to Coupon#CouponListRequest.
|
|
49
|
+
* `applicable_item_price_ids` has been added to Export#CouponRequest.
|
|
50
|
+
|
|
51
|
+
### New Enums:
|
|
52
|
+
* `Twikey` has been added to GatewayEnum.
|
|
53
|
+
|
|
54
|
+
### Deleted Action:
|
|
55
|
+
* `move` action has been removed from the ItemPrice.
|
|
56
|
+
|
|
57
|
+
|
|
1
58
|
### v2.66.0 (2025-12-30)
|
|
2
59
|
* * *
|
|
3
60
|
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
chargebee (2.
|
|
4
|
+
chargebee (2.68.0)
|
|
5
5
|
cgi (>= 0.1.0, < 1.0.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -10,7 +10,7 @@ GEM
|
|
|
10
10
|
addressable (2.8.7)
|
|
11
11
|
public_suffix (>= 2.0.2, < 7.0)
|
|
12
12
|
bigdecimal (3.2.2)
|
|
13
|
-
cgi (0.
|
|
13
|
+
cgi (0.5.1)
|
|
14
14
|
crack (1.0.0)
|
|
15
15
|
bigdecimal
|
|
16
16
|
rexml
|
data/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
> [!NOTE]
|
|
7
7
|
> [](https://discord.gg/S3SXDzXHAg)
|
|
8
8
|
>
|
|
9
|
-
> We are trialing a Discord server for developers building with Chargebee. Limited spots are open on a first-come basis. Join [here](https://discord.gg/
|
|
9
|
+
> We are trialing a Discord server for developers building with Chargebee. Limited spots are open on a first-come basis. Join [here](https://discord.gg/gpsNqnhDm2) if interested.
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
This is the official Ruby library for integrating with Chargebee.
|
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 = '
|
|
7
|
+
s.version = '2.68.0'
|
|
8
|
+
s.date = '2026-01-16'
|
|
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 = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
module ChargeBee
|
|
2
2
|
class EntitlementOverride < Model
|
|
3
3
|
|
|
4
|
-
attr_accessor :id, :entity_id, :entity_type, :feature_id, :feature_name, :value,
|
|
5
|
-
:effective_from, :schedule_status
|
|
4
|
+
attr_accessor :id, :subscription_id, :entity_id, :entity_type, :feature_id, :feature_name, :value,
|
|
5
|
+
:name, :expires_at, :effective_from, :is_enabled, :schedule_status
|
|
6
6
|
|
|
7
7
|
# OPERATIONS
|
|
8
8
|
#-----------
|
|
@@ -85,15 +85,5 @@ module ChargeBee
|
|
|
85
85
|
Request.send('get', uri_path("item_prices",id.to_s,"applicable_item_prices"), params, env, headers,nil, false, jsonKeys, options)
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
-
# @deprecated This method is deprecated and will be removed in a future version.
|
|
89
|
-
def self.move_item_price(id, params, env=nil, headers={})
|
|
90
|
-
jsonKeys = {
|
|
91
|
-
}
|
|
92
|
-
options = {
|
|
93
|
-
:isIdempotent => true
|
|
94
|
-
}
|
|
95
|
-
Request.send('post', uri_path("item_prices",id.to_s,"move"), params, env, headers,nil, false, jsonKeys, options)
|
|
96
|
-
end
|
|
97
|
-
|
|
98
88
|
end # ~ItemPrice
|
|
99
89
|
end # ~ChargeBee
|
|
@@ -62,7 +62,7 @@ module ChargeBee
|
|
|
62
62
|
:addons, :event_based_addons, :charged_event_based_addons, :coupon, :coupons, :shipping_address,
|
|
63
63
|
:referral_info, :billing_override, :invoice_notes, :meta_data, :deleted, :changes_scheduled_at,
|
|
64
64
|
:contract_term, :cancel_reason_code, :free_period, :free_period_unit, :create_pending_invoices,
|
|
65
|
-
:auto_close_invoices, :discounts, :business_entity_id, :metadata
|
|
65
|
+
:auto_close_invoices, :discounts, :business_entity_id, :decommissioned, :metadata
|
|
66
66
|
def metadata
|
|
67
67
|
warn "[DEPRECATION] `metadata` is deprecated please use meta_data instead."
|
|
68
68
|
@metadata
|
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.68.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:
|
|
12
|
+
date: 2026-01-16 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: cgi
|