public enum XPFTaxJournalTypeEnum extends Enum<XPFTaxJournalTypeEnum>
Enum Constant and Description |
---|
PURCHASE
Purchase.
|
REVERSAL
Reversal.
|
Modifier and Type | Method and Description |
---|---|
static XPFTaxJournalTypeEnum |
fromDataValue(String name)
Gets tax object type by data value.
|
String |
getDataValue()
Gets default value.
|
static XPFTaxJournalTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XPFTaxJournalTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XPFTaxJournalTypeEnum PURCHASE
public static final XPFTaxJournalTypeEnum REVERSAL
private final String dataValue
public static XPFTaxJournalTypeEnum[] values()
for (XPFTaxJournalTypeEnum c : XPFTaxJournalTypeEnum.values()) System.out.println(c);
public static XPFTaxJournalTypeEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getDataValue()
public static XPFTaxJournalTypeEnum fromDataValue(String name)
name
- the String representation of the enumeration elementCopyright © 2023. All rights reserved.