public static enum Payment.Capture extends Enum<Payment.Capture>
Enum Constant and Description |
---|
BANK_ACCOUNT_NUMBER |
BANK_ROUTING_NUMBER |
EXPIRATION_DATE |
PAYMENT_CARD_NUMBER |
POSTAL_CODE |
SECURITY_CODE |
Modifier and Type | Method and Description |
---|---|
static Payment.Capture |
forValue(String value)
Generate a Capture from a string.
|
String |
toString() |
static Payment.Capture |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Payment.Capture[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Payment.Capture PAYMENT_CARD_NUMBER
public static final Payment.Capture EXPIRATION_DATE
public static final Payment.Capture SECURITY_CODE
public static final Payment.Capture POSTAL_CODE
public static final Payment.Capture BANK_ROUTING_NUMBER
public static final Payment.Capture BANK_ACCOUNT_NUMBER
public static Payment.Capture[] values()
for (Payment.Capture c : Payment.Capture.values()) System.out.println(c);
public static Payment.Capture valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Payment.Capture>
public static Payment.Capture forValue(String value)
value
- string valueCopyright © 2019 Twilio, Inc. All Rights Reserved.