Source code for kittycad.models.invoice_status

from enum import Enum


[docs]class InvoiceStatus(str, Enum): """An enum representing the possible values of an `Invoice`'s `status` field.""" # noqa: E501 """# Deleted. """ # noqa: E501 DELETED = "deleted" """# Draft. """ # noqa: E501 DRAFT = "draft" """# Open. """ # noqa: E501 OPEN = "open" """# Paid. """ # noqa: E501 PAID = "paid" """# Uncollectible. """ # noqa: E501 UNCOLLECTIBLE = "uncollectible" """# Void. """ # noqa: E501 VOID = "void"
[docs] def __str__(self) -> str: return str(self.value)