CardCheck

@objcMembers
public class CardCheck : PaymentRequest

Contains the data for performing a Card Check without Payment.

  • The manner in which the payment is to be made (present, keyed or not present)

    Declaration

    Swift

    public fileprivate(set) var type: CardInteraction { get }
  • Indicates whether the payment should be performed online or not. Defaults to true if omitted on a payment where it is applicable.

    Declaration

    Swift

    public fileprivate(set) var isHandledOnline: Bool { get }
  • Initialise a CardCheck passing the proper parameters

    Declaration

    Swift

    public 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.

  • Used to print the debug content of the object

    Declaration

    Swift

    override public var debugDescription: String { get }