TokenisedCardSale

@objcMembers
public class TokenisedCardSale : PaymentRequest

Contains the data for performing a tokenised Card sale.

  • The card token to be used for the payment.

    Declaration

    Swift

    public fileprivate(set) var tokenId: String { get }
  • Initialise a TokenisedCardSale passing the proper parameters

    Declaration

    Swift

    public init(paypointId: String? = nil,
                tokenId: String,
                value: Int,
                merchantTransactionReference: String)

    Parameters

    paypointId

    Identifier for the paypoint on which the action should or has been performed on.

    tokenId

    The card token to be used for the payment.

    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 }