PaymentConnector

public class PaymentConnector implements IPaymentConnector

Constructors

Link copied to clipboard
public void PaymentConnector(Context context, Account account, IPaymentConnectorListener paymentConnectorListener)
public void PaymentConnector(Context context, Account account, IPaymentConnectorListener paymentConnectorListener, String remoteApplicationId)

Functions

Link copied to clipboard
public void acceptPayment(Payment payment)
If payment confirmation is required during a Sale, this method accepts the payment
Link copied to clipboard
If signature is captured during a Sale, this method accepts the signature as entered
Link copied to clipboard
add an IDeviceConnectorListener to receive callbacks
Link copied to clipboard
public void auth(AuthRequest request)
Auth method to obtain an Auth payment that can be used as the payment to call tipAdjust
Link copied to clipboard
public void capturePreAuth(CapturePreAuthRequest request)
Capture a previous Auth.
Link copied to clipboard
public void closeout(CloseoutRequest request)
Used to request a closeout for open transactions.
Link copied to clipboard
public void dispose()
Closes the PaymentConnector's connection.
Link copied to clipboard
public static String getAppVersion(Context context)
Link copied to clipboard
public void initializeConnection()
Initialize the CloverConnector's connection.
Link copied to clipboard
public void manualRefund(ManualRefundRequest request)
Manual refund method, aka "naked credit"
Link copied to clipboard
public void preAuth(PreAuthRequest request)
PreAuth method to obtain a Pre-Auth for a card
Link copied to clipboard
public void preAuthV2(PreAuthRequest request)
PreAuth method to obtain a Pre-Auth for a card
Link copied to clipboard
public void readCardData(ReadCardDataRequest request)
Used to request card information.
Link copied to clipboard
public void refundPayment(RefundPaymentRequest request)
Refund a specific payment
Link copied to clipboard
public void rejectPayment(Payment payment, Challenge challenge)
If payment confirmation is required during a Sale, this method rejects the payment
Link copied to clipboard
If signature is captured during a Sale, this method rejects the signature as entered
Link copied to clipboard
remove an ICloverConnectorListener from receiving callbacks
Link copied to clipboard
public void resetDevice()
Used to reset the device if it gets in an invalid state from POS perspective.
Link copied to clipboard
Sends a request to get a payment.
Link copied to clipboard
Used to request a list of pending payments that have been taken offline, but haven't processed yet.
Link copied to clipboard
public void sale(SaleRequest request)
Sale method, aka "purchase"
Link copied to clipboard
public void sendDebugLog(String message)
Send device logs
Link copied to clipboard
public void setUIConfiguration(UIConfiguration configuration)
Sets configuration (e.g.
Link copied to clipboard
public void tipAdjustAuth(TipAdjustAuthRequest request)
Adjust the tip for a previous Auth.
Link copied to clipboard
public void vaultCard(VaultCardRequest request)
public void vaultCard(int cem)
Vault card information.
Link copied to clipboard
public void voidPayment(VoidPaymentRequest request)
Void a transaction, given a previously used order ID and/or payment ID
Link copied to clipboard
Sends a request to void payment refund.