Enum Class CustomSheetPaymentInfo.AddressInPaymentSheet
java.lang.Object
java.lang.Enum<CustomSheetPaymentInfo.AddressInPaymentSheet>
com.samsung.android.sdk.samsungpay.v2.payment.CustomSheetPaymentInfo.AddressInPaymentSheet
- All Implemented Interfaces:
android.os.Parcelable
,Serializable
,Comparable<CustomSheetPaymentInfo.AddressInPaymentSheet>
,Constable
- Enclosing class:
- CustomSheetPaymentInfo
public static enum CustomSheetPaymentInfo.AddressInPaymentSheet
extends Enum<CustomSheetPaymentInfo.AddressInPaymentSheet>
implements android.os.Parcelable
This enumeration provides types of address UI on the payment sheet, based on merchant requirement.
- 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 ConstantDescriptionShipping and billing address are not required for payment.Merchant requires billing and shipping address from Samsung Pay for payment.
Show both address lists on the payment sheet.Merchant requires billing address from Samsung Pay and sends the shipping address for payment.
Show both billing and shipping address on the payment sheet.Merchant requires billing address from Samsung Pay for payment.
Show only billing address list on the payment sheet.Merchant requires shipping address from Samsung Pay for payment.Merchant will send the shipping address for payment.
Show only shipping address shared by merchant as fixed value on the payment sheet. -
Field Summary
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.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
-
DO_NOT_SHOW
Shipping and billing address are not required for payment. Do not display address on the payment sheet. -
NEED_BILLING_SPAY
Merchant requires billing address from Samsung Pay for payment.
Show only billing address list on the payment sheet. User could select one on the payment sheet. -
NEED_SHIPPING_SPAY
Merchant requires shipping address from Samsung Pay for payment.
Show only shipping address list on the payment sheet. User could select one on the payment sheet. -
SEND_SHIPPING
Merchant will send the shipping address for payment.
Show only shipping address shared by merchant as fixed value on the payment sheet. UnlikeNEED_BILLING_SPAY
orNEED_SHIPPING_SPAY
, user will not be able to change the shipping address on the payment sheet. -
NEED_BILLING_SEND_SHIPPING
Merchant requires billing address from Samsung Pay and sends the shipping address for payment.
Show both billing and shipping address on the payment sheet. UnlikeNEED_BILLING_SPAY
orNEED_SHIPPING_SPAY
, user will not be able to change the shipping address on the payment sheet. -
NEED_BILLING_AND_SHIPPING
Merchant requires billing and shipping address from Samsung Pay for payment.
Show both address lists on the payment sheet. User could select billing and shipping address from the list on the payment sheet.
-
-
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