DocumentType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. billing. models. DocumentType
- com.
- com.
public final class DocumentType
extends ExpandableStringEnum<DocumentType>
The type of the document.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Document |
CREDIT_NOTE
Static value Credit |
|
static final
Document |
INVOICE
Static value Invoice for Document |
|
static final
Document |
TAX_RECEIPT
Static value Tax |
|
static final
Document |
VOID_NOTE
Static value Void |
Constructor Summary
| Constructor | Description |
|---|---|
| DocumentType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Document |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Document |
fromString(String name)
Creates or finds a Document |
|
static
Collection<Document |
values()
Gets known Document |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CREDIT_NOTE
public static final DocumentType CREDIT_NOTE
Static value CreditNote for DocumentType.
INVOICE
public static final DocumentType INVOICE
Static value Invoice for DocumentType.
TAX_RECEIPT
public static final DocumentType TAX_RECEIPT
Static value TaxReceipt for DocumentType.
VOID_NOTE
public static final DocumentType VOID_NOTE
Static value VoidNote for DocumentType.
Constructor Details
DocumentType
@Deprecated
public DocumentType()
Deprecated
Creates a new instance of DocumentType value.
Method Details
fromString
public static DocumentType fromString(String name)
Creates or finds a DocumentType from its string representation.
Parameters:
Returns:
values
public static Collection<DocumentType> values()
Gets known DocumentType values.
Returns: