kittycad.models.invoice_status.InvoiceStatus
- class kittycad.models.invoice_status.InvoiceStatus(value)[source][source]
-
An enum representing the possible values of an
Invoice
’sstatus
field.Attributes
# Draft.
# Open.
# Paid.
# Uncollectible.
# Void.
- __dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.invoice_status', '__doc__': "An enum representing the possible values of an `Invoice`'s `status` field.", '__str__': <function InvoiceStatus.__str__>, '__dict__': <attribute '__dict__' of 'InvoiceStatus' objects>, '__weakref__': <attribute '__weakref__' of 'InvoiceStatus' objects>, '_member_names_': ['DELETED', 'DRAFT', 'OPEN', 'PAID', 'UNCOLLECTIBLE', 'VOID'], '_member_map_': {'DELETED': <InvoiceStatus.DELETED: 'deleted'>, 'DRAFT': <InvoiceStatus.DRAFT: 'draft'>, 'OPEN': <InvoiceStatus.OPEN: 'open'>, 'PAID': <InvoiceStatus.PAID: 'paid'>, 'UNCOLLECTIBLE': <InvoiceStatus.UNCOLLECTIBLE: 'uncollectible'>, 'VOID': <InvoiceStatus.VOID: 'void'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'deleted': <InvoiceStatus.DELETED: 'deleted'>, 'draft': <InvoiceStatus.DRAFT: 'draft'>, 'open': <InvoiceStatus.OPEN: 'open'>, 'paid': <InvoiceStatus.PAID: 'paid'>, 'uncollectible': <InvoiceStatus.UNCOLLECTIBLE: 'uncollectible'>, 'void': <InvoiceStatus.VOID: 'void'>}, 'DELETED': <InvoiceStatus.DELETED: 'deleted'>, 'DRAFT': <InvoiceStatus.DRAFT: 'draft'>, 'OPEN': <InvoiceStatus.OPEN: 'open'>, 'PAID': <InvoiceStatus.PAID: 'paid'>, 'UNCOLLECTIBLE': <InvoiceStatus.UNCOLLECTIBLE: 'uncollectible'>, 'VOID': <InvoiceStatus.VOID: 'void'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
- _generate_next_value_(start, count, last_values)[source]
Generate the next value when not given.
name: the name of the member start: the initial start value or None count: the number of existing members last_value: the last value assigned or None