CardCheckPayment
@objcMembers
public class CardCheckPayment : CardCheck
Contains the data for performing a Card Check with Payment.
-
Initialise a CardCheckPayment passing the proper parameters
Declaration
Swift
public override init(type: CardInteraction, value: Int, merchantTransactionReference: String, paypointId: String? = nil, isHandledOnline: Bool = true)
Parameters
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.
paypointId
Identifier for the paypoint on which the action should or has been performed on.
isHandledOnline
Indicates whether the payment should be performed online or not. Defaults to true if omitted on a payment where it is applicable. Currently, an online/offline choice is only applicable to the check-card and check-card-payment payment types, online/offline processing is determined automatically for all other payments regardless of this indicator.