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



### v3.47.0 (2026-05-04)
* * *
### New Resources:
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.47.0
3.48.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.47.0</version>
<version>3.48.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.47.0";
public static final String LIBRARY_VERSION = "3.48.0";

private final String apiBaseUrl;

Expand Down
12 changes: 4 additions & 8 deletions src/main/java/com/chargebee/internal/ResultBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,6 @@ public QuoteLineGroup quoteLineGroup() {
return (QuoteLineGroup)get("quote_line_group");
}

public QuoteEntitlement quoteEntitlement() {
return (QuoteEntitlement)get("quote_entitlement");
}

public CpqQuoteSignature cpqQuoteSignature() {
return (CpqQuoteSignature)get("cpq_quote_signature");
}
Expand Down Expand Up @@ -328,6 +324,10 @@ public PricingPageSession pricingPageSession() {
return (PricingPageSession)get("pricing_page_session");
}

public OmnichannelSubscriptionItemScheduledChange omnichannelSubscriptionItemScheduledChange() {
return (OmnichannelSubscriptionItemScheduledChange)get("omnichannel_subscription_item_scheduled_change");
}

public OmnichannelSubscription omnichannelSubscription() {
return (OmnichannelSubscription)get("omnichannel_subscription");
}
Expand Down Expand Up @@ -360,10 +360,6 @@ public UsageEvent usageEvent() {
return (UsageEvent)get("usage_event");
}

public OmnichannelSubscriptionItemScheduledChange omnichannelSubscriptionItemScheduledChange() {
return (OmnichannelSubscriptionItemScheduledChange)get("omnichannel_subscription_item_scheduled_change");
}

public UsageFile usageFile() {
return (UsageFile)get("usage_file");
}
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,KAKAO_PAY,NAVER_PAY,REVOLUT_PAY,CASH_APP_PAY,PIX,TWINT,GO_PAY,GRAB_PAY,PAY_CO,AFTER_PAY,SWISH,PAYME,
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,TWINT,GO_PAY,GRAB_PAY,PAY_CO,AFTER_PAY,SWISH,PAYME,PIX,KLARNA,ALIPAY_HK,PAYPAY,GCASH,SOUTH_KOREAN_CARDS,
_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
17 changes: 16 additions & 1 deletion src/main/java/com/chargebee/models/Gift.java
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ private UpdateGiftRequest(Method httpMeth, String uri) {
}

public UpdateGiftRequest scheduledAt(Timestamp scheduledAt) {
params.add("scheduled_at", scheduledAt);
params.addOpt("scheduled_at", scheduledAt);
return this;
}

Expand All @@ -703,6 +703,21 @@ public UpdateGiftRequest comment(String comment) {
}


public UpdateGiftRequest giftReceiverEmail(String giftReceiverEmail) {
params.addOpt("gift_receiver[email]", giftReceiverEmail);
return this;
}

public UpdateGiftRequest giftReceiverFirstName(String giftReceiverFirstName) {
params.addOpt("gift_receiver[first_name]", giftReceiverFirstName);
return this;
}

public UpdateGiftRequest giftReceiverLastName(String giftReceiverLastName) {
params.addOpt("gift_receiver[last_name]", giftReceiverLastName);
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 @@ -3032,6 +3032,12 @@ private CheckoutGiftForItemsRequest(Method httpMeth, String uri) {
super(httpMeth, uri);
}

public CheckoutGiftForItemsRequest layout(com.chargebee.models.enums.Layout layout) {
params.addOpt("layout", layout);
return this;
}


public CheckoutGiftForItemsRequest businessEntityId(String businessEntityId) {
params.addOpt("business_entity_id", businessEntityId);
return this;
Expand Down
5 changes: 0 additions & 5 deletions src/main/java/com/chargebee/models/Invoice.java
Original file line number Diff line number Diff line change
Expand Up @@ -3849,11 +3849,6 @@ public InvoiceListRequest sortByUpdatedAt(SortOrder order) {
}


public StringFilter<InvoiceListRequest> exclude() {
return new StringFilter<InvoiceListRequest>("exclude",this).supportsMultiOperators(true);
}


@Override
public Params params() {
return params;
Expand Down
30 changes: 29 additions & 1 deletion src/main/java/com/chargebee/models/OmnichannelSubscription.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ public Timestamp createdAt() {
return reqTimestamp("created_at");
}

public Timestamp purchasedAt() {
return optTimestamp("purchased_at");
}

public Timestamp updatedAt() {
return reqTimestamp("updated_at");
}

public Long resourceVersion() {
return optLong("resource_version");
}
Expand Down Expand Up @@ -119,7 +127,27 @@ public EnumFilter<OmnichannelSubscription.Source, OmnichannelSubscriptionListReq


public StringFilter<OmnichannelSubscriptionListRequest> customerId() {
return new StringFilter<OmnichannelSubscriptionListRequest>("customer_id",this);
return new StringFilter<OmnichannelSubscriptionListRequest>("customer_id",this).supportsMultiOperators(true);
}


public StringFilter<OmnichannelSubscriptionListRequest> id() {
return new StringFilter<OmnichannelSubscriptionListRequest>("id",this).supportsMultiOperators(true);
}


public StringFilter<OmnichannelSubscriptionListRequest> idAtSource() {
return new StringFilter<OmnichannelSubscriptionListRequest>("id_at_source",this).supportsMultiOperators(true);
}


public TimestampFilter<OmnichannelSubscriptionListRequest> updatedAt() {
return new TimestampFilter<OmnichannelSubscriptionListRequest>("updated_at",this);
}


public TimestampFilter<OmnichannelSubscriptionListRequest> purchasedAt() {
return new TimestampFilter<OmnichannelSubscriptionListRequest>("purchased_at",this);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ public Boolean hasScheduledChanges() {
return reqBoolean("has_scheduled_changes");
}

public Timestamp updatedAt() {
return reqTimestamp("updated_at");
}

public Long resourceVersion() {
return optLong("resource_version");
}
Expand Down
7 changes: 6 additions & 1 deletion src/main/java/com/chargebee/models/PaymentIntent.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,19 @@ public enum PaymentMethodType {
CASH_APP_PAY,
WECHAT_PAY,
ALIPAY,
PIX,
TWINT,
GO_PAY,
GRAB_PAY,
PAY_CO,
AFTER_PAY,
SWISH,
PAYME,
PIX,
KLARNA,
ALIPAY_HK,
PAYPAY,
GCASH,
SOUTH_KOREAN_CARDS,
_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: 2 additions & 0 deletions src/main/java/com/chargebee/models/enums/EnabledEvents.java
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ public enum EnabledEvents {
OMNICHANNEL_SUBSCRIPTION_MOVED_IN,
OMNICHANNEL_TRANSACTION_CREATED,
ALERT_STATUS_CHANGED,
OMNICHANNEL_SUBSCRIPTION_ITEM_UPDATED,
OMNICHANNEL_SUBSCRIPTION_ITEM_RECOVERED,
PLAN_CREATED,
PLAN_UPDATED,
PLAN_DELETED,
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/com/chargebee/models/enums/EventType.java
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ public enum EventType {
OMNICHANNEL_SUBSCRIPTION_MOVED_IN,
OMNICHANNEL_TRANSACTION_CREATED,
ALERT_STATUS_CHANGED,
OMNICHANNEL_SUBSCRIPTION_ITEM_UPDATED,
OMNICHANNEL_SUBSCRIPTION_ITEM_RECOVERED,
PLAN_CREATED,
PLAN_UPDATED,
PLAN_DELETED,
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/com/chargebee/models/enums/PaymentMethod.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ public enum PaymentMethod {
AFTER_PAY,
SWISH,
PAYME,
KLARNA,
ALIPAY_HK,
PAYPAY,
GCASH,
SOUTH_KOREAN_CARDS,
_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 @@ -35,14 +35,19 @@ public enum PaymentMethodType {
NAVER_PAY,
REVOLUT_PAY,
CASH_APP_PAY,
PIX,
TWINT,
GO_PAY,
GRAB_PAY,
PAY_CO,
AFTER_PAY,
SWISH,
PAYME,
PIX,
KLARNA,
ALIPAY_HK,
PAYPAY,
GCASH,
SOUTH_KOREAN_CARDS,
_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 */
}
7 changes: 6 additions & 1 deletion src/main/java/com/chargebee/models/enums/Type.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,19 @@ public enum Type {
NAVER_PAY,
REVOLUT_PAY,
CASH_APP_PAY,
PIX,
TWINT,
GO_PAY,
GRAB_PAY,
PAY_CO,
AFTER_PAY,
SWISH,
PAYME,
PIX,
KLARNA,
ALIPAY_HK,
PAYPAY,
GCASH,
SOUTH_KOREAN_CARDS,
FREE_TRIAL,
PAY_UP_FRONT,
PAY_AS_YOU_GO,
Expand Down
Loading