Enum Payment.Capture
- java.lang.Object
-
- java.lang.Enum<Payment.Capture>
-
- com.twilio.rest.api.v2010.account.call.Payment.Capture
-
- All Implemented Interfaces:
Serializable,Comparable<Payment.Capture>
- Enclosing class:
- Payment
public static enum Payment.Capture extends Enum<Payment.Capture>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BANK_ACCOUNT_NUMBERBANK_ROUTING_NUMBEREXPIRATION_DATEPAYMENT_CARD_NUMBERPOSTAL_CODESECURITY_CODE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Payment.CaptureforValue(String value)StringtoString()static Payment.CapturevalueOf(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.
-
-
-
Enum Constant Detail
-
PAYMENT_CARD_NUMBER
public static final Payment.Capture PAYMENT_CARD_NUMBER
-
EXPIRATION_DATE
public static final Payment.Capture EXPIRATION_DATE
-
SECURITY_CODE
public static final Payment.Capture SECURITY_CODE
-
POSTAL_CODE
public static final Payment.Capture POSTAL_CODE
-
BANK_ROUTING_NUMBER
public static final Payment.Capture BANK_ROUTING_NUMBER
-
BANK_ACCOUNT_NUMBER
public static final Payment.Capture BANK_ACCOUNT_NUMBER
-
-
Method Detail
-
values
public static Payment.Capture[] 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 (Payment.Capture c : Payment.Capture.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Payment.Capture 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 nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<Payment.Capture>
-
forValue
public static Payment.Capture forValue(String value)
-
-