Enum Class SheetControl.Controltype

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

public static enum SheetControl.Controltype extends Enum<SheetControl.Controltype> implements android.os.Parcelable
This enumeration provides SDK supported SheetControl type such as
PLAINTEXT, AMOUNTBOX, ADDRESS and SPINNER.
Since:
API Level 1.3
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>

    Nested classes/interfaces inherited from interface android.os.Parcelable

    android.os.Parcelable.ClassLoaderCreator<T extends Object>, android.os.Parcelable.Creator<T extends Object>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Controltype for Address(shipping / billing) Component.
    Controltype for AmountBox Component.
    There must be one AMOUNTBOX type in SheetControls.
    Controltype for PlainText Component.
    Controltype for Spinner Component.
  • Field Summary

    Fields inherited from interface android.os.Parcelable

    CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    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

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • PLAINTEXT

      public static final SheetControl.Controltype PLAINTEXT
      Controltype for PlainText Component.
      Since:
      API Level 1.3
    • AMOUNTBOX

      public static final SheetControl.Controltype AMOUNTBOX
      Controltype for AmountBox Component.
      There must be one AMOUNTBOX type in SheetControls.
      Since:
      API Level 1.3
    • ADDRESS

      public static final SheetControl.Controltype ADDRESS
      Controltype for Address(shipping / billing) Component.
      Since:
      API Level 1.3
    • SPINNER

      public static final SheetControl.Controltype SPINNER
      Controltype for Spinner Component.
      Since:
      API Level 1.6
  • Method Details

    • values

      public static SheetControl.Controltype[] 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 SheetControl.Controltype 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