Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvoiceStatus ¶
type InvoiceStatus int
InvoiceStatus represents the status of an invoice.
const ( // Draft is the status of an invoice that has been created but not yet sent to the customer. Draft InvoiceStatus = iota + 1 // Active is the status of an invoice that has been sent to the customer and is awaiting payment. Active // Sent is the status of an invoice that has been sent to the customer. Sent // Disputed is the status of an invoice that has been disputed by the customer. Disputed // Overdue is the status of an invoice that has not been paid by the due date. Overdue // Partial is the status of an invoice that has been partially paid by the customer. Partial // Paid is the status of an invoice that has been paid by the customer. Paid // Void is the status of an invoice that has been voided by the user. Void // Debt is the status of an invoice that has been deemed uncollectible by the user. Debt // Reserved is the status of an invoice that has been reserved for future use. Reserved )
func (InvoiceStatus) ID ¶
func (s InvoiceStatus) ID() string
ID returns the ID of the invoice status.
Click to show internal directories.
Click to hide internal directories.