public enum DocumentType extends java.lang.Enum<DocumentType>
| Enum Constant and Description |
|---|
Any
Not a real document type.
|
InventoryTransferInvoice
Represents a movement of inventory from one jurisdiction to another that has been finalized.
|
InventoryTransferOrder
Represents a proposed movement of inventory from one jurisdiction to another.
|
PurchaseInvoice
Represents a sale that has been finalized.
|
PurchaseOrder
Represents an estimate, or a purchase order, or a quote.
|
ReturnInvoice
Represents an refund that has been finalized.
|
ReturnOrder
Represents an estimate of tax to be refunded if a refund or return is processed.
|
ReverseChargeInvoice
Represents a VAT "Reverse Charge" mechanism transaction as defined in the European Union.
|
ReverseChargeOrder
Represents a VAT "Reverse Charge" mechanism transaction as defined in the European Union.
|
SalesInvoice
Represents a sale that has been finalized.
|
SalesOrder
Represents an estimate, or a sales order, or a quote.
|
| Modifier and Type | Method and Description |
|---|---|
static DocumentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DocumentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentType SalesOrder
public static final DocumentType SalesInvoice
public static final DocumentType PurchaseOrder
public static final DocumentType PurchaseInvoice
public static final DocumentType ReturnOrder
public static final DocumentType ReturnInvoice
public static final DocumentType InventoryTransferOrder
public static final DocumentType InventoryTransferInvoice
public static final DocumentType ReverseChargeOrder
public static final DocumentType ReverseChargeInvoice
public static final DocumentType Any
public static DocumentType[] values()
for (DocumentType c : DocumentType.values()) System.out.println(c);
public static DocumentType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null