com.braintreegateway
Enum WebhookNotification.Kind
java.lang.Object
java.lang.Enum<WebhookNotification.Kind>
com.braintreegateway.WebhookNotification.Kind
- All Implemented Interfaces:
- Serializable, Comparable<WebhookNotification.Kind>
- Enclosing class:
- WebhookNotification
public static enum WebhookNotification.Kind
- extends Enum<WebhookNotification.Kind>
SUB_MERCHANT_ACCOUNT_APPROVED
public static final WebhookNotification.Kind SUB_MERCHANT_ACCOUNT_APPROVED
SUB_MERCHANT_ACCOUNT_DECLINED
public static final WebhookNotification.Kind SUB_MERCHANT_ACCOUNT_DECLINED
SUBSCRIPTION_CANCELED
public static final WebhookNotification.Kind SUBSCRIPTION_CANCELED
SUBSCRIPTION_CHARGED_SUCCESSFULLY
public static final WebhookNotification.Kind SUBSCRIPTION_CHARGED_SUCCESSFULLY
SUBSCRIPTION_CHARGED_UNSUCCESSFULLY
public static final WebhookNotification.Kind SUBSCRIPTION_CHARGED_UNSUCCESSFULLY
SUBSCRIPTION_EXPIRED
public static final WebhookNotification.Kind SUBSCRIPTION_EXPIRED
SUBSCRIPTION_TRIAL_ENDED
public static final WebhookNotification.Kind SUBSCRIPTION_TRIAL_ENDED
SUBSCRIPTION_WENT_ACTIVE
public static final WebhookNotification.Kind SUBSCRIPTION_WENT_ACTIVE
SUBSCRIPTION_WENT_PAST_DUE
public static final WebhookNotification.Kind SUBSCRIPTION_WENT_PAST_DUE
TRANSACTION_DISBURSED
public static final WebhookNotification.Kind TRANSACTION_DISBURSED
UNRECOGNIZED
public static final WebhookNotification.Kind UNRECOGNIZED
name
private final String name
values
public static WebhookNotification.Kind[] 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 (WebhookNotification.Kind c : WebhookNotification.Kind.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static WebhookNotification.Kind 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
toString
public String toString()
- Overrides:
toString in class Enum<WebhookNotification.Kind>
Copyright © 2013. All Rights Reserved.