PreviousNetworkTransactionReference
@objc(PPCOrderApplicationContextPreviousNetworkTransactionReference)
@objcMembers
class PreviousNetworkTransactionReference
extension OrderApplicationContext.PreviousNetworkTransactionReference : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Encodable, Equatable, Hashable, NSObjectProtocol
Reference values used by the card network to identify a transaction.
-
The date that the transaction was authorized by the scheme. For MasterCard, this is the “BankNet reference date” field in response.
- Minimum length: 4
- Maximum length: 4
- Pattern: ^[0-9]+$.
Declaration
Swift
let date: String?
-
Transaction reference id returned by the scheme. For Visa and Amex, this is the “Tran id” field in response. For MasterCard, this is the “BankNet reference id” field in response. For Discover, this is the “NRID” field in response.
- Minimum length: 9
- Maximum length: 15.
- Pattern: ^[a-zA-Z0-9]+$
Declaration
Swift
let id: String
-
Undocumented
Declaration
Swift
init(id: String, network: OrderApplicationContext.Network, date: String? = nil)
-
Name of the card network through which the transaction was routed.
Declaration
Swift
let network: OrderApplicationContext.Network