Enum AccountingTransactionType
- java.lang.Object
-
- java.lang.Enum<AccountingTransactionType>
-
- com.broadleafcommerce.inventory.domain.AccountingTransactionType
-
- All Implemented Interfaces:
Serializable
,Comparable<AccountingTransactionType>
@Deprecated public enum AccountingTransactionType extends Enum<AccountingTransactionType>
Deprecated.This concept is unused and will be removed.Inventory transactions will increase or decrease inventory. Inventory carries a normal debit balance on a balance sheet. A DEBIT indicates an increase or expected in Inventory. A CREDIT indicates a decrease or expected decrease in Inventory.- Author:
- kellytisdell
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AccountingTransactionType
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static AccountingTransactionType[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEBIT
public static final AccountingTransactionType DEBIT
Deprecated.Indicates an increase or expected increase in Inventory.
-
CREDIT
public static final AccountingTransactionType CREDIT
Deprecated.Indicates a decrease or expected decrease in Inventory.
-
-
Method Detail
-
values
public static AccountingTransactionType[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AccountingTransactionType c : AccountingTransactionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccountingTransactionType valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-