com.braintreegateway
Enum WebhookNotification.Kind

java.lang.Object
  extended by java.lang.Enum<WebhookNotification.Kind>
      extended by com.braintreegateway.WebhookNotification.Kind
All Implemented Interfaces:
Serializable, Comparable<WebhookNotification.Kind>
Enclosing class:
WebhookNotification

public static enum WebhookNotification.Kind
extends Enum<WebhookNotification.Kind>


Enum Constant Summary
SUB_MERCHANT_ACCOUNT_APPROVED
           
SUB_MERCHANT_ACCOUNT_DECLINED
           
SUBSCRIPTION_CANCELED
           
SUBSCRIPTION_CHARGED_SUCCESSFULLY
           
SUBSCRIPTION_CHARGED_UNSUCCESSFULLY
           
SUBSCRIPTION_EXPIRED
           
SUBSCRIPTION_TRIAL_ENDED
           
SUBSCRIPTION_WENT_ACTIVE
           
SUBSCRIPTION_WENT_PAST_DUE
           
TRANSACTION_DISBURSED
           
UNRECOGNIZED
           
 
Field Summary
private  String name
           
 
Method Summary
 String toString()
           
static WebhookNotification.Kind valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WebhookNotification.Kind[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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

name

private final String name
Method Detail

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.