com.chargebee.models
Enum CreditNote.ReasonCode
java.lang.Object
java.lang.Enum<CreditNote.ReasonCode>
com.chargebee.models.CreditNote.ReasonCode
- All Implemented Interfaces:
- Serializable, Comparable<CreditNote.ReasonCode>
- Enclosing class:
- CreditNote
public static enum CreditNote.ReasonCode
- extends Enum<CreditNote.ReasonCode>
WRITE_OFF
public static final CreditNote.ReasonCode WRITE_OFF
SUBSCRIPTION_CHANGE
public static final CreditNote.ReasonCode SUBSCRIPTION_CHANGE
SUBSCRIPTION_CANCELLATION
public static final CreditNote.ReasonCode SUBSCRIPTION_CANCELLATION
SUBSCRIPTION_PAUSE
public static final CreditNote.ReasonCode SUBSCRIPTION_PAUSE
CHARGEBACK
public static final CreditNote.ReasonCode CHARGEBACK
PRODUCT_UNSATISFACTORY
public static final CreditNote.ReasonCode PRODUCT_UNSATISFACTORY
SERVICE_UNSATISFACTORY
public static final CreditNote.ReasonCode SERVICE_UNSATISFACTORY
ORDER_CHANGE
public static final CreditNote.ReasonCode ORDER_CHANGE
ORDER_CANCELLATION
public static final CreditNote.ReasonCode ORDER_CANCELLATION
WAIVER
public static final CreditNote.ReasonCode WAIVER
OTHER
public static final CreditNote.ReasonCode OTHER
FRAUDULENT
public static final CreditNote.ReasonCode FRAUDULENT
_UNKNOWN
public static final CreditNote.ReasonCode _UNKNOWN
values
public static CreditNote.ReasonCode[] values()
- 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 (CreditNote.ReasonCode c : CreditNote.ReasonCode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CreditNote.ReasonCode valueOf(String name)
- 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 name
NullPointerException - if the argument is null
Copyright © 2019 ChargeBee. All Rights Reserved.