Skip to content

Commit d70fc00

Browse files
authored
Release v3.18.0 (#113)
* Minor fix with makefile file to make it align with release script * Releasing v3.18.0
1 parent 266373e commit d70fc00

16 files changed

Lines changed: 115 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,46 @@
1+
### v3.18.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+
144
### v3.17.0 (2026-01-16)
245
* * *
346

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.17.0
1+
3.18.0

chargebee/models/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
PauseOption,
5656
PaymentInitiator,
5757
PaymentMethod,
58+
PaymentMethodSavePolicy,
5859
PaymentMethodType,
5960
PaymentVoucherType,
6061
PeriodUnit,

chargebee/models/credit_note/operations.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@ class EinvoiceStatus(Enum):
9999
SUCCESS = "success"
100100
FAILED = "failed"
101101
REGISTERED = "registered"
102+
ACCEPTED = "accepted"
103+
REJECTED = "rejected"
104+
MESSAGE_ACKNOWLEDGEMENT = "message_acknowledgement"
105+
IN_PROCESS = "in_process"
106+
UNDER_QUERY = "under_query"
107+
CONDITIONALLY_ACCEPTED = "conditionally_accepted"
108+
PAID = "paid"
102109

103110
def __str__(self):
104111
return self.value

chargebee/models/einvoice/operations.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ class Status(Enum):
1515
SUCCESS = "success"
1616
FAILED = "failed"
1717
REGISTERED = "registered"
18+
ACCEPTED = "accepted"
19+
REJECTED = "rejected"
20+
MESSAGE_ACKNOWLEDGEMENT = "message_acknowledgement"
21+
IN_PROCESS = "in_process"
22+
UNDER_QUERY = "under_query"
23+
CONDITIONALLY_ACCEPTED = "conditionally_accepted"
24+
PAID = "paid"
1825

1926
def __str__(self):
2027
return self.value

chargebee/models/entitlement_override/operations.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@ def __str__(self):
1919

2020
class AddEntitlementOverrideForSubscriptionEntitlementOverrideParams(TypedDict):
2121
feature_id: Required[str]
22+
entity_id: NotRequired[str]
23+
entity_type: NotRequired[enums.EntityType]
2224
value: NotRequired[str]
2325
expires_at: NotRequired[int]
2426
effective_from: NotRequired[int]
27+
is_enabled: NotRequired[bool]
2528

2629
class AddEntitlementOverrideForSubscriptionParams(TypedDict):
2730
action: NotRequired[enums.Action]

chargebee/models/entitlement_override/responses.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
class EntitlementOverrideResponse(Model):
99
raw_data: Dict[Any, Any] = None
1010
id: str = None
11+
subscription_id: str = None
1112
entity_id: str = None
1213
entity_type: str = None
1314
feature_id: str = None
@@ -16,6 +17,7 @@ class EntitlementOverrideResponse(Model):
1617
name: str = None
1718
expires_at: int = None
1819
effective_from: int = None
20+
is_enabled: bool = None
1921
schedule_status: str = None
2022

2123

chargebee/models/enums.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,7 @@ class EntityType(Enum):
392392
USAGE_FILE = "usage_file"
393393
BUSINESS_RULE = "business_rule"
394394
RULESET = "ruleset"
395+
CHARGE = "charge"
395396

396397
def __str__(self):
397398
return self.value
@@ -481,6 +482,7 @@ class EventType(Enum):
481482
PAYMENT_SCHEDULE_SCHEME_DELETED = "payment_schedule_scheme_deleted"
482483
SUBSCRIPTION_RENEWAL_REMINDER = "subscription_renewal_reminder"
483484
ADD_USAGES_REMINDER = "add_usages_reminder"
485+
PAYMENT_DUE_REMINDER = "payment_due_reminder"
484486
TRANSACTION_CREATED = "transaction_created"
485487
TRANSACTION_UPDATED = "transaction_updated"
486488
TRANSACTION_DELETED = "transaction_deleted"
@@ -755,6 +757,7 @@ class Gateway(Enum):
755757
DEUTSCHE_BANK = "deutsche_bank"
756758
EZIDEBIT = "ezidebit"
757759
TWIKEY = "twikey"
760+
TEMPUS = "tempus"
758761
GOCARDLESS = "gocardless"
759762
NOT_APPLICABLE = "not_applicable"
760763

@@ -909,6 +912,19 @@ class PaymentMethod(Enum):
909912
PAY_BY_BANK = "pay_by_bank"
910913
TRUSTLY = "trustly"
911914
STABLECOIN = "stablecoin"
915+
KAKAO_PAY = "kakao_pay"
916+
NAVER_PAY = "naver_pay"
917+
REVOLUT_PAY = "revolut_pay"
918+
CASH_APP_PAY = "cash_app_pay"
919+
920+
def __str__(self):
921+
return self.value
922+
923+
924+
class PaymentMethodSavePolicy(Enum):
925+
ALWAYS = "always"
926+
ASK = "ask"
927+
NEVER = "never"
912928

913929
def __str__(self):
914930
return self.value
@@ -945,6 +961,10 @@ class PaymentMethodType(Enum):
945961
PAY_BY_BANK = "pay_by_bank"
946962
TRUSTLY = "trustly"
947963
STABLECOIN = "stablecoin"
964+
KAKAO_PAY = "kakao_pay"
965+
NAVER_PAY = "naver_pay"
966+
REVOLUT_PAY = "revolut_pay"
967+
CASH_APP_PAY = "cash_app_pay"
948968

949969
def __str__(self):
950970
return self.value
@@ -1198,6 +1218,10 @@ class Type(Enum):
11981218
PAY_BY_BANK = "pay_by_bank"
11991219
TRUSTLY = "trustly"
12001220
STABLECOIN = "stablecoin"
1221+
KAKAO_PAY = "kakao_pay"
1222+
NAVER_PAY = "naver_pay"
1223+
REVOLUT_PAY = "revolut_pay"
1224+
CASH_APP_PAY = "cash_app_pay"
12011225
FREE_TRIAL = "free_trial"
12021226
PAY_UP_FRONT = "pay_up_front"
12031227
PAY_AS_YOU_GO = "pay_as_you_go"

chargebee/models/hosted_page/operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,8 +704,8 @@ class CheckoutOneTimeForItemsParams(TypedDict):
704704
class CheckoutNewForItemsParams(TypedDict):
705705
subscription: NotRequired["HostedPage.CheckoutNewForItemsSubscriptionParams"]
706706
layout: NotRequired[enums.Layout]
707-
customer: NotRequired["HostedPage.CheckoutNewForItemsCustomerParams"]
708707
business_entity_id: NotRequired[str]
708+
customer: NotRequired["HostedPage.CheckoutNewForItemsCustomerParams"]
709709
billing_cycles: NotRequired[int]
710710
subscription_items: Required[
711711
List["HostedPage.CheckoutNewForItemsSubscriptionItemParams"]
@@ -824,6 +824,7 @@ class CollectNowParams(TypedDict):
824824
redirect_url: NotRequired[str]
825825
card: NotRequired["HostedPage.CollectNowCardParams"]
826826
currency_code: NotRequired[str]
827+
payment_method_save_policy: NotRequired[enums.PaymentMethodSavePolicy]
827828

828829
class AcceptQuoteParams(TypedDict):
829830
quote: Required["HostedPage.AcceptQuoteQuoteParams"]

chargebee/models/invoice/operations.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,13 @@ class EinvoiceStatus(Enum):
130130
SUCCESS = "success"
131131
FAILED = "failed"
132132
REGISTERED = "registered"
133+
ACCEPTED = "accepted"
134+
REJECTED = "rejected"
135+
MESSAGE_ACKNOWLEDGEMENT = "message_acknowledgement"
136+
IN_PROCESS = "in_process"
137+
UNDER_QUERY = "under_query"
138+
CONDITIONALLY_ACCEPTED = "conditionally_accepted"
139+
PAID = "paid"
133140

134141
def __str__(self):
135142
return self.value

0 commit comments

Comments
 (0)