Skip to content

Commit ce0e5d3

Browse files
authored
Releasing v3.15.0 (#106)
* Releasing v3.15.0 * Updating the copyright year
1 parent 7ff2eca commit ce0e5d3

File tree

11 files changed

+75
-4
lines changed

11 files changed

+75
-4
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
### v3.15.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.14.1 (2025-12-18)
224
* * *
325

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License
22

3-
Copyright (c) 2011-2025 ChargeBee, Inc.
3+
Copyright (c) 2011-2026 ChargeBee, Inc.
44

55
Permission is hereby granted, free of charge, to any person
66
obtaining a copy of this software and associated documentation

chargebee/models/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
EntityType,
3939
EventName,
4040
EventType,
41+
ExcludeTaxType,
4142
ExportType,
4243
FreePeriodUnit,
4344
FriendOfferType,
@@ -67,6 +68,7 @@
6768
RefundableCreditsHandling,
6869
ReportBy,
6970
ResumeOption,
71+
RetryEngine,
7072
Role,
7173
ScheduleType,
7274
Source,

chargebee/models/enums.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,14 @@ def __str__(self):
663663
return self.value
664664

665665

666+
class ExcludeTaxType(Enum):
667+
EXCLUSIVE = "exclusive"
668+
NONE = "none"
669+
670+
def __str__(self):
671+
return self.value
672+
673+
666674
class ExportType(Enum):
667675
DATA = "data"
668676
IMPORT_FRIENDLY_DATA = "import_friendly_data"
@@ -895,6 +903,11 @@ class PaymentMethod(Enum):
895903
KLARNA_PAY_NOW = "klarna_pay_now"
896904
ONLINE_BANKING_POLAND = "online_banking_poland"
897905
PAYCONIQ_BY_BANCONTACT = "payconiq_by_bancontact"
906+
ELECTRONIC_PAYMENT_STANDARD = "electronic_payment_standard"
907+
KBC_PAYMENT_BUTTON = "kbc_payment_button"
908+
PAY_BY_BANK = "pay_by_bank"
909+
TRUSTLY = "trustly"
910+
STABLECOIN = "stablecoin"
898911

899912
def __str__(self):
900913
return self.value
@@ -926,6 +939,11 @@ class PaymentMethodType(Enum):
926939
KLARNA_PAY_NOW = "klarna_pay_now"
927940
ONLINE_BANKING_POLAND = "online_banking_poland"
928941
PAYCONIQ_BY_BANCONTACT = "payconiq_by_bancontact"
942+
ELECTRONIC_PAYMENT_STANDARD = "electronic_payment_standard"
943+
KBC_PAYMENT_BUTTON = "kbc_payment_button"
944+
PAY_BY_BANK = "pay_by_bank"
945+
TRUSTLY = "trustly"
946+
STABLECOIN = "stablecoin"
929947

930948
def __str__(self):
931949
return self.value
@@ -1038,6 +1056,15 @@ def __str__(self):
10381056
return self.value
10391057

10401058

1059+
class RetryEngine(Enum):
1060+
CHARGEBEE = "chargebee"
1061+
FLEXPAY = "flexpay"
1062+
SUCCESSPLUS = "successplus"
1063+
1064+
def __str__(self):
1065+
return self.value
1066+
1067+
10411068
class Role(Enum):
10421069
PRIMARY = "primary"
10431070
BACKUP = "backup"
@@ -1165,6 +1192,11 @@ class Type(Enum):
11651192
KLARNA_PAY_NOW = "klarna_pay_now"
11661193
ONLINE_BANKING_POLAND = "online_banking_poland"
11671194
PAYCONIQ_BY_BANCONTACT = "payconiq_by_bancontact"
1195+
ELECTRONIC_PAYMENT_STANDARD = "electronic_payment_standard"
1196+
KBC_PAYMENT_BUTTON = "kbc_payment_button"
1197+
PAY_BY_BANK = "pay_by_bank"
1198+
TRUSTLY = "trustly"
1199+
STABLECOIN = "stablecoin"
11681200
FREE_TRIAL = "free_trial"
11691201
PAY_UP_FRONT = "pay_up_front"
11701202
PAY_AS_YOU_GO = "pay_as_you_go"

chargebee/models/estimate/operations.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -937,6 +937,7 @@ class RenewalEstimateParams(TypedDict):
937937
use_existing_balances: NotRequired[bool]
938938
ignore_scheduled_cancellation: NotRequired[bool]
939939
ignore_scheduled_changes: NotRequired[bool]
940+
exclude_tax_type: NotRequired[enums.ExcludeTaxType]
940941

941942
class AdvanceInvoiceEstimateParams(TypedDict):
942943
terms_to_charge: NotRequired[int]

chargebee/models/invoice/operations.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ class DunningAttempt(TypedDict):
264264
created_at: NotRequired[int]
265265
txn_status: NotRequired["transaction.Transaction.Status"]
266266
txn_amount: NotRequired[int]
267+
retry_engine: NotRequired[enums.RetryEngine]
267268

268269
class AppliedCredit(TypedDict):
269270
cn_id: Required[str]

chargebee/models/invoice/responses.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ class DunningAttemptResponse(Model):
181181
created_at: int = None
182182
txn_status: str = None
183183
txn_amount: int = None
184+
retry_engine: str = None
184185

185186

186187
@dataclass

chargebee/models/item_price/operations.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ class FindApplicableItemPricesParams(TypedDict):
260260

261261
class MoveItemPriceParams(TypedDict):
262262
destination_item_id: Required[str]
263+
variant_id: NotRequired[str]
263264

264265
def create(self, params: CreateParams, headers=None) -> CreateResponse:
265266
jsonKeys = {

chargebee/models/payment_intent/operations.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ class PaymentMethodType(Enum):
4141
KLARNA_PAY_NOW = "klarna_pay_now"
4242
ONLINE_BANKING_POLAND = "online_banking_poland"
4343
PAYCONIQ_BY_BANCONTACT = "payconiq_by_bancontact"
44+
ELECTRONIC_PAYMENT_STANDARD = "electronic_payment_standard"
45+
KBC_PAYMENT_BUTTON = "kbc_payment_button"
46+
PAY_BY_BANK = "pay_by_bank"
47+
TRUSTLY = "trustly"
48+
STABLECOIN = "stablecoin"
4449

4550
def __str__(self):
4651
return self.value

chargebee/models/pricing_page_session/operations.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ class CreateForNewSubscriptionParams(TypedDict):
9595
]
9696
business_entity_id: NotRequired[str]
9797
auto_select_local_currency: NotRequired[bool]
98+
custom: NotRequired[Dict[Any, Any]]
9899
customer: NotRequired[
99100
"PricingPageSession.CreateForNewSubscriptionCustomerParams"
100101
]
@@ -116,14 +117,17 @@ class CreateForExistingSubscriptionParams(TypedDict):
116117
subscription: Required[
117118
"PricingPageSession.CreateForExistingSubscriptionSubscriptionParams"
118119
]
120+
custom: NotRequired[Dict[Any, Any]]
119121
discounts: Required[
120122
List["PricingPageSession.CreateForExistingSubscriptionDiscountParams"]
121123
]
122124

123125
def create_for_new_subscription(
124126
self, params: CreateForNewSubscriptionParams, headers=None
125127
) -> CreateForNewSubscriptionResponse:
126-
jsonKeys = {}
128+
jsonKeys = {
129+
"custom": 0,
130+
}
127131
options = {
128132
"isIdempotent": True,
129133
}
@@ -143,7 +147,9 @@ def create_for_new_subscription(
143147
def create_for_existing_subscription(
144148
self, params: CreateForExistingSubscriptionParams, headers=None
145149
) -> CreateForExistingSubscriptionResponse:
146-
jsonKeys = {}
150+
jsonKeys = {
151+
"custom": 0,
152+
}
147153
options = {
148154
"isIdempotent": True,
149155
}

0 commit comments

Comments
 (0)