PaymentAbort

@objcMembers
public class PaymentAbort : NSObject, Codable

Holds the data to be sent to abort an in-flight transaction.

  • Unique reference for this transaction.

    Declaration

    Swift

    public private(set) var merchantTransactionReference: String { get }
  • Initialise a PaymentAbort passing the proper parameters

    Declaration

    Swift

    public init(merchantTransactionReference: String)

    Parameters

    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 }