Skip to content

Commit

Permalink
Add Language field to LiqpayCallbackDict
Browse files Browse the repository at this point in the history
  • Loading branch information
rostyq committed Nov 9, 2023
1 parent d3375a7 commit c17db6d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions liqpy/types/callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from liqpy.exceptions import LiqPayErrcode
from liqpy.types import status
from liqpy.types.acquring import Currency, PayType
from liqpy.types.common import Currency, PayType, Language


CallbackAction = Literal[
Expand All @@ -13,7 +13,7 @@
ThreeDS = Literal[5, 6, 7]


class CallbackDict(TypedDict, total=False):
class LiqpayCallbackDict(TypedDict, total=False):
acq_id: Number
action: CallbackAction
agent_commission: Number
Expand All @@ -39,8 +39,9 @@ class CallbackDict(TypedDict, total=False):
info: str
ip: str
is_3ds: bool
language: Language
liqpay_order_id: str
mpi_eci: ThreeDS
mpi_eci: ThreeDS | Literal["5", "6", "7"]
order_id: str
payment_id: int
paytype: PayType
Expand Down

0 comments on commit c17db6d

Please sign in to comment.