feat: handle order paid
This commit is contained in:
parent
76af65c148
commit
8094bcaf8a
4 changed files with 93 additions and 13 deletions
|
|
@ -343,6 +343,13 @@ class Order(PartialOrder):
|
|||
return order
|
||||
|
||||
|
||||
class OrderStatusUpdate(BaseModel):
|
||||
id: str
|
||||
message: Optional[str]
|
||||
paid: Optional[bool]
|
||||
shipped: Optional[bool]
|
||||
|
||||
|
||||
class PaymentOption(BaseModel):
|
||||
type: str
|
||||
link: str
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue