Package com.checkout.payments
Enum ProductType
- java.lang.Object
-
- java.lang.Enum<ProductType>
-
- com.checkout.payments.ProductType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ProductType>
public enum ProductType extends java.lang.Enum<ProductType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIGITALIN_APPINVOICEMINI_PROGRAMOFFICIAL_ACCOUNTPAY_BY_INSTALMENTPAY_BY_INSTALMENT_2PAY_BY_INSTALMENT_3PAY_BY_INSTALMENT_4PAY_BY_INSTALMENT_6PAY_IN_FULLPAY_LATERPHYSICALQR_CODE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProductTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ProductType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QR_CODE
@SerializedName("QR Code") public static final ProductType QR_CODE
-
IN_APP
@SerializedName("In-App") public static final ProductType IN_APP
-
OFFICIAL_ACCOUNT
@SerializedName("Official Account") public static final ProductType OFFICIAL_ACCOUNT
-
MINI_PROGRAM
@SerializedName("Mini Program") public static final ProductType MINI_PROGRAM
-
PAY_IN_FULL
@SerializedName("pay_in_full") public static final ProductType PAY_IN_FULL
-
PAY_BY_INSTALMENT
@SerializedName("pay_by_instalment") public static final ProductType PAY_BY_INSTALMENT
-
PAY_BY_INSTALMENT_2
@SerializedName("pay_by_instalment_2") public static final ProductType PAY_BY_INSTALMENT_2
-
PAY_BY_INSTALMENT_3
@SerializedName("pay_by_instalment_3") public static final ProductType PAY_BY_INSTALMENT_3
-
PAY_BY_INSTALMENT_4
@SerializedName("pay_by_instalment_4") public static final ProductType PAY_BY_INSTALMENT_4
-
PAY_BY_INSTALMENT_6
@SerializedName("pay_by_instalment_6") public static final ProductType PAY_BY_INSTALMENT_6
-
INVOICE
@SerializedName("invoice") public static final ProductType INVOICE
-
PAY_LATER
@SerializedName("pay_later") public static final ProductType PAY_LATER
-
DIGITAL
@SerializedName("digital") public static final ProductType DIGITAL
-
PHYSICAL
@SerializedName("physical") public static final ProductType PHYSICAL
-
-
Method Detail
-
values
public static ProductType[] 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 (ProductType c : ProductType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProductType 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
-
-