public enum LoyaltyTransactionType extends Enum<LoyaltyTransactionType>
Java class for LoyaltyTransactionType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LoyaltyTransactionType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Award"/>
<enumeration value="Rebate"/>
<enumeration value="Redemption"/>
<enumeration value="AwardRefund"/>
<enumeration value="RebateRefund"/>
<enumeration value="RedemptionRefund"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AWARD
Direct or payment related award on a loyalty account.
|
AWARD_REFUND
Refund of a loyalty award transaction.
|
REBATE
Rebate on a total amount, sale item amount, or sale items
|
REBATE_REFUND
Refund of a loyalty rebate transaction.
|
REDEMPTION
Redemption on a loyalty account.
|
REDEMPTION_REFUND
Refund of a loyalty redemption transaction.
|
| Modifier and Type | Method and Description |
|---|---|
static LoyaltyTransactionType |
fromValue(String v)
From value loyalty transaction type.
|
String |
value()
Value string.
|
static LoyaltyTransactionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoyaltyTransactionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoyaltyTransactionType AWARD
public static final LoyaltyTransactionType REBATE
public static final LoyaltyTransactionType REDEMPTION
public static final LoyaltyTransactionType AWARD_REFUND
public static final LoyaltyTransactionType REBATE_REFUND
public static final LoyaltyTransactionType REDEMPTION_REFUND
public static LoyaltyTransactionType[] values()
for (LoyaltyTransactionType c : LoyaltyTransactionType.values()) System.out.println(c);
public static LoyaltyTransactionType 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 value()
public static LoyaltyTransactionType fromValue(String v)
v - the vCopyright © 2022. All rights reserved.