OPPYooKassaStatus

enum OPPYooKassaStatus : NSInteger {}

Enumeration of possible statuses of YooKassa payment.

  • Payment is successfully completed.

    Declaration

    Objective-C

    OPPYooKassaStatusSucceeded

    Swift

    case succeeded = 0
  • Payment is created, waiting for user confirmation.

    Declaration

    Objective-C

    OPPYooKassaStatusPending

    Swift

    case pending = 1
  • Payment is made, funds are authorized and waiting for capture.

    Declaration

    Objective-C

    OPPYooKassaStatusWaitingForCapture

    Swift

    case waitingForCapture = 2
  • Payment is canceled.

    Declaration

    Objective-C

    OPPYooKassaStatusCanceled

    Swift

    case canceled = 3
  • Status is not defined.

    Declaration

    Objective-C

    OPPYooKassaStatusUndefined

    Swift

    case undefined = 4