Package com.duffel.sdk.model
Enum Class ConfirmOrderChangeRequestDataPayment.TypeEnum
java.lang.Object
java.lang.Enum<ConfirmOrderChangeRequestDataPayment.TypeEnum>
com.duffel.sdk.model.ConfirmOrderChangeRequestDataPayment.TypeEnum
- All Implemented Interfaces:
Serializable,Comparable<ConfirmOrderChangeRequestDataPayment.TypeEnum>,Constable
- Enclosing class:
- ConfirmOrderChangeRequestDataPayment
public static enum ConfirmOrderChangeRequestDataPayment.TypeEnum
extends Enum<ConfirmOrderChangeRequestDataPayment.TypeEnum>
The type of payment you want to use for the __Order Change__. If you are an IATA agent with your own agreements with airlines, in some cases, you can pay using ARC/BSP cash by specifying `arc_bsp_cash`. Otherwise, you must pay using your Duffel account's balance by specifying `balance`. In [test mode](/docs/api/overview/test-mode), your balance is unlimited. If you're not sure which of these options applies to you, get in touch with the Duffel support team at <help@duffel.com>.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
ARC_BSP_CASH
-
BALANCE
-
PAYMENTS
-
-
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
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
-
toString
- Overrides:
toStringin classEnum<ConfirmOrderChangeRequestDataPayment.TypeEnum>
-
fromValue
-