Package com.stripe.param
Enum Class PaymentIntentConfirmParams.PaymentDetails.FlightData.Total.CreditReason
java.lang.Object
java.lang.Enum<PaymentIntentConfirmParams.PaymentDetails.FlightData.Total.CreditReason>
com.stripe.param.PaymentIntentConfirmParams.PaymentDetails.FlightData.Total.CreditReason
- All Implemented Interfaces:
ApiRequestParams.EnumParam,Serializable,Comparable<PaymentIntentConfirmParams.PaymentDetails.FlightData.Total.CreditReason>,Constable
- Enclosing class:
- PaymentIntentConfirmParams.PaymentDetails.FlightData.Total
public static enum PaymentIntentConfirmParams.PaymentDetails.FlightData.Total.CreditReason
extends Enum<PaymentIntentConfirmParams.PaymentDetails.FlightData.Total.CreditReason>
implements ApiRequestParams.EnumParam
Type of tax.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
-
Enum Constant Details
-
OTHER
@SerializedName("other") public static final PaymentIntentConfirmParams.PaymentDetails.FlightData.Total.CreditReason OTHER -
PARTIAL_TICKET_REFUND
@SerializedName("partial_ticket_refund") public static final PaymentIntentConfirmParams.PaymentDetails.FlightData.Total.CreditReason PARTIAL_TICKET_REFUND -
PASSENGER_TRANSPORT_ANCILLARY_CANCELLATION
@SerializedName("passenger_transport_ancillary_cancellation") public static final PaymentIntentConfirmParams.PaymentDetails.FlightData.Total.CreditReason PASSENGER_TRANSPORT_ANCILLARY_CANCELLATION -
TICKET_AND_ANCILLARY_CANCELLATION
@SerializedName("ticket_and_ancillary_cancellation") public static final PaymentIntentConfirmParams.PaymentDetails.FlightData.Total.CreditReason TICKET_AND_ANCILLARY_CANCELLATION -
TICKET_CANCELLATION
@SerializedName("ticket_cancellation") public static final PaymentIntentConfirmParams.PaymentDetails.FlightData.Total.CreditReason TICKET_CANCELLATION
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
public static PaymentIntentConfirmParams.PaymentDetails.FlightData.Total.CreditReason valueOf(String name) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
- Specified by:
getValuein interfaceApiRequestParams.EnumParam
-