Package com.xero.models.accounting
Enum BankTransaction.TypeEnum
- All Implemented Interfaces:
Serializable,Comparable<BankTransaction.TypeEnum>,java.lang.constant.Constable
- Enclosing class:
BankTransaction
See Bank Transaction Types
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRECEIVERECEIVE_OVERPAYMENTRECEIVE_PREPAYMENTRECEIVE_TRANSFERSPENDSPEND_OVERPAYMENTSPEND_PREPAYMENTSPEND_TRANSFER -
Method Summary
Modifier and TypeMethodDescriptionstatic BankTransaction.TypeEnumfromValuegetValue()getValuetoString()toStringstatic BankTransaction.TypeEnumReturns the enum constant of this type with the specified name.static BankTransaction.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RECEIVE
RECEIVE -
RECEIVE_OVERPAYMENT
RECEIVE_OVERPAYMENT -
RECEIVE_PREPAYMENT
RECEIVE_PREPAYMENT -
SPEND
SPEND -
SPEND_OVERPAYMENT
SPEND_OVERPAYMENT -
SPEND_PREPAYMENT
SPEND_PREPAYMENT -
RECEIVE_TRANSFER
RECEIVE_TRANSFER -
SPEND_TRANSFER
SPEND_TRANSFER
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getValue
-
toString
toString- Overrides:
toStringin classEnum<BankTransaction.TypeEnum>- Returns:
- String value
-
fromValue
-