Enum Class SpaySdk.Brand
- All Implemented Interfaces:
android.os.Parcelable
,Serializable
,Comparable<SpaySdk.Brand>
,Constable
- Enclosing class:
- SpaySdk
This enumeration provides SDK supported card brands such as
AMERICAN EXPRESS, MASTERCARD, VISA, DISCOVER, CHINA UNIONPAY, OCTOPUS, ECI and PAGOBANCOMAT.
- Since:
- API Level 1.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCard brand for AMERICAN EXPRESS.Card brand for CHINA UNIONPAY.Card brand for DISCOVER.Card brand for Spain ECI.Card brand for MASTERCARD.Card brand for HK OCTOPUS.Card brand for Italy PagoBancomat.Card brand is unknown.Card brand for VISA. -
Field Summary
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Method Summary
Modifier and TypeMethodDescriptionstatic SpaySdk.Brand
Returns the enum constant of this class with the specified name.static SpaySdk.Brand[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
AMERICANEXPRESS
Card brand for AMERICAN EXPRESS. -
MASTERCARD
Card brand for MASTERCARD. -
VISA
Card brand for VISA. -
DISCOVER
Card brand for DISCOVER. -
CHINAUNIONPAY
Card brand for CHINA UNIONPAY. -
UNKNOWN_CARD
Card brand is unknown. -
OCTOPUS
Card brand for HK OCTOPUS. -
ECI
Card brand for Spain ECI.- Since:
- API Level 2.8
-
PAGOBANCOMAT
Card brand for Italy PagoBancomat.- Since:
- API Level 2.11
-
-
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
-
Samsung Electronics.
Samsung Pay SDK 2.19.00 - Jun 12 2024