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
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,47 @@

### v3.43.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).



### v3.42.0 (2026-01-16)
* * *

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.42.0
3.43.0
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.chargebee</groupId>
<artifactId>chargebee-java</artifactId>
<version>3.42.0</version>
<version>3.43.0</version>


<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/chargebee/Environment.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class Environment {

public static final String API_VERSION = "v2";

public static final String LIBRARY_VERSION = "3.42.0";
public static final String LIBRARY_VERSION = "3.43.0";

private final String apiBaseUrl;

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/chargebee/models/CreditNote.java
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ public ValidationStatus validationStatus() {

public static class Einvoice extends Resource<Einvoice> {
public enum Status {
SCHEDULED,SKIPPED,IN_PROGRESS,SUCCESS,FAILED,REGISTERED,
SCHEDULED,SKIPPED,IN_PROGRESS,SUCCESS,FAILED,REGISTERED,ACCEPTED,REJECTED,MESSAGE_ACKNOWLEDGEMENT,IN_PROCESS,UNDER_QUERY,CONDITIONALLY_ACCEPTED,PAID,
_UNKNOWN; /*Indicates unexpected value for this enum. You can get this when there is a
java-client version incompatibility. We suggest you to upgrade to the latest version */
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/chargebee/models/Customer.java
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public Boolean sendBillingEmail() {

public static class PaymentMethod extends Resource<PaymentMethod> {
public enum Type {
CARD,PAYPAL_EXPRESS_CHECKOUT,AMAZON_PAYMENTS,DIRECT_DEBIT,GENERIC,ALIPAY,UNIONPAY,APPLE_PAY,WECHAT_PAY,IDEAL,GOOGLE_PAY,SOFORT,BANCONTACT,GIROPAY,DOTPAY,UPI,NETBANKING_EMANDATES,VENMO,PAY_TO,FASTER_PAYMENTS,SEPA_INSTANT_TRANSFER,AUTOMATED_BANK_TRANSFER,KLARNA_PAY_NOW,ONLINE_BANKING_POLAND,PAYCONIQ_BY_BANCONTACT,ELECTRONIC_PAYMENT_STANDARD,KBC_PAYMENT_BUTTON,PAY_BY_BANK,TRUSTLY,STABLECOIN,
CARD,PAYPAL_EXPRESS_CHECKOUT,AMAZON_PAYMENTS,DIRECT_DEBIT,GENERIC,ALIPAY,UNIONPAY,APPLE_PAY,WECHAT_PAY,IDEAL,GOOGLE_PAY,SOFORT,BANCONTACT,GIROPAY,DOTPAY,UPI,NETBANKING_EMANDATES,VENMO,PAY_TO,FASTER_PAYMENTS,SEPA_INSTANT_TRANSFER,AUTOMATED_BANK_TRANSFER,KLARNA_PAY_NOW,ONLINE_BANKING_POLAND,PAYCONIQ_BY_BANCONTACT,ELECTRONIC_PAYMENT_STANDARD,KBC_PAYMENT_BUTTON,PAY_BY_BANK,TRUSTLY,STABLECOIN,KAKAO_PAY,NAVER_PAY,REVOLUT_PAY,CASH_APP_PAY,
_UNKNOWN; /*Indicates unexpected value for this enum. You can get this when there is a
java-client version incompatibility. We suggest you to upgrade to the latest version */
}
Expand Down
7 changes: 7 additions & 0 deletions src/main/java/com/chargebee/models/Einvoice.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ public enum Status {
SUCCESS,
FAILED,
REGISTERED,
ACCEPTED,
REJECTED,
MESSAGE_ACKNOWLEDGEMENT,
IN_PROCESS,
UNDER_QUERY,
CONDITIONALLY_ACCEPTED,
PAID,
_UNKNOWN; /*Indicates unexpected value for this enum. You can get this when there is a
java-client version incompatibility. We suggest you to upgrade to the latest version */
}
Expand Down
20 changes: 20 additions & 0 deletions src/main/java/com/chargebee/models/EntitlementOverride.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ public String id() {
return reqString("id");
}

public String subscriptionId() {
return optString("subscription_id");
}

public String entityId() {
return optString("entity_id");
}
Expand Down Expand Up @@ -72,6 +76,10 @@ public Timestamp effectiveFrom() {
return optTimestamp("effective_from");
}

public Boolean isEnabled() {
return reqBoolean("is_enabled");
}

@Deprecated
public ScheduleStatus scheduleStatus() {
return optEnum("schedule_status", ScheduleStatus.class);
Expand Down Expand Up @@ -110,6 +118,14 @@ public AddEntitlementOverrideForSubscriptionRequest entitlementOverrideFeatureId
params.add("entitlement_overrides[feature_id][" + index + "]", entitlementOverrideFeatureId);
return this;
}
public AddEntitlementOverrideForSubscriptionRequest entitlementOverrideEntityId(int index, String entitlementOverrideEntityId) {
params.addOpt("entitlement_overrides[entity_id][" + index + "]", entitlementOverrideEntityId);
return this;
}
public AddEntitlementOverrideForSubscriptionRequest entitlementOverrideEntityType(int index, com.chargebee.models.enums.EntityType entitlementOverrideEntityType) {
params.addOpt("entitlement_overrides[entity_type][" + index + "]", entitlementOverrideEntityType);
return this;
}
public AddEntitlementOverrideForSubscriptionRequest entitlementOverrideValue(int index, String entitlementOverrideValue) {
params.addOpt("entitlement_overrides[value][" + index + "]", entitlementOverrideValue);
return this;
Expand All @@ -122,6 +138,10 @@ public AddEntitlementOverrideForSubscriptionRequest entitlementOverrideEffective
params.addOpt("entitlement_overrides[effective_from][" + index + "]", entitlementOverrideEffectiveFrom);
return this;
}
public AddEntitlementOverrideForSubscriptionRequest entitlementOverrideIsEnabled(int index, Boolean entitlementOverrideIsEnabled) {
params.addOpt("entitlement_overrides[is_enabled][" + index + "]", entitlementOverrideIsEnabled);
return this;
}
@Override
public Params params() {
return params;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/com/chargebee/models/HostedPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -2868,6 +2868,12 @@ public CollectNowRequest currencyCode(String currencyCode) {
}


public CollectNowRequest paymentMethodSavePolicy(com.chargebee.models.enums.PaymentMethodSavePolicy paymentMethodSavePolicy) {
params.addOpt("payment_method_save_policy", paymentMethodSavePolicy);
return this;
}


public CollectNowRequest customerId(String customerId) {
params.add("customer[id]", customerId);
return this;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/chargebee/models/Invoice.java
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ public String descriptor() {

public static class Einvoice extends Resource<Einvoice> {
public enum Status {
SCHEDULED,SKIPPED,IN_PROGRESS,SUCCESS,FAILED,REGISTERED,
SCHEDULED,SKIPPED,IN_PROGRESS,SUCCESS,FAILED,REGISTERED,ACCEPTED,REJECTED,MESSAGE_ACKNOWLEDGEMENT,IN_PROCESS,UNDER_QUERY,CONDITIONALLY_ACCEPTED,PAID,
_UNKNOWN; /*Indicates unexpected value for this enum. You can get this when there is a
java-client version incompatibility. We suggest you to upgrade to the latest version */
}
Expand Down
10 changes: 10 additions & 0 deletions src/main/java/com/chargebee/models/OmnichannelSubscription.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,16 @@ private OmnichannelSubscriptionListRequest(String uri) {
super(uri);
}

public EnumFilter<OmnichannelSubscriptionItem.Status, OmnichannelSubscriptionListRequest> omnichannelSubscriptionItemStatus() {
return new EnumFilter<OmnichannelSubscriptionItem.Status, OmnichannelSubscriptionListRequest>("omnichannel_subscription_item[status]",this);
}


public StringFilter<OmnichannelSubscriptionListRequest> omnichannelSubscriptionItemItemIdAtSource() {
return new StringFilter<OmnichannelSubscriptionListRequest>("omnichannel_subscription_item[item_id_at_source]",this);
}


public EnumFilter<OmnichannelSubscription.Source, OmnichannelSubscriptionListRequest> source() {
return new EnumFilter<OmnichannelSubscription.Source, OmnichannelSubscriptionListRequest>("source",this);
}
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/com/chargebee/models/PaymentIntent.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ public enum PaymentMethodType {
PAY_BY_BANK,
TRUSTLY,
STABLECOIN,
KAKAO_PAY,
NAVER_PAY,
REVOLUT_PAY,
CASH_APP_PAY,
WECHAT_PAY,
ALIPAY,
_UNKNOWN; /*Indicates unexpected value for this enum. You can get this when there is a
java-client version incompatibility. We suggest you to upgrade to the latest version */
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/chargebee/models/PricingPageSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ public CreateForExistingSubscriptionRequest custom(JSONObject custom) {


public CreateForExistingSubscriptionRequest pricingPageId(String pricingPageId) {
params.add("pricing_page[id]", pricingPageId);
params.addOpt("pricing_page[id]", pricingPageId);
return this;
}

Expand Down
10 changes: 10 additions & 0 deletions src/main/java/com/chargebee/models/Subscription.java
Original file line number Diff line number Diff line change
Expand Up @@ -1006,6 +1006,10 @@ public String businessEntityId() {
return optString("business_entity_id");
}

public Boolean decommissioned() {
return reqBoolean("decommissioned");
}

@Deprecated
public JSONObject metadata(){
return optJSONObject("metadata");
Expand Down Expand Up @@ -6933,6 +6937,12 @@ public CancelForItemsRequest cancelReasonCode(String cancelReasonCode) {
}


public CancelForItemsRequest decommissioned(Boolean decommissioned) {
params.addOpt("decommissioned", decommissioned);
return this;
}


public CancelForItemsRequest subscriptionItemItemPriceId(int index, String subscriptionItemItemPriceId) {
params.addOpt("subscription_items[item_price_id][" + index + "]", subscriptionItemItemPriceId);
return this;
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/chargebee/models/enums/EntityType.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public enum EntityType {
USAGE_FILE,
BUSINESS_RULE,
RULESET,
CHARGE,
_UNKNOWN; /*Indicates unexpected value for this enum. You can get this when there is a
java-client version incompatibility. We suggest you to upgrade to the latest version */
}
1 change: 1 addition & 0 deletions src/main/java/com/chargebee/models/enums/EventType.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ public enum EventType {
PAYMENT_SCHEDULE_SCHEME_DELETED,
SUBSCRIPTION_RENEWAL_REMINDER,
ADD_USAGES_REMINDER,
PAYMENT_DUE_REMINDER,
TRANSACTION_CREATED,
TRANSACTION_UPDATED,
TRANSACTION_DELETED,
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/chargebee/models/enums/Gateway.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public enum Gateway {
DEUTSCHE_BANK,
EZIDEBIT,
TWIKEY,
TEMPUS,
GOCARDLESS,
NOT_APPLICABLE,
_UNKNOWN; /*Indicates unexpected value for this enum. You can get this when there is a
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/com/chargebee/models/enums/PaymentMethod.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ public enum PaymentMethod {
PAY_BY_BANK,
TRUSTLY,
STABLECOIN,
KAKAO_PAY,
NAVER_PAY,
REVOLUT_PAY,
CASH_APP_PAY,
_UNKNOWN; /*Indicates unexpected value for this enum. You can get this when there is a
java-client version incompatibility. We suggest you to upgrade to the latest version */
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package com.chargebee.models.enums;

public enum PaymentMethodSavePolicy {
ALWAYS,
ASK,
NEVER,
_UNKNOWN; /*Indicates unexpected value for this enum. You can get this when there is a
java-client version incompatibility. We suggest you to upgrade to the latest version */
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ public enum PaymentMethodType {
PAY_BY_BANK,
TRUSTLY,
STABLECOIN,
KAKAO_PAY,
NAVER_PAY,
REVOLUT_PAY,
CASH_APP_PAY,
_UNKNOWN; /*Indicates unexpected value for this enum. You can get this when there is a
java-client version incompatibility. We suggest you to upgrade to the latest version */
}
4 changes: 4 additions & 0 deletions src/main/java/com/chargebee/models/enums/Type.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ public enum Type {
PAY_BY_BANK,
TRUSTLY,
STABLECOIN,
KAKAO_PAY,
NAVER_PAY,
REVOLUT_PAY,
CASH_APP_PAY,
FREE_TRIAL,
PAY_UP_FRONT,
PAY_AS_YOU_GO,
Expand Down