Enum Class SpaySdk.TransactionType

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

public static enum SpaySdk.TransactionType extends Enum<SpaySdk.TransactionType>
This value is specifically supported for MADA tokens and will not apply to other token types. The Possible values are: PURCHASE / PREAUTHORIZATION The default value is PURCHASE.
Since:
API Level 2.22
  • Enum Constant Details

  • Method Details

    • values

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