Enum AdjustmentReason
- All Implemented Interfaces:
Serializable
,Comparable<AdjustmentReason>
,java.lang.constant.Constable
Indicates the type of adjustment that was performed on a transaction
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTransaction was adjusted due to bad or uncollectable debtTransaction was adjusted after an exemption certificate was appliedThe transaction has not been adjustedOfflineTransaction was adjusted for another reason not specifiedTransaction was adjusted when the price of an item changedTransaction was adjusted due to a product exchangeTransaction was adjusted due to a product returnTransaction was adjusted to reconcile it with a general ledgerA sourcing issue existed which caused the transaction to be adjusted -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
static AdjustmentReason
valueOf
(int intValue) Returns the enum constant of this type with the specified name.static AdjustmentReason
Returns the enum constant of this type with the specified name.static AdjustmentReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NotAdjusted
The transaction has not been adjusted -
SourcingIssue
A sourcing issue existed which caused the transaction to be adjusted -
ReconciledWithGeneralLedger
Transaction was adjusted to reconcile it with a general ledger -
ExemptCertApplied
Transaction was adjusted after an exemption certificate was applied -
PriceAdjusted
Transaction was adjusted when the price of an item changed -
ProductReturned
Transaction was adjusted due to a product return -
ProductExchanged
Transaction was adjusted due to a product exchange -
BadDebt
Transaction was adjusted due to bad or uncollectable debt -
Other
Transaction was adjusted for another reason not specified -
Offline
Offline
-
-
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
-
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:
intValue
- 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
public int getValue()
-