Package com.checkout.payments
Enum PaymentPurposeType
- java.lang.Object
-
- java.lang.Enum<PaymentPurposeType>
-
- com.checkout.payments.PaymentPurposeType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PaymentPurposeType>
public enum PaymentPurposeType extends java.lang.Enum<PaymentPurposeType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DONATIONSEDUCATIONEMERGENCY_NEEDEXPATRIATIONFAMILY_SUPPORTFINANCIAL_SERVICESGIFTSINCOMEINSURANCEINVESTMENTIT_SERVICESLEISURELOAN_PAYMENTMEDICAL_TREATMENTOTHERPENSIONROYALTIESSAVINGSTRAVEL_AND_TOURISM
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PaymentPurposeTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PaymentPurposeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DONATIONS
@SerializedName("donations") public static final PaymentPurposeType DONATIONS
-
EDUCATION
@SerializedName("education") public static final PaymentPurposeType EDUCATION
-
EMERGENCY_NEED
@SerializedName("emergency_need") public static final PaymentPurposeType EMERGENCY_NEED
-
EXPATRIATION
@SerializedName("expatriation") public static final PaymentPurposeType EXPATRIATION
-
FAMILY_SUPPORT
@SerializedName("family_support") public static final PaymentPurposeType FAMILY_SUPPORT
-
FINANCIAL_SERVICES
@SerializedName("financial_services") public static final PaymentPurposeType FINANCIAL_SERVICES
-
GIFTS
@SerializedName("gifts") public static final PaymentPurposeType GIFTS
-
INCOME
@SerializedName("income") public static final PaymentPurposeType INCOME
-
INSURANCE
@SerializedName("insurance") public static final PaymentPurposeType INSURANCE
-
INVESTMENT
@SerializedName("investment") public static final PaymentPurposeType INVESTMENT
-
IT_SERVICES
@SerializedName("it_services") public static final PaymentPurposeType IT_SERVICES
-
LEISURE
@SerializedName("leisure") public static final PaymentPurposeType LEISURE
-
LOAN_PAYMENT
@SerializedName("loan_payment") public static final PaymentPurposeType LOAN_PAYMENT
-
MEDICAL_TREATMENT
@SerializedName("medical_treatment") public static final PaymentPurposeType MEDICAL_TREATMENT
-
OTHER
@SerializedName("other") public static final PaymentPurposeType OTHER
-
PENSION
@SerializedName("pension") public static final PaymentPurposeType PENSION
-
ROYALTIES
@SerializedName("royalties") public static final PaymentPurposeType ROYALTIES
-
SAVINGS
@SerializedName("savings") public static final PaymentPurposeType SAVINGS
-
TRAVEL_AND_TOURISM
@SerializedName("travel_and_tourism") public static final PaymentPurposeType TRAVEL_AND_TOURISM
-
-
Method Detail
-
values
public static PaymentPurposeType[] 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 (PaymentPurposeType c : PaymentPurposeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaymentPurposeType 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
-
-