CardSettlement

@objcMembers
public class CardSettlement : NSObject

Contains the data for settling a pre-auth.

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

    Declaration

    Swift

    public private(set) var paypointId: String? { get }
  • Mandatory value of the payment in minor units.

    Declaration

    Swift

    public private(set) var value: Int { get }
  • The Payment Gateway Transaction Reference (PGTR) of the pre-auth payment to settle.

    Declaration

    Swift

    public private(set) var gatewayTransactionReference: String { get }
  • The masked card number of the card used in the original payment to check against.

    Declaration

    Swift

    public private(set) var cardNumber: String { get }
  • The expiry date of the card used in the original payment to check against (MM/YY).

    Declaration

    Swift

    public private(set) var cardExpiryDate: CardDate { get }
  • The transaction reference defined by the merchant to uniquely identify the payment.

    Declaration

    Swift

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

    Declaration

    Swift

    public init(paypointId: String? = nil,
                value: Int,
                gatewayTransactionReference: String,
                cardNumber: String,
                cardExpiryDate: CardDate,
                merchantTransactionReference: String)

    Parameters

    paypointId

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

    value

    Mandatory value of the payment in minor units.

    gatewayTransactionReference

    The Payment Gateway Transaction Reference (PGTR) of the pre-auth payment to settle.

    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 }