Structure
PCTransaction
public struct PCTransaction
The struct that holds information about a transaction
Relationships
Conforms To
CustomStringConvertible
Decodable
Equatable
Initializers
init(from:)
public init(from decoder: Decoder) throws
Properties
transactionID
public let transactionID: String
Transaction identifier generated by the PContol System
confirmationCodeLength
public let confirmationCodeLength: Int
Length of the short confirmation code for offline mode
extendedCheck
public let extendedCheck: Bool
Returns true
if extended authentication is required to confirm transaction
confirmationType
public private(set) var confirmationType: PCConfirmationType
Transaction's confirmation type. Can be Push
of Offline
downloadedBinaryData
public var downloadedBinaryData: Data?
Transaction's binary data
Contains data from file at storedBinaryDataURL
. It is not recommended to use this variable for large files.
Download binary data using PCTransactionManager.getTransactionBinaryData
method.
You can check the availability of the binary data using the PCTransaction.hasBinaryData
property.
storedBinaryDataURL
public var storedBinaryDataURL: URL?
The url to the downloaded transaction's binary data
Download binary data using PCTransactionManager.getTransactionBinaryData
method.
You can check the availability of binary data using the PCTransaction.hasBinaryData
property.
cmsAuthenticatedAttributes
public let cmsAuthenticatedAttributes: Data?
Cms authenticated attributes
description
public var description: String
Operators
==
public static func == (lhs: PCTransaction, rhs: PCTransaction) -> Bool