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
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
### v3.17.0 (2026-01-16)
* * *

### New Parameters:
* `applicable_item_price_ids` has been added to Coupon#CouponListRequest.
* `applicable_item_price_ids` has been added to Export#CouponRequest.

### New Enums:
* `Twikey` has been added to GatewayEnum.

### Deleted Action:
* `move` action has been removed from the ItemPrice.

### v3.16.0 (2026-01-12)
* * *

Expand Down
1 change: 1 addition & 0 deletions chargebee/models/coupon/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ class ListParams(TypedDict):
updated_at: NotRequired[Filters.TimestampFilter]
sort_by: NotRequired[Filters.SortFilter]
currency_code: NotRequired[Filters.StringFilter]
applicable_item_price_ids: NotRequired[Filters.StringFilter]

class UpdateParams(TypedDict):
name: NotRequired[str]
Expand Down
1 change: 1 addition & 0 deletions chargebee/models/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,7 @@ class Gateway(Enum):
JP_MORGAN = "jp_morgan"
DEUTSCHE_BANK = "deutsche_bank"
EZIDEBIT = "ezidebit"
TWIKEY = "twikey"
GOCARDLESS = "gocardless"
NOT_APPLICABLE = "not_applicable"

Expand Down
1 change: 1 addition & 0 deletions chargebee/models/export/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ class AddonsParams(TypedDict):
class CouponsParams(TypedDict):
coupon: NotRequired["Export.CouponsCouponParams"]
currency_code: NotRequired[Filters.StringFilter]
applicable_item_price_ids: NotRequired[Filters.StringFilter]

class CustomersParams(TypedDict):
customer: NotRequired["Export.CustomersCustomerParams"]
Expand Down
24 changes: 0 additions & 24 deletions chargebee/models/item_price/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,6 @@ class FindApplicableItemPricesParams(TypedDict):
item_id: NotRequired[str]
sort_by: NotRequired[Filters.SortFilter]

class MoveItemPriceParams(TypedDict):
destination_item_id: Required[str]
variant_id: NotRequired[str]

def create(self, params: CreateParams, headers=None) -> CreateResponse:
jsonKeys = {
"metadata": 0,
Expand Down Expand Up @@ -387,23 +383,3 @@ def find_applicable_item_prices(
jsonKeys,
options,
)

def move_item_price(
self, id, params: MoveItemPriceParams, headers=None
) -> MoveItemPriceResponse:
jsonKeys = {}
options = {
"isIdempotent": True,
}
return request.send(
"post",
request.uri_path("item_prices", id, "move"),
self.env,
cast(Dict[Any, Any], params),
headers,
MoveItemPriceResponse,
None,
False,
jsonKeys,
options,
)
6 changes: 0 additions & 6 deletions chargebee/models/item_price/responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,3 @@ class FindApplicableItemPricesItemPriceResponse:
class FindApplicableItemPricesResponse(Response):
list: List[FindApplicableItemPricesItemPriceResponse]
next_offset: str = None


@dataclass
class MoveItemPriceResponse(Response):
is_idempotency_replayed: bool
item_price: ItemPriceResponse
2 changes: 1 addition & 1 deletion chargebee/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = "3.16.0"
VERSION = "3.17.0"