Skip to content

Commit fb7892c

Browse files
committed
Update models.py PaymentMethod class to match current implementation
1 parent 52859ff commit fb7892c

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

incognia/models.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,19 @@ class CardInfo(TypedDict, total=False):
3737
expiry_year: str
3838
expiry_month: str
3939

40-
4140
class PaymentMethod(TypedDict, total=False):
42-
type: Literal['credit', 'debit']
41+
type: Literal[
42+
"credit",
43+
"debit",
44+
"apple_pay",
45+
"google_pay",
46+
"nu_pay",
47+
"pix",
48+
"account_balance",
49+
"meal_voucher",
50+
"cash",
51+
"paypal",
52+
"bancolombia",
53+
]
4354
credit_card_info: CardInfo
4455
debit_card_info: CardInfo

0 commit comments

Comments
 (0)