Enum Class SpaySdk.Brand

java.lang.Object
java.lang.Enum<SpaySdk.Brand>
com.samsung.android.sdk.samsungpay.v2.SpaySdk.Brand
All Implemented Interfaces:
android.os.Parcelable, Serializable, Comparable<SpaySdk.Brand>, Constable
Enclosing class:
SpaySdk

public static enum SpaySdk.Brand extends Enum<SpaySdk.Brand> implements android.os.Parcelable
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
  • Enum Constant Details

    • AMERICANEXPRESS

      public static final SpaySdk.Brand AMERICANEXPRESS
      Card brand for AMERICAN EXPRESS.
    • MASTERCARD

      public static final SpaySdk.Brand MASTERCARD
      Card brand for MASTERCARD.
    • VISA

      public static final SpaySdk.Brand VISA
      Card brand for VISA.
    • DISCOVER

      public static final SpaySdk.Brand DISCOVER
      Card brand for DISCOVER.
    • CHINAUNIONPAY

      public static final SpaySdk.Brand CHINAUNIONPAY
      Card brand for CHINA UNIONPAY.
    • UNKNOWN_CARD

      public static final SpaySdk.Brand UNKNOWN_CARD
      Card brand is unknown.
    • OCTOPUS

      public static final SpaySdk.Brand OCTOPUS
      Card brand for HK OCTOPUS.
    • ECI

      public static final SpaySdk.Brand ECI
      Card brand for Spain ECI.
      Since:
      API Level 2.8
    • PAGOBANCOMAT

      public static final SpaySdk.Brand PAGOBANCOMAT
      Card brand for Italy PagoBancomat.
      Since:
      API Level 2.11
  • Method Details

    • values

      public static SpaySdk.Brand[] 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

      public static SpaySdk.Brand valueOf(String name)
      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 name
      NullPointerException - if the argument is null