Package com.thalesgroup.gemalto.d1.d1pay
Enum DeactivationStatus.Code
- java.lang.Object
-
- java.lang.Enum<DeactivationStatus.Code>
-
- com.thalesgroup.gemalto.d1.d1pay.DeactivationStatus.Code
-
- All Implemented Interfaces:
Serializable
,Comparable<DeactivationStatus.Code>
- Enclosing interface:
- DeactivationStatus
public static enum DeactivationStatus.Code extends Enum<DeactivationStatus.Code>
The status code of the deactivated payment.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DeactivationStatus.Code
valueOf(String name)
Returns the enum constant of this type with the specified name.static DeactivationStatus.Code[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final DeactivationStatus.Code SUCCESS
Payment has been deactivated successfully.
-
FAIL
public static final DeactivationStatus.Code 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 Detail
-
values
public static DeactivationStatus.Code[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DeactivationStatus.Code c : DeactivationStatus.Code.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeactivationStatus.Code valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-