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
60 changes: 60 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,63 @@
### v4.9.0 (2026-06-08)
* * *
### New Attributes:
- [`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).
- [`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).
- [`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).


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


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


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


### Deleted Resources:
- QuoteEntitlement has been removed.


### Deleted Attributes:
- `entity_id` has been removed from `QuoteEntitlement`.
- `entity_type` has been removed from `QuoteEntitlement`.
- `feature_id` has been removed from `QuoteEntitlement`.
- `value` has been removed from `QuoteEntitlement`.
- `is_enabled` has been removed from `QuoteEntitlement`.
- `start_date` has been removed from `QuoteEntitlement`.
- `end_date` has been removed from `QuoteEntitlement`.
- `created_at` has been removed from `QuoteEntitlement`.
- `modified_at` has been removed from `QuoteEntitlement`.


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


### New Enums:
- `omnichannel_subscription_item_updated` and `omnichannel_subscription_item_recovered` have been added as new values enum `EventType`.
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values enum `PaymentMethod`.
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values enum `PaymentMethodType`.
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values enum `Type`.
- `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).
- `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).
- `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).
- `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).



### v4.8.0 (2026-06-02)
* * *
### Enhancements:
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.8.0
4.9.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.8.0"
version = "4.9.0"
description = "Java client library for ChargeBee"

// Project metadata
Expand Down
14 changes: 12 additions & 2 deletions src/main/java/com/chargebee/v4/models/customer/Customer.java
Original file line number Diff line number Diff line change
Expand Up @@ -2121,8 +2121,6 @@ public enum Type {

CASH_APP_PAY("cash_app_pay"),

PIX("pix"),

TWINT("twint"),

GO_PAY("go_pay"),
Expand All @@ -2137,6 +2135,18 @@ public enum Type {

PAYME("payme"),

PIX("pix"),

KLARNA("klarna"),

ALIPAY_HK("alipay_hk"),

PAYPAY("paypay"),

GCASH("gcash"),

SOUTH_KOREAN_CARDS("south_korean_cards"),

/** An enum member indicating that Type 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 @@ -558,8 +558,6 @@ public enum Type {

CASH_APP_PAY("cash_app_pay"),

PIX("pix"),

TWINT("twint"),

GO_PAY("go_pay"),
Expand All @@ -574,6 +572,18 @@ public enum Type {

PAYME("payme"),

PIX("pix"),

KLARNA("klarna"),

ALIPAY_HK("alipay_hk"),

PAYPAY("paypay"),

GCASH("gcash"),

SOUTH_KOREAN_CARDS("south_korean_cards"),

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

ALIPAY("alipay"),

PIX("pix"),

TWINT("twint"),

GO_PAY("go_pay"),
Expand All @@ -1225,6 +1233,18 @@ public enum PaymentMethodType {

PAYME("payme"),

PIX("pix"),

KLARNA("klarna"),

ALIPAY_HK("alipay_hk"),

PAYPAY("paypay"),

GCASH("gcash"),

SOUTH_KOREAN_CARDS("south_korean_cards"),

/**
* 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 @@ -2571,8 +2571,6 @@ public enum Type {

CASH_APP_PAY("cash_app_pay"),

PIX("pix"),

TWINT("twint"),

GO_PAY("go_pay"),
Expand All @@ -2587,6 +2585,18 @@ public enum Type {

PAYME("payme"),

PIX("pix"),

KLARNA("klarna"),

ALIPAY_HK("alipay_hk"),

PAYPAY("paypay"),

GCASH("gcash"),

SOUTH_KOREAN_CARDS("south_korean_cards"),

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

ALIPAY("alipay"),

PIX("pix"),

TWINT("twint"),

GO_PAY("go_pay"),
Expand All @@ -3002,6 +3010,18 @@ public enum PaymentMethodType {

PAYME("payme"),

PIX("pix"),

KLARNA("klarna"),

ALIPAY_HK("alipay_hk"),

PAYPAY("paypay"),

GCASH("gcash"),

SOUTH_KOREAN_CARDS("south_korean_cards"),

/**
* 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 @@ -368,8 +368,6 @@ public enum Type {

CASH_APP_PAY("cash_app_pay"),

PIX("pix"),

TWINT("twint"),

GO_PAY("go_pay"),
Expand All @@ -384,6 +382,18 @@ public enum Type {

PAYME("payme"),

PIX("pix"),

KLARNA("klarna"),

ALIPAY_HK("alipay_hk"),

PAYPAY("paypay"),

GCASH("gcash"),

SOUTH_KOREAN_CARDS("south_korean_cards"),

/** An enum member indicating that Type 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 @@ -294,6 +294,8 @@ public enum EntityType {

CHARGE("charge"),

CHARGE_PRICE("charge_price"),

/** An enum member indicating that EntityType 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 @@ -804,8 +804,6 @@ public enum PaymentMethodType {

ALIPAY("alipay"),

PIX("pix"),

TWINT("twint"),

GO_PAY("go_pay"),
Expand All @@ -820,6 +818,18 @@ public enum PaymentMethodType {

PAYME("payme"),

PIX("pix"),

KLARNA("klarna"),

ALIPAY_HK("alipay_hk"),

PAYPAY("paypay"),

GCASH("gcash"),

SOUTH_KOREAN_CARDS("south_korean_cards"),

/**
* 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 @@ -798,8 +798,6 @@ public enum PaymentMethodType {

ALIPAY("alipay"),

PIX("pix"),

TWINT("twint"),

GO_PAY("go_pay"),
Expand All @@ -814,6 +812,18 @@ public enum PaymentMethodType {

PAYME("payme"),

PIX("pix"),

KLARNA("klarna"),

ALIPAY_HK("alipay_hk"),

PAYPAY("paypay"),

GCASH("gcash"),

SOUTH_KOREAN_CARDS("south_korean_cards"),

/**
* An enum member indicating that PaymentMethodType was instantiated with an unknown value.
*/
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/com/chargebee/v4/models/event/Event.java
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,10 @@ public enum EventType {

ALERT_STATUS_CHANGED("alert_status_changed"),

OMNICHANNEL_SUBSCRIPTION_ITEM_UPDATED("omnichannel_subscription_item_updated"),

OMNICHANNEL_SUBSCRIPTION_ITEM_RECOVERED("omnichannel_subscription_item_recovered"),

PLAN_CREATED("plan_created"),

PLAN_UPDATED("plan_updated"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

import com.chargebee.v4.models.omnichannelTransaction.OmnichannelTransaction;

import com.chargebee.v4.models.omnichannelSubscriptionItemScheduledChange.OmnichannelSubscriptionItemScheduledChange;

public class OmnichannelSubscriptionCreatedEvent {

private String id;
Expand Down Expand Up @@ -146,7 +144,6 @@ public static class Content {
private OmnichannelSubscriptionItem omnichannelSubscriptionItem;
private OmnichannelSubscription omnichannelSubscription;
private OmnichannelTransaction omnichannelTransaction;
private OmnichannelSubscriptionItemScheduledChange omnichannelSubscriptionItemScheduledChange;
private Customer customer;

public OmnichannelSubscriptionItem getOmnichannelSubscriptionItem() {
Expand All @@ -161,11 +158,6 @@ public OmnichannelTransaction getOmnichannelTransaction() {
return omnichannelTransaction;
}

public OmnichannelSubscriptionItemScheduledChange
getOmnichannelSubscriptionItemScheduledChange() {
return omnichannelSubscriptionItemScheduledChange;
}

public Customer getCustomer() {
return customer;
}
Expand Down Expand Up @@ -201,14 +193,6 @@ public static Content fromJson(JsonObject jsonObj) {
obj.omnichannelTransaction = OmnichannelTransaction.fromJson(__omnichannelTransactionObj);
}

JsonObject __omnichannelSubscriptionItemScheduledChangeObj =
JsonUtil.getJsonObject(jsonObj, "omnichannel_subscription_item_scheduled_change");
if (__omnichannelSubscriptionItemScheduledChangeObj != null) {
obj.omnichannelSubscriptionItemScheduledChange =
OmnichannelSubscriptionItemScheduledChange.fromJson(
__omnichannelSubscriptionItemScheduledChangeObj);
}

JsonObject __customerObj = JsonUtil.getJsonObject(jsonObj, "customer");
if (__customerObj != null) {
obj.customer = Customer.fromJson(__customerObj);
Expand All @@ -226,8 +210,6 @@ public String toString() {
+ omnichannelSubscription
+ ", omnichannelTransaction="
+ omnichannelTransaction
+ ", omnichannelSubscriptionItemScheduledChange="
+ omnichannelSubscriptionItemScheduledChange
+ ", customer="
+ customer
+ "}";
Expand All @@ -242,21 +224,14 @@ public boolean equals(Object o) {
return java.util.Objects.equals(omnichannelSubscriptionItem, that.omnichannelSubscriptionItem)
&& java.util.Objects.equals(omnichannelSubscription, that.omnichannelSubscription)
&& java.util.Objects.equals(omnichannelTransaction, that.omnichannelTransaction)
&& java.util.Objects.equals(
omnichannelSubscriptionItemScheduledChange,
that.omnichannelSubscriptionItemScheduledChange)
&& java.util.Objects.equals(customer, that.customer);
}

@Override
public int hashCode() {

return java.util.Objects.hash(
omnichannelSubscriptionItem,
omnichannelSubscription,
omnichannelTransaction,
omnichannelSubscriptionItemScheduledChange,
customer);
omnichannelSubscriptionItem, omnichannelSubscription, omnichannelTransaction, customer);
}
}
}
Loading
Loading