Skip to content

Commit 3714b8f

Browse files
committed
Release version 3.9.0
1 parent fb957a7 commit 3714b8f

50 files changed

Lines changed: 894 additions & 374 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 0 additions & 56 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,59 @@
1+
### v3.9.0 (2025-08-19)
2+
* * *
3+
### New Resources:
4+
* WebhookEndpoints has been added.
5+
* OmnichannelOneTimeOrder has been added.
6+
* OmnichannelOneTimeOrderItem has been added.
7+
8+
### New Attributes:
9+
* business_entity_id has been added to Comment.
10+
* business_entity_id has been added to PromotionalCredit.
11+
* quantity has been added to Discount.
12+
* business_entity_id has been added to PromotionalCredit.
13+
* coupon_applicability_mappings[] has been added to QuotedCharge.
14+
* linked_omnichannel_one_time_orders[] has been added to RecordedPurchase.
15+
* quantity has been added to Subscripiton#Discount.
16+
17+
### New Input Parameters:
18+
* transaction[id] has been added to Customer#RecordExcessPaymentRequest.
19+
* discounts[quantity][] has been added to Estimate#CreateSubItemEstimateRequest.
20+
* consolidate_entitlements has been added to CustomerEntitlement#EntitlementsForCustomer.
21+
* discounts[quantity][] has been added to Estimate#CreateSubItemEstimateRequest.
22+
* discounts[quantity][] has been added to Estimate#CreateSubItemForCustomerEstimateRequest.
23+
* discounts[quantity][] has been added to Estimate#UpdateSubscriptionForItemsRequest.
24+
* discounts[quantity][] has been added to Estimate#CreateInvoiceForItemsRequest.
25+
* discounts[quantity][] has been added to HostedPage#CheckoutOneTimeForItemsRequest.
26+
* discounts[quantity][] has been added to HostedPage#CheckoutNewForItemsRequest.
27+
* discounts[quantity][] has been added to HostedPage#CheckoutExistingForItemsRequest.
28+
* discounts[quantity][] has been added to PricingPageSession#CreateForNewSubscriptionRequest.
29+
* discounts[quantity][] has been added to PricingPageSession#CreateForExistingSubscriptionRequest.
30+
* discounts[quantity][] has been added to Purchase#CreateRequest.
31+
* discounts[quantity][] has been added to Purchase#EstimateRequest.
32+
* discounts[quantity][] has been added to Quote#CreateSubItemsForCustomerQuoteRequest.
33+
* discounts[quantity][] has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest.
34+
* discounts[quantity][] has been added to Quote#UpdateSubscriptionQuoteForItemsRequest.
35+
* discounts[quantity][] has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequest.
36+
* discounts[quantity][] has been added to Quote#CreateForChargeItemsAndChargesRequest.
37+
* discounts[quantity][] has been added to Quote#EditForChargeItemsAndChargesRequest.
38+
* discounts[quantity][] has been added to Subscription#CreateWithItemsRequest.
39+
* discounts[quantity][] has been added to Subscription#UpdateForItemsRequest.
40+
* discounts[quantity][] has been added to Subscription#ImportForItemsRequest.
41+
* google_play_store[product_id] has been added to RecordedPurchase#CreateRequest.
42+
* google_play_store[order_id] has been added to RecordedPurchase#CreateRequest.
43+
44+
### New Enums
45+
* PAUSE has been added to OmnichannelSubscriptionItemScheduledChange#ChangeType.
46+
* OFFER_QUANTITY has been added to Discount#Type.
47+
* OFFER_QUANTITY has been added to Subscription#Discount#Type.
48+
* OMNICHANNEL_ONE_TIME_ORDER has been added to EntityType.
49+
* OMNICHANNEL_ONE_TIME_ORDER_ITEM has been added to EntityType.
50+
* USAGE_FILE has been added to EntityType.
51+
* OMNICHANNEL_ONE_TIME_ORDER_CREATED has been added to EventType.
52+
* OMNICHANNEL_ONE_TIME_ORDER_ITEM_CANCELLED has been added to EventType.
53+
* USAGE_FILE_INGESTED has been added to EventType.
54+
* OMNICHANNEL_SUBSCRIPTION_ITEM_PAUSE_SCHEDULED has been added to EventType.
55+
56+
157
### v3.8.0 (2025-07-18)
258
* * *
359

chargebee/main.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def __init__(
6969
self.Gift = chargebee.Gift(self.env)
7070
self.Hierarchy = chargebee.Hierarchy(self.env)
7171
self.HostedPage = chargebee.HostedPage(self.env)
72+
self.ImpactedCustomer = chargebee.ImpactedCustomer(self.env)
7273
self.ImpactedItem = chargebee.ImpactedItem(self.env)
7374
self.ImpactedItemPrice = chargebee.ImpactedItemPrice(self.env)
7475
self.ImpactedSubscription = chargebee.ImpactedSubscription(self.env)
@@ -80,6 +81,10 @@ def __init__(
8081
self.ItemFamily = chargebee.ItemFamily(self.env)
8182
self.ItemPrice = chargebee.ItemPrice(self.env)
8283
self.Metadata = chargebee.Metadata(self.env)
84+
self.OmnichannelOneTimeOrder = chargebee.OmnichannelOneTimeOrder(self.env)
85+
self.OmnichannelOneTimeOrderItem = chargebee.OmnichannelOneTimeOrderItem(
86+
self.env
87+
)
8388
self.OmnichannelSubscription = chargebee.OmnichannelSubscription(self.env)
8489
self.OmnichannelSubscriptionItem = chargebee.OmnichannelSubscriptionItem(
8590
self.env
@@ -114,6 +119,12 @@ def __init__(
114119
self.SiteMigrationDetail = chargebee.SiteMigrationDetail(self.env)
115120
self.Subscription = chargebee.Subscription(self.env)
116121
self.SubscriptionEntitlement = chargebee.SubscriptionEntitlement(self.env)
122+
self.SubscriptionEntitlementsCreatedDetail = (
123+
chargebee.SubscriptionEntitlementsCreatedDetail(self.env)
124+
)
125+
self.SubscriptionEntitlementsUpdatedDetail = (
126+
chargebee.SubscriptionEntitlementsUpdatedDetail(self.env)
127+
)
117128
self.SubscriptionEstimate = chargebee.SubscriptionEstimate(self.env)
118129
self.TaxWithheld = chargebee.TaxWithheld(self.env)
119130
self.ThirdPartyPaymentMethod = chargebee.ThirdPartyPaymentMethod(self.env)
@@ -125,6 +136,7 @@ def __init__(
125136
self.UsageEvent = chargebee.UsageEvent(self.env)
126137
self.UsageFile = chargebee.UsageFile(self.env)
127138
self.VirtualBankAccount = chargebee.VirtualBankAccount(self.env)
139+
self.WebhookEndpoint = chargebee.WebhookEndpoint(self.env)
128140

129141
def update_connect_timeout_secs(self, connect_timeout):
130142
self.env.connect_timeout = connect_timeout

chargebee/models/__init__.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@
154154

155155
from chargebee.models.hosted_page.operations import HostedPage
156156

157+
from chargebee.models.impacted_customer.operations import ImpactedCustomer
158+
157159
from chargebee.models.impacted_item.operations import ImpactedItem
158160

159161
from chargebee.models.impacted_item_price.operations import ImpactedItemPrice
@@ -176,6 +178,14 @@
176178

177179
from chargebee.models.metadata.operations import Metadata
178180

181+
from chargebee.models.omnichannel_one_time_order.operations import (
182+
OmnichannelOneTimeOrder,
183+
)
184+
185+
from chargebee.models.omnichannel_one_time_order_item.operations import (
186+
OmnichannelOneTimeOrderItem,
187+
)
188+
179189
from chargebee.models.omnichannel_subscription.operations import OmnichannelSubscription
180190

181191
from chargebee.models.omnichannel_subscription_item.operations import (
@@ -242,6 +252,14 @@
242252

243253
from chargebee.models.subscription_entitlement.operations import SubscriptionEntitlement
244254

255+
from chargebee.models.subscription_entitlements_created_detail.operations import (
256+
SubscriptionEntitlementsCreatedDetail,
257+
)
258+
259+
from chargebee.models.subscription_entitlements_updated_detail.operations import (
260+
SubscriptionEntitlementsUpdatedDetail,
261+
)
262+
245263
from chargebee.models.subscription_estimate.operations import SubscriptionEstimate
246264

247265
from chargebee.models.tax_withheld.operations import TaxWithheld
@@ -265,3 +283,5 @@
265283
from chargebee.models.usage_file.operations import UsageFile
266284

267285
from chargebee.models.virtual_bank_account.operations import VirtualBankAccount
286+
287+
from chargebee.models.webhook_endpoint.operations import WebhookEndpoint

chargebee/models/comment/responses.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class CommentResponse(Model):
1414
created_at: int = None
1515
type: str = None
1616
entity_id: str = None
17+
business_entity_id: str = None
1718

1819

1920
@dataclass

0 commit comments

Comments
 (0)