Skip to content

Commit

Permalink
Update models.py PaymentMethod class to match current implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
joaovaladares committed Jan 3, 2025
1 parent 52859ff commit 9fa470e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion incognia/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@ class CardInfo(TypedDict, total=False):


class PaymentMethod(TypedDict, total=False):
type: Literal['credit', 'debit']
type: Literal[
"credit_card",
"debit_card",
"apple_pay",
"google_pay",
"nu_pay",
"pix",
"account_balance",
"meal_voucher",
"cash",
"paypal",
"bancolombia",
]
credit_card_info: CardInfo
debit_card_info: CardInfo

0 comments on commit 9fa470e

Please sign in to comment.