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
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
jdk: ['8', '11', '17']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: ${{ matrix.jdk }}
Expand Down
56 changes: 56 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,59 @@
### v3.36.0 (2025-08-19)
* * *

### New Resources:
* WebhookEndpoints has been added.
* OmnichannelOneTimeOrder has been added.
* OmnichannelOneTimeOrderItem has been added.

### New Attributes:
* business_entity_id has been added to Comment.
* business_entity_id has been added to PromotionalCredit.
* quantity has been added to Discount.
* business_entity_id has been added to PromotionalCredit.
* coupon_applicability_mappings[] has been added to QuotedCharge.
* linked_omnichannel_one_time_orders[] has been added to RecordedPurchase.
* quantity has been added to Subscripiton#Discount.

### New Input Parameters:
* transaction[id] has been added to Customer#RecordExcessPaymentRequest.
* discounts[quantity][] has been added to Estimate#CreateSubItemEstimateRequest.
* consolidate_entitlements has been added to CustomerEntitlement#EntitlementsForCustomer.
* discounts[quantity][] has been added to Estimate#CreateSubItemEstimateRequest.
* discounts[quantity][] has been added to Estimate#CreateSubItemForCustomerEstimateRequest.
* discounts[quantity][] has been added to Estimate#UpdateSubscriptionForItemsRequest.
* discounts[quantity][] has been added to Estimate#CreateInvoiceForItemsRequest.
* discounts[quantity][] has been added to HostedPage#CheckoutOneTimeForItemsRequest.
* discounts[quantity][] has been added to HostedPage#CheckoutNewForItemsRequest.
* discounts[quantity][] has been added to HostedPage#CheckoutExistingForItemsRequest.
* discounts[quantity][] has been added to PricingPageSession#CreateForNewSubscriptionRequest.
* discounts[quantity][] has been added to PricingPageSession#CreateForExistingSubscriptionRequest.
* discounts[quantity][] has been added to Purchase#CreateRequest.
* discounts[quantity][] has been added to Purchase#EstimateRequest.
* discounts[quantity][] has been added to Quote#CreateSubItemsForCustomerQuoteRequest.
* discounts[quantity][] has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest.
* discounts[quantity][] has been added to Quote#UpdateSubscriptionQuoteForItemsRequest.
* discounts[quantity][] has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequest.
* discounts[quantity][] has been added to Quote#CreateForChargeItemsAndChargesRequest.
* discounts[quantity][] has been added to Quote#EditForChargeItemsAndChargesRequest.
* discounts[quantity][] has been added to Subscription#CreateWithItemsRequest.
* discounts[quantity][] has been added to Subscription#UpdateForItemsRequest.
* discounts[quantity][] has been added to Subscription#ImportForItemsRequest.
* google_play_store[product_id] has been added to RecordedPurchase#CreateRequest.
* google_play_store[order_id] has been added to RecordedPurchase#CreateRequest.

### New Enums
* PAUSE has been added to OmnichannelSubscriptionItemScheduledChange#ChangeType.
* OFFER_QUANTITY has been added to Discount#Type.
* OFFER_QUANTITY has been added to Subscription#Discount#Type.
* OMNICHANNEL_ONE_TIME_ORDER has been added to EntityType.
* OMNICHANNEL_ONE_TIME_ORDER_ITEM has been added to EntityType.
* USAGE_FILE has been added to EntityType.
* OMNICHANNEL_ONE_TIME_ORDER_CREATED has been added to EventType.
* OMNICHANNEL_ONE_TIME_ORDER_ITEM_CANCELLED has been added to EventType.
* USAGE_FILE_INGESTED has been added to EventType.
* OMNICHANNEL_SUBSCRIPTION_ITEM_PAUSE_SCHEDULED has been added to EventType.

### v3.35.0 (2025-07-18)
* * *

Expand Down
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.35.0</version>
<version>3.36.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.35.0";
public static final String LIBRARY_VERSION = "3.36.0";

private final String apiBaseUrl;

Expand Down
24 changes: 24 additions & 0 deletions src/main/java/com/chargebee/internal/ResultBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,14 @@ public RecordedPurchase recordedPurchase() {
return (RecordedPurchase)get("recorded_purchase");
}

public OmnichannelOneTimeOrder omnichannelOneTimeOrder() {
return (OmnichannelOneTimeOrder)get("omnichannel_one_time_order");
}

public OmnichannelOneTimeOrderItem omnichannelOneTimeOrderItem() {
return (OmnichannelOneTimeOrderItem)get("omnichannel_one_time_order_item");
}

public Rule rule() {
return (Rule)get("rule");
}
Expand All @@ -348,6 +356,22 @@ public Brand brand() {
return (Brand)get("brand");
}

public WebhookEndpoint webhookEndpoint() {
return (WebhookEndpoint)get("webhook_endpoint");
}

public ImpactedCustomer impactedCustomer() {
return (ImpactedCustomer)get("impacted_customer");
}

public SubscriptionEntitlementsUpdatedDetail subscriptionEntitlementsUpdatedDetail() {
return (SubscriptionEntitlementsUpdatedDetail)get("subscription_entitlements_updated_detail");
}

public SubscriptionEntitlementsCreatedDetail subscriptionEntitlementsCreatedDetail() {
return (SubscriptionEntitlementsCreatedDetail)get("subscription_entitlements_created_detail");
}

public List<AdvanceInvoiceSchedule> advanceInvoiceSchedules() {
return (List<AdvanceInvoiceSchedule>) getList("advance_invoice_schedules", "advance_invoice_schedule");
}
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/com/chargebee/models/Comment.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ public String entityId() {
return reqString("entity_id");
}

public String businessEntityId() {
return optString("business_entity_id");
}

// Operations
//===========

Expand Down
Loading