Package com.stripe.param
Enum PaymentIntentCreateParams.PaymentMethodOptions.Card.Network
- java.lang.Object
-
- java.lang.Enum<PaymentIntentCreateParams.PaymentMethodOptions.Card.Network>
-
- com.stripe.param.PaymentIntentCreateParams.PaymentMethodOptions.Card.Network
-
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,java.io.Serializable
,java.lang.Comparable<PaymentIntentCreateParams.PaymentMethodOptions.Card.Network>
,java.lang.constant.Constable
- Enclosing class:
- PaymentIntentCreateParams.PaymentMethodOptions.Card
public static enum PaymentIntentCreateParams.PaymentMethodOptions.Card.Network extends java.lang.Enum<PaymentIntentCreateParams.PaymentMethodOptions.Card.Network> implements ApiRequestParams.EnumParam
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMEX
CARTES_BANCAIRES
DINERS
DISCOVER
INTERAC
JCB
MASTERCARD
UNIONPAY
UNKNOWN
VISA
-
Method Summary
Modifier and Type Method Description java.lang.String
getValue()
static PaymentIntentCreateParams.PaymentMethodOptions.Card.Network
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PaymentIntentCreateParams.PaymentMethodOptions.Card.Network[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AMEX
@SerializedName("amex") public static final PaymentIntentCreateParams.PaymentMethodOptions.Card.Network AMEX
-
CARTES_BANCAIRES
@SerializedName("cartes_bancaires") public static final PaymentIntentCreateParams.PaymentMethodOptions.Card.Network CARTES_BANCAIRES
-
DINERS
@SerializedName("diners") public static final PaymentIntentCreateParams.PaymentMethodOptions.Card.Network DINERS
-
DISCOVER
@SerializedName("discover") public static final PaymentIntentCreateParams.PaymentMethodOptions.Card.Network DISCOVER
-
INTERAC
@SerializedName("interac") public static final PaymentIntentCreateParams.PaymentMethodOptions.Card.Network INTERAC
-
JCB
@SerializedName("jcb") public static final PaymentIntentCreateParams.PaymentMethodOptions.Card.Network JCB
-
MASTERCARD
@SerializedName("mastercard") public static final PaymentIntentCreateParams.PaymentMethodOptions.Card.Network MASTERCARD
-
UNIONPAY
@SerializedName("unionpay") public static final PaymentIntentCreateParams.PaymentMethodOptions.Card.Network UNIONPAY
-
UNKNOWN
@SerializedName("unknown") public static final PaymentIntentCreateParams.PaymentMethodOptions.Card.Network UNKNOWN
-
VISA
@SerializedName("visa") public static final PaymentIntentCreateParams.PaymentMethodOptions.Card.Network VISA
-
-
Method Detail
-
values
public static PaymentIntentCreateParams.PaymentMethodOptions.Card.Network[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaymentIntentCreateParams.PaymentMethodOptions.Card.Network valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interfaceApiRequestParams.EnumParam
-
-