AuthRequest

public class AuthRequest : TransactionRequest

The request sent to the Auth method. ‘amount’ is the only field required.

  • if the Clover device can’t communicate with the server, can the payment be taken offline and processed later

    Declaration

    Swift

    public var allowOfflinePayment: Bool?
  • if the Clover device can’t communicate with the server, can the payment be taken offline without POS confirmatin

    Declaration

    Swift

    public var approveOfflinePaymentWithoutPrompt: Bool?
  • disable the cashback ui option for cards that support the cashback option

    Declaration

    Swift

    public var disableCashback: Bool?
  • records the tax amount for reporting purposes

    Declaration

    Swift

    public var taxAmount: Int?
  • The amount the precomputed tips on screen are based on

    Declaration

    Swift

    public var tippableAmount: Int?
  • Force a payment to be accepted without sending the payment to the server. The payment will be queued and processed as soon as the network and server become available

    Declaration

    Swift

    public var forceOfflinePayment: Bool?
  • An Auth request requires an amount and an externalId that can be used to track the payment.

    Declaration

    Swift

    public required override init(amount: Int, externalId: String)