CardPaymentCancel
@objcMembers
public class CardPaymentCancel : NSObject
Holds data required when cancelling a card payment.
-
Identifier for the paypoint on which the action should or has been performed on.
Declaration
Swift
public private(set) var paypointId: String? { get }
-
The Payment Gateway Transaction Reference (PGTR) of the payment to cancel.
Declaration
Swift
public private(set) var gatewayTransactionReference: String { get }
-
The masked card number of the card used in the original payment to check against.
Declaration
Swift
public private(set) var cardNumber: String { get }
-
The expiry date of the card used in the original payment to check against (MM/YY).
Declaration
Swift
public private(set) var cardExpiryDate: CardDate { get }
-
The transaction reference defined by the merchant to uniquely identify the payment.
Declaration
Swift
public private(set) var merchantTransactionReference: String { get }
-
init(paypointId:
gatewayTransactionReference: cardNumber: cardExpiryDate: merchantTransactionReference: ) Initialise a CardPaymentCancel passing the proper parameters
Declaration
Swift
public init(paypointId: String? = nil, gatewayTransactionReference: String, cardNumber: String, cardExpiryDate: CardDate, merchantTransactionReference: String)
Parameters
paypointId
Identifier for the paypoint on which the action should or has been performed on.
gatewayTransactionReference
The Payment Gateway Transaction Reference (PGTR) of the payment to cancel.
merchantTransactionReference
The transaction reference defined by the merchant to uniquely identify the payment.
-
Used to print the debug content of the object
Declaration
Swift
override public var debugDescription: String { get }