Enum CardNumberValidation
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) public enum CardNumberValidation extends Enum<CardNumberValidation>
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<CardNumberValidation>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description VALIDINVALID_ILLEGAL_CHARACTERSINVALID_LUHN_CHECKINVALID_TOO_SHORTINVALID_TOO_LONGINVALID_UNSUPPORTED_BRANDINVALID_OTHER_REASON
-
Method Summary
Modifier and Type Method Description final CardNumberValidationvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<CardNumberValidation>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<CardNumberValidation>getEntries()-
-
Method Detail
-
valueOf
final CardNumberValidation valueOf(String value)
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.)
-
values
final Array<CardNumberValidation> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<CardNumberValidation> getEntries()
-
-
-
-