InvoiceDocumentType Class

public final class InvoiceDocumentType
extends ExpandableStringEnum<InvoiceDocumentType>

The type of the document.

Field Summary

Modifier and Type Field and Description
static final InvoiceDocumentType CREDIT_NOTE

Static value CreditNote for InvoiceDocumentType.

static final InvoiceDocumentType INVOICE

Static value Invoice for InvoiceDocumentType.

static final InvoiceDocumentType OTHER

Static value Other for InvoiceDocumentType.

static final InvoiceDocumentType SUMMARY

Static value Summary for InvoiceDocumentType.

static final InvoiceDocumentType TAX_RECEIPT

Static value TaxReceipt for InvoiceDocumentType.

static final InvoiceDocumentType TRANSACTIONS

Static value Transactions for InvoiceDocumentType.

static final InvoiceDocumentType VOID_NOTE

Static value VoidNote for InvoiceDocumentType.

Constructor Summary

Constructor Description
InvoiceDocumentType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of InvoiceDocumentType value.

Method Summary

Modifier and Type Method and Description
static InvoiceDocumentType fromString(String name)

Creates or finds a InvoiceDocumentType from its string representation.

static Collection<InvoiceDocumentType> values()

Gets known InvoiceDocumentType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CREDIT_NOTE

public static final InvoiceDocumentType CREDIT_NOTE

Static value CreditNote for InvoiceDocumentType.

INVOICE

public static final InvoiceDocumentType INVOICE

Static value Invoice for InvoiceDocumentType.

OTHER

public static final InvoiceDocumentType OTHER

Static value Other for InvoiceDocumentType.

SUMMARY

public static final InvoiceDocumentType SUMMARY

Static value Summary for InvoiceDocumentType.

TAX_RECEIPT

public static final InvoiceDocumentType TAX_RECEIPT

Static value TaxReceipt for InvoiceDocumentType.

TRANSACTIONS

public static final InvoiceDocumentType TRANSACTIONS

Static value Transactions for InvoiceDocumentType.

VOID_NOTE

public static final InvoiceDocumentType VOID_NOTE

Static value VoidNote for InvoiceDocumentType.

Constructor Details

InvoiceDocumentType

@Deprecated
public InvoiceDocumentType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of InvoiceDocumentType value.

Method Details

fromString

public static InvoiceDocumentType fromString(String name)

Creates or finds a InvoiceDocumentType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding InvoiceDocumentType.

values

public static Collection<InvoiceDocumentType> values()

Gets known InvoiceDocumentType values.

Returns:

known InvoiceDocumentType values.

Applies to