CardSale
@objcMembers
public class CardSale : PaymentRequest, CardPaymentRequest
Contains the data for performing a Card sale.
-
The manner in which the payment is to be made (present, keyed or not present)
Declaration
Swift
public fileprivate(set) var type: CardInteraction { get }
-
Initialise a CardSale passing the proper parameters
Declaration
Swift
public init(paypointId: String? = nil, type: CardInteraction, value: Int, merchantTransactionReference: String)
Parameters
paypointId
Identifier for the paypoint on which the action should or has been performed on.
type
The manner in which the payment is to be made (present, keyed or not present)
value
The value of the payment in minor units.
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 }