com.chargebee.models
Enum CreditNote.ReasonCode

java.lang.Object
  extended by java.lang.Enum<CreditNote.ReasonCode>
      extended by com.chargebee.models.CreditNote.ReasonCode
All Implemented Interfaces:
Serializable, Comparable<CreditNote.ReasonCode>
Enclosing class:
CreditNote

public static enum CreditNote.ReasonCode
extends Enum<CreditNote.ReasonCode>


Enum Constant Summary
_UNKNOWN
           
CHARGEBACK
           
FRAUDULENT
           
ORDER_CANCELLATION
           
ORDER_CHANGE
           
OTHER
           
PRODUCT_UNSATISFACTORY
           
SERVICE_UNSATISFACTORY
           
SUBSCRIPTION_CANCELLATION
           
SUBSCRIPTION_CHANGE
           
SUBSCRIPTION_PAUSE
           
WAIVER
           
WRITE_OFF
           
 
Method Summary
static CreditNote.ReasonCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CreditNote.ReasonCode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.