Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,46 @@
### v4.1.0 (2026-02-06)
* * *
### New Attributes:
- [`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).
- [`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).
- [`decommissioned`](https://apidocs.chargebee.com/docs/api/subscriptions/subscription-object#decommissioned) has been added to [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions).


### New Parameters:
- [`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).
- [`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).
- [`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).
- [`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).
- [`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).
- [`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).


### Parameter Updates:
- [`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).


### New Events:
- [`payment_due_reminder`](https://apidocs.chargebee.com/docs/api/events/webhook/payment_due_reminder) has been added.


### New Enums:
- `charge` has been added as a new value enum `EntityType`.
- `payment_due_reminder` has been added as a new value enum `EventType`.
- `tempus` has been added as a new value enum `Gateway`.
- `kakao_pay`, `naver_pay`, `revolut_pay`, and `cash_app_pay` have been added as new values enum `PaymentMethod`.
- `always`, `ask`, and `never` have been added as new values enum `PaymentMethodSavePolicy`.
- `kakao_pay`, `naver_pay`, `revolut_pay`, and `cash_app_pay` have been added as new values enum `PaymentMethodType`.
- `kakao_pay`, `naver_pay`, `revolut_pay`, and `cash_app_pay` have been added as new values enum `Type`.
- `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).
- `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).
- `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).
- `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).
- `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).
- `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).
- `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).



### v4.0.3 (2026-02-05)
* * *

Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: update-version increment-major increment-minor increment-patch test build clean install check
.PHONY: update-version increment-major increment-minor increment-patch test build clean install check format

# Version file location
VERSION_FILE := VERSION
Expand Down Expand Up @@ -87,3 +87,6 @@ update:
outdated:
@echo "Checking for outdated dependencies..."
@$(GRADLE) dependencyUpdates

format:
@echo "Format is already been implemented by the SDK generator for this module"
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.3
4.1.0
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = "com.chargebee"
version = "4.0.3"
version = "4.1.0"
description = "Java client library for ChargeBee"

// Project metadata
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import com.chargebee.v4.filters.StringFilter;
import com.chargebee.v4.filters.NumberFilter;
import com.chargebee.v4.filters.TimestampFilter;

import com.chargebee.v4.filters.CustomFieldSelector;

import java.util.Collections;
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/com/chargebee/v4/models/card/Card.java
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ public enum Gateway {

TWIKEY("twikey"),

TEMPUS("tempus"),

NOT_APPLICABLE("not_applicable"),

/** An enum member indicating that Gateway was instantiated with an unknown value. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ public enum Gateway {

TWIKEY("twikey"),

TEMPUS("tempus"),

/** An enum member indicating that Gateway was instantiated with an unknown value. */
_UNKNOWN(null);
private final String value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,8 @@ public enum Gateway {

TWIKEY("twikey"),

TEMPUS("tempus"),

/** An enum member indicating that Gateway was instantiated with an unknown value. */
_UNKNOWN(null);
private final String value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import com.chargebee.v4.internal.Recommended;
import com.chargebee.v4.filters.StringFilter;
import com.chargebee.v4.filters.TimestampFilter;

import com.chargebee.v4.filters.CustomFieldSelector;

import java.util.Collections;
Expand Down
14 changes: 14 additions & 0 deletions src/main/java/com/chargebee/v4/models/creditNote/CreditNote.java
Original file line number Diff line number Diff line change
Expand Up @@ -3158,6 +3158,20 @@ public enum Status {

REGISTERED("registered"),

ACCEPTED("accepted"),

REJECTED("rejected"),

MESSAGE_ACKNOWLEDGEMENT("message_acknowledgement"),

IN_PROCESS("in_process"),

UNDER_QUERY("under_query"),

CONDITIONALLY_ACCEPTED("conditionally_accepted"),

PAID("paid"),

/** An enum member indicating that Status was instantiated with an unknown value. */
_UNKNOWN(null);
private final String value;
Expand Down
10 changes: 10 additions & 0 deletions src/main/java/com/chargebee/v4/models/customer/Customer.java
Original file line number Diff line number Diff line change
Expand Up @@ -2148,6 +2148,14 @@ public enum Type {

STABLECOIN("stablecoin"),

KAKAO_PAY("kakao_pay"),

NAVER_PAY("naver_pay"),

REVOLUT_PAY("revolut_pay"),

CASH_APP_PAY("cash_app_pay"),

/** An enum member indicating that Type was instantiated with an unknown value. */
_UNKNOWN(null);
private final String value;
Expand Down Expand Up @@ -2286,6 +2294,8 @@ public enum Gateway {

TWIKEY("twikey"),

TEMPUS("tempus"),

NOT_APPLICABLE("not_applicable"),

/** An enum member indicating that Gateway was instantiated with an unknown value. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,14 @@ public enum Type {

STABLECOIN("stablecoin"),

KAKAO_PAY("kakao_pay"),

NAVER_PAY("naver_pay"),

REVOLUT_PAY("revolut_pay"),

CASH_APP_PAY("cash_app_pay"),

/** An enum member indicating that Type was instantiated with an unknown value. */
_UNKNOWN(null);
private final String value;
Expand Down Expand Up @@ -1173,6 +1181,18 @@ public enum PaymentMethodType {

STABLECOIN("stablecoin"),

KAKAO_PAY("kakao_pay"),

NAVER_PAY("naver_pay"),

REVOLUT_PAY("revolut_pay"),

CASH_APP_PAY("cash_app_pay"),

WECHAT_PAY("wechat_pay"),

ALIPAY("alipay"),

/**
* An enum member indicating that PaymentMethodType was instantiated with an unknown value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1814,6 +1814,8 @@ public enum Gateway {

TWIKEY("twikey"),

TEMPUS("tempus"),

/** An enum member indicating that Gateway was instantiated with an unknown value. */
_UNKNOWN(null);
private final String value;
Expand Down Expand Up @@ -2557,6 +2559,14 @@ public enum Type {

STABLECOIN("stablecoin"),

KAKAO_PAY("kakao_pay"),

NAVER_PAY("naver_pay"),

REVOLUT_PAY("revolut_pay"),

CASH_APP_PAY("cash_app_pay"),

/** An enum member indicating that Type was instantiated with an unknown value. */
_UNKNOWN(null);
private final String value;
Expand Down Expand Up @@ -2693,6 +2703,8 @@ public enum Gateway {

TWIKEY("twikey"),

TEMPUS("tempus"),

/** An enum member indicating that Gateway was instantiated with an unknown value. */
_UNKNOWN(null);
private final String value;
Expand Down Expand Up @@ -2938,6 +2950,18 @@ public enum PaymentMethodType {

STABLECOIN("stablecoin"),

KAKAO_PAY("kakao_pay"),

NAVER_PAY("naver_pay"),

REVOLUT_PAY("revolut_pay"),

CASH_APP_PAY("cash_app_pay"),

WECHAT_PAY("wechat_pay"),

ALIPAY("alipay"),

/**
* An enum member indicating that PaymentMethodType was instantiated with an unknown value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import com.chargebee.v4.internal.Recommended;
import com.chargebee.v4.filters.StringFilter;
import com.chargebee.v4.filters.TimestampFilter;

import com.chargebee.v4.filters.CustomFieldSelector;

import java.util.Collections;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,14 @@ public enum Type {

STABLECOIN("stablecoin"),

KAKAO_PAY("kakao_pay"),

NAVER_PAY("naver_pay"),

REVOLUT_PAY("revolut_pay"),

CASH_APP_PAY("cash_app_pay"),

/** An enum member indicating that Type was instantiated with an unknown value. */
_UNKNOWN(null);
private final String value;
Expand Down Expand Up @@ -496,6 +504,8 @@ public enum Gateway {

TWIKEY("twikey"),

TEMPUS("tempus"),

/** An enum member indicating that Gateway was instantiated with an unknown value. */
_UNKNOWN(null);
private final String value;
Expand Down
14 changes: 14 additions & 0 deletions src/main/java/com/chargebee/v4/models/einvoice/Einvoice.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,20 @@ public enum Status {

REGISTERED("registered"),

ACCEPTED("accepted"),

REJECTED("rejected"),

MESSAGE_ACKNOWLEDGEMENT("message_acknowledgement"),

IN_PROCESS("in_process"),

UNDER_QUERY("under_query"),

CONDITIONALLY_ACCEPTED("conditionally_accepted"),

PAID("paid"),

/** An enum member indicating that Status was instantiated with an unknown value. */
_UNKNOWN(null);
private final String value;
Expand Down
Loading