diff --git a/CHANGELOG.md b/CHANGELOG.md
index 90c7d8f0..22b46d38 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,25 @@
+### v3.40.0 (2025-12-30)
+* * *
+
+### New Attributes:
+* retry_engine has been added to Invoice#DunningAttempt.
+
+### New Endpoint:
+* move action has been added to ItemPrice.
+
+### New Parameters:
+* exclude_tax_type has been added to Estimate#RenewalEstimateInputParam.
+* variant_id has been added to ItemPrice#MoveInputParam.
+* custom has been added to PricingPageSession#CreateForNewSubscriptionInputParam.
+* custom has been added to PricingPageSession#CreateForExistingSubscriptionInputParam.
+
+### New Enums:
+* ELECTRONIC_PAYMENT_STANDARD has been added to PaymentMethodTypeEnum.
+* KBC_PAYMENT_BUTTON has been added to PaymentMethodTypeEnum.
+* PAY_BY_BANK has been added to PaymentMethodTypeEnum.
+* TRUSTLY has been added to PaymentMethodTypeEnum.
+* STABLECOIN has been added to PaymentMethodTypeEnum.
+
### v3.39.0 (2025-11-26)
* * *
diff --git a/pom.xml b/pom.xml
index 80c51303..29860c7e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.chargebee
chargebee-java
- 3.39.0
+ 3.40.0
jar
diff --git a/src/main/java/com/chargebee/Environment.java b/src/main/java/com/chargebee/Environment.java
index 65357c65..6fef38aa 100644
--- a/src/main/java/com/chargebee/Environment.java
+++ b/src/main/java/com/chargebee/Environment.java
@@ -38,7 +38,7 @@ public class Environment {
public static final String API_VERSION = "v2";
- public static final String LIBRARY_VERSION = "3.39.0";
+ public static final String LIBRARY_VERSION = "3.40.0";
private final String apiBaseUrl;
diff --git a/src/main/java/com/chargebee/models/Customer.java b/src/main/java/com/chargebee/models/Customer.java
index d6eba422..8974600f 100644
--- a/src/main/java/com/chargebee/models/Customer.java
+++ b/src/main/java/com/chargebee/models/Customer.java
@@ -209,7 +209,7 @@ public Boolean sendBillingEmail() {
public static class PaymentMethod extends Resource {
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,
+ 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,
_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 */
}
diff --git a/src/main/java/com/chargebee/models/Estimate.java b/src/main/java/com/chargebee/models/Estimate.java
index 14c8490a..bfe53a08 100644
--- a/src/main/java/com/chargebee/models/Estimate.java
+++ b/src/main/java/com/chargebee/models/Estimate.java
@@ -2335,6 +2335,12 @@ public RenewalEstimateRequest ignoreScheduledChanges(Boolean ignoreScheduledChan
}
+ public RenewalEstimateRequest excludeTaxType(com.chargebee.models.enums.ExcludeTaxType excludeTaxType) {
+ params.addOpt("exclude_tax_type", excludeTaxType);
+ return this;
+ }
+
+
@Override
public Params params() {
return params;
diff --git a/src/main/java/com/chargebee/models/Invoice.java b/src/main/java/com/chargebee/models/Invoice.java
index f683b00b..1c91e69f 100644
--- a/src/main/java/com/chargebee/models/Invoice.java
+++ b/src/main/java/com/chargebee/models/Invoice.java
@@ -574,6 +574,10 @@ public Long txnAmount() {
return optLong("txn_amount");
}
+ public RetryEngine retryEngine() {
+ return optEnum("retry_engine", RetryEngine.class);
+ }
+
}
public static class AppliedCredit extends Resource {
diff --git a/src/main/java/com/chargebee/models/ItemPrice.java b/src/main/java/com/chargebee/models/ItemPrice.java
index 3ceb4f10..5cb56a6e 100644
--- a/src/main/java/com/chargebee/models/ItemPrice.java
+++ b/src/main/java/com/chargebee/models/ItemPrice.java
@@ -1175,6 +1175,12 @@ public MoveItemPriceRequest destinationItemId(String destinationItemId) {
}
+ public MoveItemPriceRequest variantId(String variantId) {
+ params.addOpt("variant_id", variantId);
+ return this;
+ }
+
+
@Override
public Params params() {
return params;
diff --git a/src/main/java/com/chargebee/models/PaymentIntent.java b/src/main/java/com/chargebee/models/PaymentIntent.java
index f9da5cae..979e3d7e 100644
--- a/src/main/java/com/chargebee/models/PaymentIntent.java
+++ b/src/main/java/com/chargebee/models/PaymentIntent.java
@@ -45,6 +45,11 @@ public enum PaymentMethodType {
KLARNA_PAY_NOW,
ONLINE_BANKING_POLAND,
PAYCONIQ_BY_BANCONTACT,
+ ELECTRONIC_PAYMENT_STANDARD,
+ KBC_PAYMENT_BUTTON,
+ PAY_BY_BANK,
+ TRUSTLY,
+ STABLECOIN,
_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 */
}
diff --git a/src/main/java/com/chargebee/models/PricingPageSession.java b/src/main/java/com/chargebee/models/PricingPageSession.java
index 4194ecc0..705ec859 100644
--- a/src/main/java/com/chargebee/models/PricingPageSession.java
+++ b/src/main/java/com/chargebee/models/PricingPageSession.java
@@ -84,6 +84,12 @@ public CreateForNewSubscriptionRequest autoSelectLocalCurrency(Boolean autoSelec
}
+ public CreateForNewSubscriptionRequest custom(JSONObject custom) {
+ params.addOpt("custom", custom);
+ return this;
+ }
+
+
public CreateForNewSubscriptionRequest pricingPageId(String pricingPageId) {
params.add("pricing_page[id]", pricingPageId);
return this;
@@ -327,6 +333,12 @@ public CreateForExistingSubscriptionRequest redirectUrl(String redirectUrl) {
}
+ public CreateForExistingSubscriptionRequest custom(JSONObject custom) {
+ params.addOpt("custom", custom);
+ return this;
+ }
+
+
public CreateForExistingSubscriptionRequest pricingPageId(String pricingPageId) {
params.add("pricing_page[id]", pricingPageId);
return this;
diff --git a/src/main/java/com/chargebee/models/enums/ExcludeTaxType.java b/src/main/java/com/chargebee/models/enums/ExcludeTaxType.java
new file mode 100644
index 00000000..4f23ed35
--- /dev/null
+++ b/src/main/java/com/chargebee/models/enums/ExcludeTaxType.java
@@ -0,0 +1,8 @@
+package com.chargebee.models.enums;
+
+public enum ExcludeTaxType {
+ EXCLUSIVE,
+ NONE,
+ _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 */
+}
\ No newline at end of file
diff --git a/src/main/java/com/chargebee/models/enums/PaymentMethod.java b/src/main/java/com/chargebee/models/enums/PaymentMethod.java
index 08e48a67..4d4ff362 100644
--- a/src/main/java/com/chargebee/models/enums/PaymentMethod.java
+++ b/src/main/java/com/chargebee/models/enums/PaymentMethod.java
@@ -34,6 +34,11 @@ public enum PaymentMethod {
KLARNA_PAY_NOW,
ONLINE_BANKING_POLAND,
PAYCONIQ_BY_BANCONTACT,
+ ELECTRONIC_PAYMENT_STANDARD,
+ KBC_PAYMENT_BUTTON,
+ PAY_BY_BANK,
+ TRUSTLY,
+ STABLECOIN,
_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 */
}
\ No newline at end of file
diff --git a/src/main/java/com/chargebee/models/enums/PaymentMethodType.java b/src/main/java/com/chargebee/models/enums/PaymentMethodType.java
index da6f67ae..778ba81c 100644
--- a/src/main/java/com/chargebee/models/enums/PaymentMethodType.java
+++ b/src/main/java/com/chargebee/models/enums/PaymentMethodType.java
@@ -26,6 +26,11 @@ public enum PaymentMethodType {
KLARNA_PAY_NOW,
ONLINE_BANKING_POLAND,
PAYCONIQ_BY_BANCONTACT,
+ ELECTRONIC_PAYMENT_STANDARD,
+ KBC_PAYMENT_BUTTON,
+ PAY_BY_BANK,
+ TRUSTLY,
+ STABLECOIN,
_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 */
}
\ No newline at end of file
diff --git a/src/main/java/com/chargebee/models/enums/RetryEngine.java b/src/main/java/com/chargebee/models/enums/RetryEngine.java
new file mode 100644
index 00000000..2afc937a
--- /dev/null
+++ b/src/main/java/com/chargebee/models/enums/RetryEngine.java
@@ -0,0 +1,9 @@
+package com.chargebee.models.enums;
+
+public enum RetryEngine {
+ CHARGEBEE,
+ FLEXPAY,
+ SUCCESSPLUS,
+ _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 */
+}
\ No newline at end of file
diff --git a/src/main/java/com/chargebee/models/enums/Type.java b/src/main/java/com/chargebee/models/enums/Type.java
index a6a6318d..e9ed8598 100644
--- a/src/main/java/com/chargebee/models/enums/Type.java
+++ b/src/main/java/com/chargebee/models/enums/Type.java
@@ -26,6 +26,11 @@ public enum Type {
KLARNA_PAY_NOW,
ONLINE_BANKING_POLAND,
PAYCONIQ_BY_BANCONTACT,
+ ELECTRONIC_PAYMENT_STANDARD,
+ KBC_PAYMENT_BUTTON,
+ PAY_BY_BANK,
+ TRUSTLY,
+ STABLECOIN,
FREE_TRIAL,
PAY_UP_FRONT,
PAY_AS_YOU_GO,