Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .fern/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"standardwebhooks": ">=1.0.1,<2"
}
},
"originGitCommit": "0b195a3785a05d00e470384c3b8eb135aaacc7b6",
"originGitCommit": "7918c03edfdeb0ebe0da9fe420b82e7ff3341b73",
"originGitCommitIsDirty": false,
"invokedBy": "ci",
"requestedVersion": "2.8.1",
Expand Down
8 changes: 7 additions & 1 deletion .fern/replay.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions src/whop_sdk/types/invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,31 @@ class Invoice(UniversalBaseModel):
"""

payment_method_id: typing.Optional[str] = None
quote_accepted_at: typing.Optional[str] = pydantic.Field(default=None)
"""
When the customer accepted and signed the quote, as an ISO 8601 timestamp. An edit to the draft clears it, unless the edit changes only `recipient_emails`. `null` when the quote was not accepted.
"""

quote_sent_at: typing.Optional[str] = pydantic.Field(default=None)
"""
When the draft was last emailed to its recipients as a quote, as an ISO 8601 timestamp. A quote stays a draft and cannot be paid. It is not issued on its `due_at`. `null` when the invoice was never sent as a quote.
"""

quote_signature_url: typing.Optional[str] = pydantic.Field(default=None)
"""
A link to the signature the customer drew, as a PNG image with a transparent background. The link expires after a short time. `null` when the quote was not accepted, and for a credential without the member:basic:read permission.
"""

quote_signer_email: typing.Optional[str] = pydantic.Field(default=None)
"""
The email address of the Whop user who signed the quote. `null` when the quote was not accepted, when the signer was not signed in to Whop, and without the member:email:read permission.
"""

quote_signer_name: typing.Optional[str] = pydantic.Field(default=None)
"""
The full name the customer typed to sign the quote. `null` when the quote was not accepted, and for a credential without the member:basic:read permission.
"""

recipient_emails: typing.List[str]
scheduled_charge_at: typing.Optional[str] = pydantic.Field(default=None)
"""
Expand Down
Loading