PaymentQuery
@objcMembers
public class PaymentQuery : NSObject
Defines the parameters required by all query result requests.
Refer to its subclasses
PaymentResultQuery, PaymentReceiptQuery
-
The transaction reference defined by the merchant to uniquely identify the payment.
Declaration
Swift
public private(set) var merchantTransactionReference: String { get }
-
Identifier for the paypoint on which the action should or has been performed on.
Declaration
Swift
public private(set) var paypointId: String? { get }
-
Initialise a PaymentQuery passing the proper parameters
Declaration
Swift
public init(merchantTransactionReference: String, paypointId: String? = nil)
Parameters
merchantTransactionReference
The transaction reference defined by the merchant to uniquely identify the payment.
paypointId
Identifier for the paypoint on which the action should or has been performed on.
-
Used to print the debug content of the object
Declaration
Swift
override public var debugDescription: String { get }