TransactionRequest
public class TransactionRequest : NSObject, Mappable
Provides base capabilities for TransactionRequests like SaleRequest, AuthRequest, PreAuthRequest, etc.
-
The amount of the transaction. This includes amount, tax, service charges, etc. except the tip
Declaration
Swift
public var amount:Int = 0
-
This prevents the Clover device from asking the POS for payment confirmations like duplicate and offline payment checks
Declaration
Swift
public var autoAcceptPaymentConfirmations:Bool?
-
This prevents the Clover device form asking the POS to accept a signture and automatically accepts the signature
Declaration
Swift
public var autoAcceptSignature:Bool?
-
Defines the methods the Clover device will accept payments. these constants can be OR’d together
- MSR - CloverConnector.CARD_ENTRY_METHOD_MAG_STRIPE
- CHIP - CloverConnector.CARD_ENTRY_METHOD_ICC_CONTACT
- NFC - CloverConnector.CARD_ENTRY_METHOD_NFC_CONTACTLESS
- Manual Card Entry - CloverConnector.CARD_ENTRY_METHOD_MANUAL
Declaration
Swift
public var cardEntryMethods:Int = 34567
-
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* methodsDeclaration
Swift
public var disablePrinting:Bool?
-
will skip the receipt screen and will flow as if
No Receipt
was selectedDeclaration
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
-
An override for the merchant configuration for the threshold to require a signature
Declaration
Swift
public var signatureThreshold:Int?
-
TODO:
Declaration
Swift
public var signatureEntryLocation:CLVModels.Payments.DataEntryLocation?
-
a VaultedCard that has been acquired from a vaultCard call.
Declaration
Swift
public var vaultedCard:CLVModels.Payments.VaultedCard?
-
Declaration
Swift
public class TransactionRequest : NSObject, Mappable