-
- All Implemented Interfaces:
public enum YooKassaStatusRepresents the status of the payment received from YooKassa.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SUCCEEDEDPENDINGWAITING_FOR_CAPTURECANCELEDUNDEFINED
-
Method Summary
Modifier and Type Method Description static YooKassaStatusforName(String name)Returns the status by name. static Array<YooKassaStatus>values()static YooKassaStatusvalueOf(String name)-
-
Method Detail
-
forName
@NonNull() static YooKassaStatus forName(String name)
Returns the status by name. The UNDEFINED status will be returned if name doesn't match with any existing status.
- Parameters:
name- the status name
-
values
static Array<YooKassaStatus> values()
-
valueOf
static YooKassaStatus valueOf(String name)
-
-
-
-