Package org.killbill.billing.invoice.api
Enum InvoicePaymentType
- java.lang.Object
-
- java.lang.Enum<InvoicePaymentType>
-
- org.killbill.billing.invoice.api.InvoicePaymentType
-
- All Implemented Interfaces:
Serializable,Comparable<InvoicePaymentType>
public enum InvoicePaymentType extends Enum<InvoicePaymentType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTEMPTCHARGED_BACKREFUND
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InvoicePaymentTypevalueOf(String name)Returns the enum constant of this type with the specified name.static InvoicePaymentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ATTEMPT
public static final InvoicePaymentType ATTEMPT
-
CHARGED_BACK
public static final InvoicePaymentType CHARGED_BACK
-
REFUND
public static final InvoicePaymentType REFUND
-
-
Method Detail
-
values
public static InvoicePaymentType[] 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 (InvoicePaymentType c : InvoicePaymentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InvoicePaymentType 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
-
-