Skip to content

Commit 0f1cc29

Browse files
authored
Releasing v3.4.0 (#66)
1 parent 3b1f504 commit 0f1cc29

14 files changed

Lines changed: 90 additions & 3 deletions

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
### v3.40.0 (2025-12-30)
2+
* * *
3+
4+
### New Attributes:
5+
* retry_engine has been added to Invoice#DunningAttempt.
6+
7+
### New Endpoint:
8+
* move action has been added to ItemPrice.
9+
10+
### New Parameters:
11+
* exclude_tax_type has been added to Estimate#RenewalEstimateInputParam.
12+
* variant_id has been added to ItemPrice#MoveInputParam.
13+
* custom has been added to PricingPageSession#CreateForNewSubscriptionInputParam.
14+
* custom has been added to PricingPageSession#CreateForExistingSubscriptionInputParam.
15+
16+
### New Enums:
17+
* ELECTRONIC_PAYMENT_STANDARD has been added to PaymentMethodTypeEnum.
18+
* KBC_PAYMENT_BUTTON has been added to PaymentMethodTypeEnum.
19+
* PAY_BY_BANK has been added to PaymentMethodTypeEnum.
20+
* TRUSTLY has been added to PaymentMethodTypeEnum.
21+
* STABLECOIN has been added to PaymentMethodTypeEnum.
22+
123
### v3.39.0 (2025-11-26)
224
* * *
325

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.chargebee</groupId>
66
<artifactId>chargebee-java</artifactId>
7-
<version>3.39.0</version>
7+
<version>3.40.0</version>
88

99

1010
<packaging>jar</packaging>

src/main/java/com/chargebee/Environment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class Environment {
3838

3939
public static final String API_VERSION = "v2";
4040

41-
public static final String LIBRARY_VERSION = "3.39.0";
41+
public static final String LIBRARY_VERSION = "3.40.0";
4242

4343
private final String apiBaseUrl;
4444

src/main/java/com/chargebee/models/Customer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public Boolean sendBillingEmail() {
209209

210210
public static class PaymentMethod extends Resource<PaymentMethod> {
211211
public enum Type {
212-
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,
212+
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,
213213
_UNKNOWN; /*Indicates unexpected value for this enum. You can get this when there is a
214214
java-client version incompatibility. We suggest you to upgrade to the latest version */
215215
}

src/main/java/com/chargebee/models/Estimate.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2335,6 +2335,12 @@ public RenewalEstimateRequest ignoreScheduledChanges(Boolean ignoreScheduledChan
23352335
}
23362336

23372337

2338+
public RenewalEstimateRequest excludeTaxType(com.chargebee.models.enums.ExcludeTaxType excludeTaxType) {
2339+
params.addOpt("exclude_tax_type", excludeTaxType);
2340+
return this;
2341+
}
2342+
2343+
23382344
@Override
23392345
public Params params() {
23402346
return params;

src/main/java/com/chargebee/models/Invoice.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,10 @@ public Long txnAmount() {
574574
return optLong("txn_amount");
575575
}
576576

577+
public RetryEngine retryEngine() {
578+
return optEnum("retry_engine", RetryEngine.class);
579+
}
580+
577581
}
578582

579583
public static class AppliedCredit extends Resource<AppliedCredit> {

src/main/java/com/chargebee/models/ItemPrice.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,6 +1175,12 @@ public MoveItemPriceRequest destinationItemId(String destinationItemId) {
11751175
}
11761176

11771177

1178+
public MoveItemPriceRequest variantId(String variantId) {
1179+
params.addOpt("variant_id", variantId);
1180+
return this;
1181+
}
1182+
1183+
11781184
@Override
11791185
public Params params() {
11801186
return params;

src/main/java/com/chargebee/models/PaymentIntent.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ public enum PaymentMethodType {
4545
KLARNA_PAY_NOW,
4646
ONLINE_BANKING_POLAND,
4747
PAYCONIQ_BY_BANCONTACT,
48+
ELECTRONIC_PAYMENT_STANDARD,
49+
KBC_PAYMENT_BUTTON,
50+
PAY_BY_BANK,
51+
TRUSTLY,
52+
STABLECOIN,
4853
_UNKNOWN; /*Indicates unexpected value for this enum. You can get this when there is a
4954
java-client version incompatibility. We suggest you to upgrade to the latest version */
5055
}

src/main/java/com/chargebee/models/PricingPageSession.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ public CreateForNewSubscriptionRequest autoSelectLocalCurrency(Boolean autoSelec
8484
}
8585

8686

87+
public CreateForNewSubscriptionRequest custom(JSONObject custom) {
88+
params.addOpt("custom", custom);
89+
return this;
90+
}
91+
92+
8793
public CreateForNewSubscriptionRequest pricingPageId(String pricingPageId) {
8894
params.add("pricing_page[id]", pricingPageId);
8995
return this;
@@ -327,6 +333,12 @@ public CreateForExistingSubscriptionRequest redirectUrl(String redirectUrl) {
327333
}
328334

329335

336+
public CreateForExistingSubscriptionRequest custom(JSONObject custom) {
337+
params.addOpt("custom", custom);
338+
return this;
339+
}
340+
341+
330342
public CreateForExistingSubscriptionRequest pricingPageId(String pricingPageId) {
331343
params.add("pricing_page[id]", pricingPageId);
332344
return this;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package com.chargebee.models.enums;
2+
3+
public enum ExcludeTaxType {
4+
EXCLUSIVE,
5+
NONE,
6+
_UNKNOWN; /*Indicates unexpected value for this enum. You can get this when there is a
7+
java-client version incompatibility. We suggest you to upgrade to the latest version */
8+
}

0 commit comments

Comments
 (0)