Enum Class SheetItemType
- All Implemented Interfaces:
android.os.Parcelable
,Serializable
,Comparable<SheetItemType>
,Constable
This class provides ControlSheet item type to distinguish each item type on custom payment sheet.
- 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
Enum ConstantDescriptionIt is used for designating billing address in AddressControl.It is used for designating installment in SpinnerControl.
This is for Korean issuers only.It is used for designating shipping address in AddressControl.It is used for designating shipping method in SpinnerControl.
User will be able to change shipping method only whenCustomSheetPaymentInfo.AddressInPaymentSheet.NEED_SHIPPING_SPAY
orCustomSheetPaymentInfo.AddressInPaymentSheet.NEED_BILLING_AND_SHIPPING
is set when building aCustomSheetPaymentInfo
It is used for designating zip code of billing address in AddressControl. -
Field Summary
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Method Summary
Modifier and TypeMethodDescriptionstatic SheetItemType
Returns the enum constant of this class with the specified name.static SheetItemType[]
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
-
BILLING_ADDRESS
It is used for designating billing address in AddressControl.- Since:
- API Level 1.3
-
SHIPPING_ADDRESS
It is used for designating shipping address in AddressControl.- Since:
- API Level 1.3
-
SHIPPING_METHOD_SPINNER
It is used for designating shipping method in SpinnerControl.
User will be able to change shipping method only whenCustomSheetPaymentInfo.AddressInPaymentSheet.NEED_SHIPPING_SPAY
orCustomSheetPaymentInfo.AddressInPaymentSheet.NEED_BILLING_AND_SHIPPING
is set when building aCustomSheetPaymentInfo
- Since:
- API Level 1.6
-
INSTALLMENT_SPINNER
It is used for designating installment in SpinnerControl.
This is for Korean issuers only.- Since:
- API Level 1.6
-
ZIP_ONLY_ADDRESS
It is used for designating zip code of billing address in AddressControl.- Since:
- API Level 2.9
-
-
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