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.
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>>
-
Enum Constant Summary
-
Field Summary
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Method Summary
Modifier and TypeMethodDescriptionstatic SheetControl.Controltype
Returns the enum constant of this class with the specified name.static SheetControl.Controltype[]
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
-
PLAINTEXT
Controltype for PlainText Component.- Since:
- API Level 1.3
-
AMOUNTBOX
Controltype for AmountBox Component.
There must be one AMOUNTBOX type in SheetControls.- Since:
- API Level 1.3
-
ADDRESS
Controltype for Address(shipping / billing) Component.- Since:
- API Level 1.3
-
SPINNER
Controltype for Spinner Component.- Since:
- API Level 1.6
-
-
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.18.00 - Aug 25 2023