Enum Class SpaySdk.ServiceType

java.lang.Object
java.lang.Enum<SpaySdk.ServiceType>
com.samsung.android.sdk.samsungpay.v2.SpaySdk.ServiceType
All Implemented Interfaces:
Serializable, Comparable<SpaySdk.ServiceType>, Constable
Enclosing class:
SpaySdk

public static enum SpaySdk.ServiceType extends Enum<SpaySdk.ServiceType>
This enumeration provides Service Types.
Partners must set their Service Type in the PartnerInfo when they call any APIs.
Since:
API Level 1.4
  • Enum Constant Details

    • INAPP_PAYMENT

      public static final SpaySdk.ServiceType INAPP_PAYMENT
      Service type for using Online in-app payment service.
      Since:
      API Level 1.4
    • APP2APP

      public static final SpaySdk.ServiceType APP2APP
      Service type for using Issuer service.
      Since:
      API Level 1.4
    • WEB_PAYMENT

      public static final SpaySdk.ServiceType WEB_PAYMENT
      Service type for using Web payment service.
      Since:
      API Level 1.4
    • W3C

      public static final SpaySdk.ServiceType W3C
      Service type for using W3C payment service.
      Since:
      API Level 1.4
    • MOBILEWEB_PAYMENT

      public static final SpaySdk.ServiceType MOBILEWEB_PAYMENT
      Service type for using Mobile web payment service.
      Since:
      API Level 1.4
    • INTERNAL_APK

      public static final SpaySdk.ServiceType INTERNAL_APK
      Service type for using Samsung Pay internal service.
      Since:
      API Level 1.4
  • Method Details

    • values

      public static SpaySdk.ServiceType[] 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 SpaySdk.ServiceType 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