Skip to content

Commit cfefb6d

Browse files
authored
Releasing v3.42.0 (#90)
1 parent c8702b5 commit cfefb6d

21 files changed

+222
-4
lines changed

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,46 @@
1+
### v3.42.0 (2026-02-06)
2+
* * *
3+
### New Attributes:
4+
- [`subscription_id`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/entitlement-override-object#subscription_id) has been added to [`EntitlementOverride`](https://apidocs.chargebee.com/docs/api/entitlement_overrides).
5+
- [`is_enabled`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/entitlement-override-object#is_enabled) has been added to [`EntitlementOverride`](https://apidocs.chargebee.com/docs/api/entitlement_overrides).
6+
- [`decommissioned`](https://apidocs.chargebee.com/docs/api/subscriptions/subscription-object#decommissioned) has been added to [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions).
7+
8+
9+
### New Parameters:
10+
- [`omnichannel_subscription_item`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#omnichannel_subscription_item) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
11+
- [`entitlement_overrides.entity_id`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription#entitlement_overrides_entity_id) has been added as request body parameter to [`upsert_or_remove_entitlement_overrides_for_a_subscription`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription) in [`EntitlementOverride`](https://apidocs.chargebee.com/docs/api/entitlement_overrides).
12+
- [`entitlement_overrides.entity_type`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription#entitlement_overrides_entity_type) has been added as request body parameter to [`upsert_or_remove_entitlement_overrides_for_a_subscription`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription) in [`EntitlementOverride`](https://apidocs.chargebee.com/docs/api/entitlement_overrides).
13+
- [`entitlement_overrides.is_enabled`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription#entitlement_overrides_is_enabled) has been added as request body parameter to [`upsert_or_remove_entitlement_overrides_for_a_subscription`](https://apidocs.chargebee.com/docs/api/entitlement_overrides/upsert-or-remove-entitlement-overrides-for-a-subscription) in [`EntitlementOverride`](https://apidocs.chargebee.com/docs/api/entitlement_overrides).
14+
- [`payment_method_save_policy`](https://apidocs.chargebee.com/docs/api/hosted_pages/collect-now#payment_method_save_policy) has been added as request body parameter to [`collect_now`](https://apidocs.chargebee.com/docs/api/hosted_pages/collect-now) in [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages).
15+
- [`decommissioned`](https://apidocs.chargebee.com/docs/api/subscriptions/cancel-subscription-for-items#decommissioned) has been added as request body parameter to [`cancel_subscription_for_items`](https://apidocs.chargebee.com/docs/api/subscriptions/cancel-subscription-for-items) in [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions).
16+
17+
18+
### Parameter Updates:
19+
- [`pricing_page`](https://apidocs.chargebee.com/docs/api/pricing_page_sessions/create-pricing-page-for-existing-subscription#pricing_page) has been changed from required to optional in [`create_pricing_page_for_existing_subscription`](https://apidocs.chargebee.com/docs/api/pricing_page_sessions/create-pricing-page-for-existing-subscription) of [`PricingPageSession`](https://apidocs.chargebee.com/docs/api/pricing_page_sessions).
20+
21+
22+
### New Events:
23+
- [`payment_due_reminder`](https://apidocs.chargebee.com/docs/api/events/webhook/payment_due_reminder) has been added.
24+
25+
26+
### New Enums:
27+
- `charge` has been added as a new value enum `EntityType`.
28+
- `payment_due_reminder` has been added as a new value enum `EventType`.
29+
- `tempus` has been added as a new value enum `Gateway`.
30+
- `kakao_pay`, `naver_pay`, `revolut_pay`, and `cash_app_pay` have been added as new values enum `PaymentMethod`.
31+
- `always`, `ask`, and `never` have been added as new values enum `PaymentMethodSavePolicy`.
32+
- `kakao_pay`, `naver_pay`, `revolut_pay`, and `cash_app_pay` have been added as new values enum `PaymentMethodType`.
33+
- `kakao_pay`, `naver_pay`, `revolut_pay`, and `cash_app_pay` have been added as new values enum `Type`.
34+
- `accepted`, `rejected`, `message_acknowledgement`, `in_process`, `under_query`, `conditionally_accepted`, and `paid` have been added as new values to enum attribute [`einvoice.status`](https://apidocs.chargebee.com/docs/api/credit_notes/credit-note-object#einvoice_status) in [`CreditNote`](https://apidocs.chargebee.com/docs/api/credit_notes).
35+
- `accepted`, `rejected`, `message_acknowledgement`, `in_process`, `under_query`, `conditionally_accepted`, and `paid` have been added as new values to enum attribute [`status`](https://apidocs.chargebee.com/docs/api/einvoices/einvoice-object#status) in [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
36+
- `accepted`, `rejected`, `message_acknowledgement`, `in_process`, `under_query`, `conditionally_accepted`, and `paid` have been added as new values to enum attribute [`einvoice.status`](https://apidocs.chargebee.com/docs/api/invoices/invoice-object#einvoice_status) in [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
37+
- `kakao_pay`, `naver_pay`, `revolut_pay`, `cash_app_pay`, `wechat_pay`, and `alipay` have been added as new values 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).
38+
- `kakao_pay`, `naver_pay`, `revolut_pay`, `cash_app_pay`, `wechat_pay`, and `alipay` have been added as new values 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).
39+
- `kakao_pay`, `naver_pay`, `revolut_pay`, `cash_app_pay`, `wechat_pay`, and `alipay` have been added as new values 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).
40+
- `kakao_pay`, `naver_pay`, `revolut_pay`, `cash_app_pay`, `wechat_pay`, and `alipay` have been added as new values 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).
41+
42+
43+
144
### v3.41.0 (2026-01-14)
245
* * *
346

ChargeBee/Api/ApiConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public sealed class ApiConfig
2323
{
2424
public static string DomainSuffix = "chargebee.com";
2525
public static string Proto = "https";
26-
public static string Version = "3.41.0";
26+
public static string Version = "3.42.0";
2727
public static readonly string API_VERSION = "v2";
2828
public static int TimeTravelMillis { get; set; }
2929
public static int ExportSleepMillis { get; set;}

ChargeBee/ChargeBee.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>netstandard1.2;netstandard2.0;net45</TargetFrameworks>
4-
<Version>3.41.0</Version>
4+
<Version>3.42.0</Version>
55
<PackageId>chargebee</PackageId>
66
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
77
<PackageProjectUrl>https://github.com/chargebee/chargebee-dotnet</PackageProjectUrl>

ChargeBee/Models/CreditNote.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1795,6 +1795,20 @@ public enum StatusEnum
17951795
Failed,
17961796
[EnumMember(Value = "registered")]
17971797
Registered,
1798+
[EnumMember(Value = "accepted")]
1799+
Accepted,
1800+
[EnumMember(Value = "rejected")]
1801+
Rejected,
1802+
[EnumMember(Value = "message_acknowledgement")]
1803+
MessageAcknowledgement,
1804+
[EnumMember(Value = "in_process")]
1805+
InProcess,
1806+
[EnumMember(Value = "under_query")]
1807+
UnderQuery,
1808+
[EnumMember(Value = "conditionally_accepted")]
1809+
ConditionallyAccepted,
1810+
[EnumMember(Value = "paid")]
1811+
Paid,
17981812
}
17991813

18001814
public string Id {

ChargeBee/Models/Customer.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2425,6 +2425,14 @@ public enum TypeEnum
24252425
Trustly,
24262426
[EnumMember(Value = "stablecoin")]
24272427
Stablecoin,
2428+
[EnumMember(Value = "kakao_pay")]
2429+
KakaoPay,
2430+
[EnumMember(Value = "naver_pay")]
2431+
NaverPay,
2432+
[EnumMember(Value = "revolut_pay")]
2433+
RevolutPay,
2434+
[EnumMember(Value = "cash_app_pay")]
2435+
CashAppPay,
24282436
}
24292437
public enum StatusEnum
24302438
{

ChargeBee/Models/Einvoice.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,20 @@ public enum StatusEnum
8181
Failed,
8282
[EnumMember(Value = "registered")]
8383
Registered,
84+
[EnumMember(Value = "accepted")]
85+
Accepted,
86+
[EnumMember(Value = "rejected")]
87+
Rejected,
88+
[EnumMember(Value = "message_acknowledgement")]
89+
MessageAcknowledgement,
90+
[EnumMember(Value = "in_process")]
91+
InProcess,
92+
[EnumMember(Value = "under_query")]
93+
UnderQuery,
94+
[EnumMember(Value = "conditionally_accepted")]
95+
ConditionallyAccepted,
96+
[EnumMember(Value = "paid")]
97+
Paid,
8498

8599
}
86100

ChargeBee/Models/EntitlementOverride.cs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ public string Id
5858
{
5959
get { return GetValue<string>("id", true); }
6060
}
61+
public string SubscriptionId
62+
{
63+
get { return GetValue<string>("subscription_id", false); }
64+
}
6165
public string EntityId
6266
{
6367
get { return GetValue<string>("entity_id", false); }
@@ -90,6 +94,10 @@ public DateTime? EffectiveFrom
9094
{
9195
get { return GetDateTime("effective_from", false); }
9296
}
97+
public bool IsEnabled
98+
{
99+
get { return GetValue<bool>("is_enabled", true); }
100+
}
93101
[Obsolete]
94102
public ScheduleStatusEnum? ScheduleStatus
95103
{
@@ -116,6 +124,16 @@ public AddEntitlementOverrideForSubscriptionRequest EntitlementOverrideFeatureId
116124
m_params.Add("entitlement_overrides[feature_id][" + index + "]", entitlementOverrideFeatureId);
117125
return this;
118126
}
127+
public AddEntitlementOverrideForSubscriptionRequest EntitlementOverrideEntityId(int index, string entitlementOverrideEntityId)
128+
{
129+
m_params.AddOpt("entitlement_overrides[entity_id][" + index + "]", entitlementOverrideEntityId);
130+
return this;
131+
}
132+
public AddEntitlementOverrideForSubscriptionRequest EntitlementOverrideEntityType(int index, ChargeBee.Models.Enums.EntityTypeEnum entitlementOverrideEntityType)
133+
{
134+
m_params.AddOpt("entitlement_overrides[entity_type][" + index + "]", entitlementOverrideEntityType);
135+
return this;
136+
}
119137
public AddEntitlementOverrideForSubscriptionRequest EntitlementOverrideValue(int index, string entitlementOverrideValue)
120138
{
121139
m_params.AddOpt("entitlement_overrides[value][" + index + "]", entitlementOverrideValue);
@@ -131,6 +149,11 @@ public AddEntitlementOverrideForSubscriptionRequest EntitlementOverrideEffective
131149
m_params.AddOpt("entitlement_overrides[effective_from][" + index + "]", entitlementOverrideEffectiveFrom);
132150
return this;
133151
}
152+
public AddEntitlementOverrideForSubscriptionRequest EntitlementOverrideIsEnabled(int index, bool entitlementOverrideIsEnabled)
153+
{
154+
m_params.AddOpt("entitlement_overrides[is_enabled][" + index + "]", entitlementOverrideIsEnabled);
155+
return this;
156+
}
134157
}
135158
public class EntitlementOverrideListEntitlementOverrideForSubscriptionRequest : ListRequestBase<EntitlementOverrideListEntitlementOverrideForSubscriptionRequest>
136159
{

ChargeBee/Models/Enums/EntityTypeEnum.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,5 +130,8 @@ public enum EntityTypeEnum
130130
[EnumMember(Value = "ruleset")]
131131
Ruleset,
132132

133+
[EnumMember(Value = "charge")]
134+
Charge,
135+
133136
}
134137
}

ChargeBee/Models/Enums/EventTypeEnum.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ public enum EventTypeEnum
202202
[EnumMember(Value = "add_usages_reminder")]
203203
AddUsagesReminder,
204204

205+
[EnumMember(Value = "payment_due_reminder")]
206+
PaymentDueReminder,
207+
205208
[EnumMember(Value = "transaction_created")]
206209
TransactionCreated,
207210

ChargeBee/Models/Enums/GatewayEnum.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ public enum GatewayEnum
178178
[EnumMember(Value = "twikey")]
179179
Twikey,
180180

181+
[EnumMember(Value = "tempus")]
182+
Tempus,
183+
181184
[EnumMember(Value = "gocardless")]
182185
Gocardless,
183186

0 commit comments

Comments
 (0)