Package com.thalesgroup.gemalto.d1.d1pay
Enum Class DeactivationStatus.Code
- All Implemented Interfaces:
Serializable,Comparable<DeactivationStatus.Code>,java.lang.constant.Constable
- Enclosing interface:
- DeactivationStatus
The status code of the deactivated payment.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic DeactivationStatus.CodeReturns the enum constant of this class with the specified name.static DeactivationStatus.Code[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
Payment has been deactivated successfully. -
FAIL
Payment deactivation has failed.When this happens, the integrator is recommended to either:
- Reset the default card for payment.
Refer to
D1PayWallet.setDefaultPaymentDigitalCard(String, D1Task.Callback) - Execute the replenishment process.
Refer to
D1PayWallet.replenish(String, boolean, DeviceAuthenticationCallback, D1Task.Callback)
- Reset the default card for payment.
Refer to
-
-
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
-