OPPaymentStatus
@objc
public enum OPPaymentStatus : Int, CustomStringConvertible
An enum representing the status of an Apple Pay payment requested from the user.
-
The payment succeeded.
Declaration
Swift
case success
-
The payment failed due to an unforeseen error, such as the user’s Internet connection being offline.
Declaration
Swift
case error
-
The user cancelled the payment (for example, by hitting “cancel” in the Apple Pay dialog).
Declaration
Swift
case userCancellation
-
A string representation of this enum
Declaration
Swift
public var description: String { get }