-
- All Implemented Interfaces:
public enum YooKassaStatus
Represents the status of the payment received from YooKassa.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SUCCEEDED
PENDING
WAITING_FOR_CAPTURE
CANCELED
UNDEFINED
-
Method Summary
Modifier and Type Method Description static YooKassaStatus
forName(String name)
Returns the status by name. static Array<YooKassaStatus>
values()
static YooKassaStatus
valueOf(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)
-
-
-
-