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
  • Enum Constant Details

    • DO_NOT_SHOW

      public static final CustomSheetPaymentInfo.AddressInPaymentSheet DO_NOT_SHOW
      Shipping and billing address are not required for payment. Do not display address on the payment sheet.
    • NEED_BILLING_SPAY

      public static final CustomSheetPaymentInfo.AddressInPaymentSheet 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

      public static final CustomSheetPaymentInfo.AddressInPaymentSheet 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

      public static final CustomSheetPaymentInfo.AddressInPaymentSheet SEND_SHIPPING
      Merchant will send the shipping address for payment.
      Show only shipping address shared by merchant as fixed value on the payment sheet. Unlike NEED_BILLING_SPAY or NEED_SHIPPING_SPAY, user will not be able to change the shipping address on the payment sheet.
    • NEED_BILLING_SEND_SHIPPING

      public static final CustomSheetPaymentInfo.AddressInPaymentSheet 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. Unlike NEED_BILLING_SPAY or NEED_SHIPPING_SPAY, user will not be able to change the shipping address on the payment sheet.
    • NEED_BILLING_AND_SHIPPING

      public static final CustomSheetPaymentInfo.AddressInPaymentSheet 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 name
      NullPointerException - if the argument is null