(20250225)
This commit is contained in:
@@ -263,6 +263,11 @@ class PGPaymentRequestData(BaseModel):
|
||||
|
||||
class PaymentRequestOneResult(BaseModel):
|
||||
|
||||
paymentId: ObjectId | None = Field(
|
||||
description = "the id of this payment's record",
|
||||
default = None
|
||||
)
|
||||
|
||||
success: bool = Field(
|
||||
description = "whether, or not, the payment was successfully requested",
|
||||
default = False
|
||||
@@ -280,6 +285,7 @@ class PaymentRequestOneResult(BaseModel):
|
||||
|
||||
class Config:
|
||||
extra = "forbid"
|
||||
arbitrary_types_allowed = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user