com.chargebee.models
Enum Subscription.ReferralInfo.RewardStatus

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

public static enum Subscription.ReferralInfo.RewardStatus
extends Enum<Subscription.ReferralInfo.RewardStatus>


Enum Constant Summary
_UNKNOWN
           
INVALID
           
PAID
           
PENDING
           
 
Method Summary
static Subscription.ReferralInfo.RewardStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Subscription.ReferralInfo.RewardStatus[] 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

PENDING

public static final Subscription.ReferralInfo.RewardStatus PENDING

PAID

public static final Subscription.ReferralInfo.RewardStatus PAID

INVALID

public static final Subscription.ReferralInfo.RewardStatus INVALID

_UNKNOWN

public static final Subscription.ReferralInfo.RewardStatus _UNKNOWN
Method Detail

values

public static Subscription.ReferralInfo.RewardStatus[] 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 (Subscription.ReferralInfo.RewardStatus c : Subscription.ReferralInfo.RewardStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Subscription.ReferralInfo.RewardStatus 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.