Enum Class SpaySdk.ServiceType
- All Implemented Interfaces:
Serializable
,Comparable<SpaySdk.ServiceType>
,Constable
- Enclosing class:
- SpaySdk
This enumeration provides Service Types.
Partners must set their Service Type in the PartnerInfo when they call any APIs.
Partners must set their Service Type in the PartnerInfo when they call any APIs.
- Since:
- API Level 1.4
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionService type for using Issuer service.Service type for using Online in-app payment service.Service type for using Samsung Pay internal service.Service type for using Mobile web payment service.Service type for using W3C payment service.Service type for using Web payment service. -
Method Summary
Modifier and TypeMethodDescriptionstatic SpaySdk.ServiceType
Returns the enum constant of this class with the specified name.static SpaySdk.ServiceType[]
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
-
INAPP_PAYMENT
Service type for using Online in-app payment service.- Since:
- API Level 1.4
-
APP2APP
Service type for using Issuer service.- Since:
- API Level 1.4
-
WEB_PAYMENT
Service type for using Web payment service.- Since:
- API Level 1.4
-
W3C
Service type for using W3C payment service.- Since:
- API Level 1.4
-
MOBILEWEB_PAYMENT
Service type for using Mobile web payment service.- Since:
- API Level 1.4
-
INTERNAL_APK
Service type for using Samsung Pay internal service.- Since:
- API Level 1.4
-
-
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