BaseTransactionRequest

public class BaseTransactionRequest : NSObject, Mappable
  • The amount of the transaction. This includes amount, tax, service charges, etc. except the tip

    Declaration

    Swift

    public var amount: Int
  • This prevents the Clover device from asking the POS for payment confirmations like duplicate and offline payment checks

    Declaration

    Swift

    public var autoAcceptPaymentConfirmations: Bool?
  • Defines the methods the Clover device will accept payments. these constants can be OR’d together

    1. MSR - CloverConnector.CARD_ENTRY_METHOD_MAG_STRIPE
    2. CHIP - CloverConnector.CARD_ENTRY_METHOD_ICC_CONTACT
    3. NFC - CloverConnector.CARD_ENTRY_METHOD_NFC_CONTACTLESS
    4. Manual Card Entry - CloverConnector.CARD_ENTRY_METHOD_MANUAL

    Declaration

    Swift

    public var cardEntryMethods: Int
  • Declaration

    Swift

    public var cardNotPresent: Bool?
  • Will not check to see if the card was just used for a payment

    Declaration

    Swift

    public var disableDuplicateChecking: Bool?
  • will disable printing and cause callbacks if Print is selected on the device. see: ICloverConnectorListener.onPrint* methods

    Declaration

    Swift

    public var disablePrinting: Bool?
  • Will skip the receipt screen and will flow as if No Receipt was selected

    Declaration

    Swift

    public var disableReceiptSelection: Bool?
  • by default, the payment flow will restart if a transaction fails. This flag prevents the payment flow from restarting and returns the cancel flow

    Declaration

    Swift

    public var disableRestartTransactionOnFail: Bool?
  • An id assigned by the POS that can be used to track a payment through the Clover system.

    Declaration

    Swift

    public var externalId: String
  • Extra pass-through data used by external systems.

    Declaration

    Swift

    public var extras: [String : String]?
  • Any extra region specific data. Keys are referenced in RegionalExtras.swift

    Declaration

    Swift

    public var regionalExtras: [String : String]?
  • A VaultedCard that has been acquired from a vaultCard call.

    Declaration

    Swift

    public var vaultedCard: CLVModels.Payments.VaultedCard?
  • Declaration

    Swift

    public init(amount: Int, externalId: String)