com.chargebee.models
Enum Order.CancellationReason

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

public static enum Order.CancellationReason
extends Enum<Order.CancellationReason>


Enum Constant Summary
_UNKNOWN
           
ALTERNATIVE_FOUND
           
DELIVERY_DATE_MISSED
           
FRAUDULENT_TRANSACTION
           
INVOICE_VOIDED
           
INVOICE_WRITTEN_OFF
           
OTHERS
           
PAYMENT_DECLINED
           
PRODUCT_NOT_AVAILABLE
           
PRODUCT_NOT_REQUIRED
           
PRODUCT_UNSATISFACTORY
           
SHIPPING_CUT_OFF_PASSED
           
SUBSCRIPTION_CANCELLED
           
THIRD_PARTY_CANCELLATION
           
 
Method Summary
static Order.CancellationReason valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Order.CancellationReason[] 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

SHIPPING_CUT_OFF_PASSED

public static final Order.CancellationReason SHIPPING_CUT_OFF_PASSED

PRODUCT_UNSATISFACTORY

public static final Order.CancellationReason PRODUCT_UNSATISFACTORY

THIRD_PARTY_CANCELLATION

public static final Order.CancellationReason THIRD_PARTY_CANCELLATION

PRODUCT_NOT_REQUIRED

public static final Order.CancellationReason PRODUCT_NOT_REQUIRED

DELIVERY_DATE_MISSED

public static final Order.CancellationReason DELIVERY_DATE_MISSED

ALTERNATIVE_FOUND

public static final Order.CancellationReason ALTERNATIVE_FOUND

INVOICE_WRITTEN_OFF

public static final Order.CancellationReason INVOICE_WRITTEN_OFF

INVOICE_VOIDED

public static final Order.CancellationReason INVOICE_VOIDED

FRAUDULENT_TRANSACTION

public static final Order.CancellationReason FRAUDULENT_TRANSACTION

PAYMENT_DECLINED

public static final Order.CancellationReason PAYMENT_DECLINED

SUBSCRIPTION_CANCELLED

public static final Order.CancellationReason SUBSCRIPTION_CANCELLED

PRODUCT_NOT_AVAILABLE

public static final Order.CancellationReason PRODUCT_NOT_AVAILABLE

OTHERS

public static final Order.CancellationReason OTHERS

_UNKNOWN

public static final Order.CancellationReason _UNKNOWN
Method Detail

values

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

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

valueOf

public static Order.CancellationReason 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.