Skip to content

Commit af35103

Browse files
authored
Releasing v3.46.0 (#96)
1 parent 470fb3d commit af35103

26 files changed

+676
-8
lines changed

CHANGELOG.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,55 @@
1+
### v3.46.0 (2026-03-26)
2+
* * *
3+
### New Resources:
4+
- [`Alert`](https://apidocs.chargebee.com/docs/api/alerts) has been added.
5+
- [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses) has been added.
6+
- [`CpqQuoteSignature`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures) has been added.
7+
8+
9+
### New Actions:
10+
- [`update_a_quote_signature_status`](https://apidocs.chargebee.com/docs/api/quotes/update-a-quote-signature-status) has been added to [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
11+
- [`update_a_quote_signature`](https://apidocs.chargebee.com/docs/api/quotes/update-a-quote-signature) has been added to [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
12+
- [`retrieve_a_quote_signature_signed_pdf`](https://apidocs.chargebee.com/docs/api/quotes/retrieve-a-quote-signature-signed-pdf) has been added to [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
13+
- [`retrieve_a_quote_signature`](https://apidocs.chargebee.com/docs/api/quotes/retrieve-a-quote-signature) has been added to [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
14+
- [`create_a_quote_signature`](https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-signature) has been added to [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
15+
- [`refresh_a_quote_signature_link`](https://apidocs.chargebee.com/docs/api/quotes/refresh-a-quote-signature-link) has been added to [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
16+
17+
18+
### New Attributes:
19+
- [`reference_id`](https://apidocs.chargebee.com/docs/api/einvoices/einvoice-object#reference_id) has been added to [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
20+
- [`provider_references`](https://apidocs.chargebee.com/docs/api/einvoices/einvoice-object#provider_references) has been added to [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
21+
- [`created_at`](https://apidocs.chargebee.com/docs/api/unbilled_charges/unbilled-charge-object#created_at) has been added to [`UnbilledCharge`](https://apidocs.chargebee.com/docs/api/unbilled_charges).
22+
23+
24+
### New Parameters:
25+
- [`include_usage_charges`](https://apidocs.chargebee.com/docs/api/estimates/upcoming-invoices-estimate#include_usage_charges) has been added as query parameter to [`upcoming_invoices_estimate`](https://apidocs.chargebee.com/docs/api/estimates/upcoming-invoices-estimate) in [`Estimate`](https://apidocs.chargebee.com/docs/api/estimates).
26+
- [`business_entity_id`](https://apidocs.chargebee.com/docs/api/hosted_pages/manage-payment-sources#business_entity_id) has been added as request body parameter to [`manage_payment_sources`](https://apidocs.chargebee.com/docs/api/hosted_pages/manage-payment-sources) in [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages).
27+
- [`cpq_quote_signature`](https://apidocs.chargebee.com/docs/api/quotes/update-a-quote-signature-status#cpq_quote_signature) has been added as request body parameter to [`update_a_quote_signature_status`](https://apidocs.chargebee.com/docs/api/quotes/update-a-quote-signature-status) in [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
28+
29+
30+
### New Events:
31+
- [`alert_status_changed`](https://apidocs.chargebee.com/docs/api/events/webhook/alert_status_changed) has been added.
32+
33+
34+
### New Enums:
35+
- `alert_status` has been added as a new value enum `EntityType`.
36+
- `alert_status_changed` has been added as a new value enum `EventType`.
37+
- `pix` has been added as a new value enum `PaymentMethod`.
38+
- `pix` has been added as a new value enum `PaymentMethodType`.
39+
- `pix` and `usage_exceeded` have been added as new values enum `Type`.
40+
- `enabled` and `disabled` have been added as new values to enum attribute [`status`](https://apidocs.chargebee.com/docs/api/alerts/alert-object#status) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
41+
- `global` and `subscription` have been added as new values to enum attribute [`scope`](https://apidocs.chargebee.com/docs/api/alerts/alert-object#scope) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
42+
- `draft`, `active`, `signed`, `expired`, `cancelled`, and `declined` have been added as new values to enum attribute [`status`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures/cpq-quote-signature-object#status) in [`CpqQuoteSignature`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures).
43+
- `esign_and_pay`, `esign`, and `pay` have been added as new values to enum attribute [`customer_acceptance_method`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures/cpq-quote-signature-object#customer_acceptance_method) in [`CpqQuoteSignature`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures).
44+
- `consolidated` and `detailed` have been added as new values to enum attribute [`quote_type`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures/cpq-quote-signature-object#quote_type) in [`CpqQuoteSignature`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures).
45+
- `pix` has been added as a new value 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).
46+
- `pix` has been added as a new value 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).
47+
- `pix` has been added as a new value 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).
48+
- `pix` has been added as a new value 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).
49+
- `expired`, `declined`, `draft`, `active`, `signed`, and `cancelled` have been added as new values to enum request body parameter `cpq_quote_signature.status` in [`update_a_quote_signature_status`](https://apidocs.chargebee.com/docs/api/quotes/update-a-quote-signature-status) of [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
50+
51+
52+
153
### v3.45.0 (2026-03-09)
254
* * *
355
### Bug Fixes:

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.45.0
1+
3.46.0

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.45.0</version>
7+
<version>3.46.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.45.0";
41+
public static final String LIBRARY_VERSION = "3.46.0";
4242

4343
private final String apiBaseUrl;
4444

src/main/java/com/chargebee/internal/ResultBase.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ public QuoteLineGroup quoteLineGroup() {
148148
return (QuoteLineGroup)get("quote_line_group");
149149
}
150150

151+
public CpqQuoteSignature cpqQuoteSignature() {
152+
return (CpqQuoteSignature)get("cpq_quote_signature");
153+
}
154+
151155
public Plan plan() {
152156
return (Plan)get("plan");
153157
}
@@ -388,6 +392,14 @@ public UsageCharge usageCharge() {
388392
return (UsageCharge)get("usage_charge");
389393
}
390394

395+
public Alert alert() {
396+
return (Alert)get("alert");
397+
}
398+
399+
public AlertStatus alertStatus() {
400+
return (AlertStatus)get("alert_status");
401+
}
402+
391403
public ImpactedCustomer impactedCustomer() {
392404
return (ImpactedCustomer)get("impacted_customer");
393405
}
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
package com.chargebee.models;
2+
3+
import com.chargebee.*;
4+
import com.chargebee.internal.*;
5+
import com.chargebee.filters.*;
6+
import com.chargebee.filters.enums.SortOrder;
7+
import com.chargebee.internal.HttpUtil.Method;
8+
import com.chargebee.models.enums.*;
9+
import org.json.*;
10+
import java.io.*;
11+
import java.sql.Timestamp;
12+
import java.util.*;
13+
14+
public class Alert extends Resource<Alert> {
15+
16+
public enum Status {
17+
ENABLED,
18+
DISABLED,
19+
_UNKNOWN; /*Indicates unexpected value for this enum. You can get this when there is a
20+
java-client version incompatibility. We suggest you to upgrade to the latest version */
21+
}
22+
23+
public enum Scope {
24+
GLOBAL,
25+
SUBSCRIPTION,
26+
_UNKNOWN; /*Indicates unexpected value for this enum. You can get this when there is a
27+
java-client version incompatibility. We suggest you to upgrade to the latest version */
28+
}
29+
30+
//Constructors
31+
//============
32+
33+
public Alert(String jsonStr) {
34+
super(jsonStr);
35+
}
36+
37+
public Alert(JSONObject jsonObj) {
38+
super(jsonObj);
39+
}
40+
41+
// Fields
42+
//=======
43+
44+
public String id() {
45+
return reqString("id");
46+
}
47+
48+
public Type type() {
49+
return optEnum("type", Type.class);
50+
}
51+
52+
public String name() {
53+
return reqString("name");
54+
}
55+
56+
public String description() {
57+
return optString("description");
58+
}
59+
60+
public String meteredFeatureId() {
61+
return reqString("metered_feature_id");
62+
}
63+
64+
public String subscriptionId() {
65+
return optString("subscription_id");
66+
}
67+
68+
public Status status() {
69+
return optEnum("status", Status.class);
70+
}
71+
72+
public Timestamp alarmTriggeredAt() {
73+
return optTimestamp("alarm_triggered_at");
74+
}
75+
76+
public Scope scope() {
77+
return optEnum("scope", Scope.class);
78+
}
79+
80+
public String meta() {
81+
return optString("meta");
82+
}
83+
84+
public Timestamp createdAt() {
85+
return reqTimestamp("created_at");
86+
}
87+
88+
public Timestamp updatedAt() {
89+
return reqTimestamp("updated_at");
90+
}
91+
92+
// Operations
93+
//===========
94+
95+
96+
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
package com.chargebee.models;
2+
3+
import com.chargebee.*;
4+
import com.chargebee.internal.*;
5+
import com.chargebee.filters.*;
6+
import com.chargebee.filters.enums.SortOrder;
7+
import com.chargebee.internal.HttpUtil.Method;
8+
import com.chargebee.models.enums.*;
9+
import org.json.*;
10+
import java.io.*;
11+
import java.sql.Timestamp;
12+
import java.util.*;
13+
14+
public class AlertStatus extends Resource<AlertStatus> {
15+
16+
//Constructors
17+
//============
18+
19+
public AlertStatus(String jsonStr) {
20+
super(jsonStr);
21+
}
22+
23+
public AlertStatus(JSONObject jsonObj) {
24+
super(jsonObj);
25+
}
26+
27+
// Fields
28+
//=======
29+
30+
public String alertId() {
31+
return reqString("alert_id");
32+
}
33+
34+
public String subscriptionId() {
35+
return reqString("subscription_id");
36+
}
37+
38+
public com.chargebee.models.enums.AlertStatus alertStatus() {
39+
return reqEnum("alert_status", com.chargebee.models.enums.AlertStatus.class);
40+
}
41+
42+
public Timestamp alarmTriggeredAt() {
43+
return optTimestamp("alarm_triggered_at");
44+
}
45+
46+
// Operations
47+
//===========
48+
49+
50+
}
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
package com.chargebee.models;
2+
3+
import com.chargebee.*;
4+
import com.chargebee.internal.*;
5+
import com.chargebee.filters.*;
6+
import com.chargebee.filters.enums.SortOrder;
7+
import com.chargebee.internal.HttpUtil.Method;
8+
import com.chargebee.models.enums.*;
9+
import org.json.*;
10+
import java.io.*;
11+
import java.sql.Timestamp;
12+
import java.util.*;
13+
14+
public class CpqQuoteSignature extends Resource<CpqQuoteSignature> {
15+
16+
public enum Status {
17+
DRAFT,
18+
ACTIVE,
19+
SIGNED,
20+
EXPIRED,
21+
CANCELLED,
22+
DECLINED,
23+
_UNKNOWN; /*Indicates unexpected value for this enum. You can get this when there is a
24+
java-client version incompatibility. We suggest you to upgrade to the latest version */
25+
}
26+
27+
public enum CustomerAcceptanceMethod {
28+
ESIGN_AND_PAY,
29+
ESIGN,
30+
PAY,
31+
_UNKNOWN; /*Indicates unexpected value for this enum. You can get this when there is a
32+
java-client version incompatibility. We suggest you to upgrade to the latest version */
33+
}
34+
35+
public enum QuoteType {
36+
CONSOLIDATED,
37+
DETAILED,
38+
_UNKNOWN; /*Indicates unexpected value for this enum. You can get this when there is a
39+
java-client version incompatibility. We suggest you to upgrade to the latest version */
40+
}
41+
42+
//Constructors
43+
//============
44+
45+
public CpqQuoteSignature(String jsonStr) {
46+
super(jsonStr);
47+
}
48+
49+
public CpqQuoteSignature(JSONObject jsonObj) {
50+
super(jsonObj);
51+
}
52+
53+
// Fields
54+
//=======
55+
56+
public String id() {
57+
return reqString("id");
58+
}
59+
60+
public Status status() {
61+
return reqEnum("status", Status.class);
62+
}
63+
64+
public String name() {
65+
return optString("name");
66+
}
67+
68+
public String documentName() {
69+
return optString("document_name");
70+
}
71+
72+
public CustomerAcceptanceMethod customerAcceptanceMethod() {
73+
return reqEnum("customer_acceptance_method", CustomerAcceptanceMethod.class);
74+
}
75+
76+
public QuoteType quoteType() {
77+
return reqEnum("quote_type", QuoteType.class);
78+
}
79+
80+
public Timestamp expiresAt() {
81+
return optTimestamp("expires_at");
82+
}
83+
84+
public String timezone() {
85+
return optString("timezone");
86+
}
87+
88+
public String providerRequestId() {
89+
return optString("provider_request_id");
90+
}
91+
92+
public String providerDocumentId() {
93+
return optString("provider_document_id");
94+
}
95+
96+
public Timestamp createdAt() {
97+
return reqTimestamp("created_at");
98+
}
99+
100+
public Timestamp modifiedAt() {
101+
return reqTimestamp("modified_at");
102+
}
103+
104+
// Operations
105+
//===========
106+
107+
108+
}

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,10 @@ public String id() {
679679
return reqString("id");
680680
}
681681

682+
public String referenceId() {
683+
return optString("reference_id");
684+
}
685+
682686
public String referenceNumber() {
683687
return optString("reference_number");
684688
}
@@ -691,6 +695,10 @@ public String message() {
691695
return optString("message");
692696
}
693697

698+
public JSONArray providerReferences() {
699+
return optJSONArray("provider_references");
700+
}
701+
694702
}
695703

696704
public static class SiteDetailsAtCreation extends Resource<SiteDetailsAtCreation> {

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,ELECTRONIC_PAYMENT_STANDARD,KBC_PAYMENT_BUTTON,PAY_BY_BANK,TRUSTLY,STABLECOIN,KAKAO_PAY,NAVER_PAY,REVOLUT_PAY,CASH_APP_PAY,
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,KAKAO_PAY,NAVER_PAY,REVOLUT_PAY,CASH_APP_PAY,PIX,
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
}

0 commit comments

Comments
 (0)