public interface ICloverConnectorListener
Modifier and Type | Method and Description |
---|---|
void |
onAuthResponse(AuthResponse response)
Called in response to an auth request
|
void |
onCapturePreAuthResponse(CapturePreAuthResponse response)
Called in response to a capture of a pre auth payment
|
void |
onCheckBalanceResponse(CheckBalanceResponse response)
Called in response to a CheckBalanceRequest
|
void |
onCloseoutResponse(CloseoutResponse response)
Called in response to a closeout being processed
|
void |
onConfirmPaymentRequest(ConfirmPaymentRequest request)
Called when the Clover device requires confirmation for a payment
e.g.
|
void |
onCustomActivityResponse(CustomActivityResponse response)
Called when a custom activity finishes
|
void |
onCustomerProvidedData(CustomerProvidedDataEvent event)
Called when customer information is provided from a loyalty service.
|
void |
onDeviceActivityEnd(CloverDeviceEvent deviceEvent)
Called when a Clover device activity ends.
|
void |
onDeviceActivityStart(CloverDeviceEvent deviceEvent)
Called when a Clover device activity starts.
|
void |
onDeviceConnected()
Called when the Clover device is connected, but not ready to communicate
|
void |
onDeviceDisconnected()
Called when the Clover device is disconnected
|
void |
onDeviceError(CloverDeviceErrorEvent deviceErrorEvent)
Called when a Clover device error event is encountered
|
void |
onDeviceReady(MerchantInfo merchantInfo)
Called when the Clover device is ready to communicate
|
void |
onDisplayReceiptOptionsResponse(DisplayReceiptOptionsResponse response)
Called in response to a DisplayReceiptOptionsRequest
|
void |
onIncrementPreAuthResponse(IncrementPreauthResponse response)
Called in response to an `incrementPreAuth()` call on the CloverConnector.
|
void |
onInvalidStateTransitionResponse(InvalidStateTransitionResponse response)
Called in response to a request that results in an invalid kiosk flow transition
|
void |
onManualRefundResponse(ManualRefundResponse response)
Called in response to a manual refund request
|
void |
onMessageFromActivity(MessageFromActivity message)
Called when a message is sent from a custom activity
|
void |
onPreAuthResponse(PreAuthResponse response)
Called in response to a pre auth request
|
void |
onPrintJobStatusResponse(PrintJobStatusResponse response)
Called to update the status of a print job
|
void |
onPrintManualRefundDeclineReceipt(PrintManualRefundDeclineReceiptMessage message)
Will only be called if disablePrinting = true on the Sale, Auth, PreAuth or ManualRefund Request
Called when a user requests to print a receipt for a declined ManualRefund
|
void |
onPrintManualRefundReceipt(PrintManualRefundReceiptMessage message)
Will only be called if disablePrinting = true on the Sale, Auth, PreAuth or ManualRefund Request
Called when a user requests to print a receipt for a ManualRefund
|
void |
onPrintPaymentDeclineReceipt(PrintPaymentDeclineReceiptMessage message)
Will only be called if disablePrinting = true on the Sale, Auth, PreAuth or ManualRefund Request
Called when a user requests to print a receipt for a declined payment
|
void |
onPrintPaymentMerchantCopyReceipt(PrintPaymentMerchantCopyReceiptMessage message)
Will only be called if disablePrinting = true on the Sale, Auth, PreAuth or ManualRefund Request
Called when a user requests to print a merchant copy of a payment receipt
|
void |
onPrintPaymentReceipt(PrintPaymentReceiptMessage message)
Will only be called if disablePrinting = true on the Sale, Auth, PreAuth or ManualRefund Request
Called when a user requests to print a receipt for a payment
|
void |
onPrintRefundPaymentReceipt(PrintRefundPaymentReceiptMessage message)
Will only be called if disablePrinting = true on the Sale, Auth, PreAuth or ManualRefund Request
Called when a user requests to print a receipt for a payment refund
|
void |
onReadCardDataResponse(ReadCardDataResponse response)
Called in response to a readCardData(...) request.
|
void |
onRefundPaymentResponse(RefundPaymentResponse response)
Called in response to a refund payment request
|
void |
onRequestSignatureResponse(SignatureResponse response)
Called in response to a RequestSignatureRequest
|
void |
onRequestTipResponse(TipResponse response)
Called in response to a TipRequest
|
void |
onResetDeviceResponse(ResetDeviceResponse response)
Called in response to a ResetDevice request
|
void |
onRetrieveDeviceStatusResponse(RetrieveDeviceStatusResponse response)
Called in response to a RetrieveDeviceState request
|
void |
onRetrievePaymentResponse(RetrievePaymentResponse response)
Called in response to a RetrievePaymentRequest
|
void |
onRetrievePendingPaymentsResponse(RetrievePendingPaymentsResponse response)
Called in response to a retrievePendingPayment(...) request.
|
void |
onRetrievePrintersResponse(RetrievePrintersResponse response)
Called in response to a retrievePrinters() request
|
void |
onSaleResponse(SaleResponse response)
Called in response to a sale request
|
void |
onTipAdded(com.clover.remote.message.TipAddedMessage message)
Called when a customer selects a tip amount on the Clover device screen
|
void |
onTipAdjustAuthResponse(TipAdjustAuthResponse response)
Called in response to a tip adjust of an auth payment
|
void |
onVaultCardResponse(VaultCardResponse response)
Called in response to a vault card request
|
void |
onVerifySignatureRequest(VerifySignatureRequest request)
Called when the Clover device requires a signature to be verified
|
void |
onVoidPaymentRefundResponse(VoidPaymentRefundResponse response)
Called in response to a void payment refund request
|
void |
onVoidPaymentResponse(VoidPaymentResponse response)
Called in response to a void payment request
|
void onDeviceActivityStart(CloverDeviceEvent deviceEvent)
deviceEvent
- The device event.void onDeviceActivityEnd(CloverDeviceEvent deviceEvent)
deviceEvent
- The device event.void onDeviceError(CloverDeviceErrorEvent deviceErrorEvent)
deviceErrorEvent
- The device error event.void onPreAuthResponse(PreAuthResponse response)
response
- The responsevoid onAuthResponse(AuthResponse response)
response
- The responsevoid onTipAdjustAuthResponse(TipAdjustAuthResponse response)
response
- The responsevoid onCapturePreAuthResponse(CapturePreAuthResponse response)
response
- The responsevoid onIncrementPreAuthResponse(IncrementPreauthResponse response)
response
- void onVerifySignatureRequest(VerifySignatureRequest request)
request
- The requestvoid onConfirmPaymentRequest(ConfirmPaymentRequest request)
request
- The requestvoid onCloseoutResponse(CloseoutResponse response)
response
- The responsevoid onSaleResponse(SaleResponse response)
response
- The responsevoid onManualRefundResponse(ManualRefundResponse response)
response
- The responsevoid onRefundPaymentResponse(RefundPaymentResponse response)
response
- The responsevoid onTipAdded(com.clover.remote.message.TipAddedMessage message)
message
- The messagevoid onVoidPaymentResponse(VoidPaymentResponse response)
response
- The responsevoid onVoidPaymentRefundResponse(VoidPaymentRefundResponse response)
response
- The responsevoid onDeviceDisconnected()
void onDeviceConnected()
void onDeviceReady(MerchantInfo merchantInfo)
merchantInfo
- The merchant info for the devicevoid onVaultCardResponse(VaultCardResponse response)
response
- The responsevoid onPrintJobStatusResponse(PrintJobStatusResponse response)
response
- The response contains the print job identifier and that job's statusvoid onRetrievePrintersResponse(RetrievePrintersResponse response)
response
- Response object containing an array of the printers being passed backvoid onPrintManualRefundReceipt(PrintManualRefundReceiptMessage message)
message
- The messagevoid onPrintManualRefundDeclineReceipt(PrintManualRefundDeclineReceiptMessage message)
message
- The messagevoid onPrintPaymentReceipt(PrintPaymentReceiptMessage message)
message
- The messagevoid onPrintPaymentDeclineReceipt(PrintPaymentDeclineReceiptMessage message)
message
- The messagevoid onPrintPaymentMerchantCopyReceipt(PrintPaymentMerchantCopyReceiptMessage message)
message
- The messagevoid onPrintRefundPaymentReceipt(PrintRefundPaymentReceiptMessage message)
message
- The messagevoid onRetrievePendingPaymentsResponse(RetrievePendingPaymentsResponse response)
response
- The responsevoid onReadCardDataResponse(ReadCardDataResponse response)
response
- The responsevoid onMessageFromActivity(MessageFromActivity message)
message
- The messagevoid onCustomActivityResponse(CustomActivityResponse response)
response
- The responsevoid onRetrieveDeviceStatusResponse(RetrieveDeviceStatusResponse response)
response
- The responsevoid onInvalidStateTransitionResponse(InvalidStateTransitionResponse response)
response
- The responsevoid onResetDeviceResponse(ResetDeviceResponse response)
response
- The responsevoid onRetrievePaymentResponse(RetrievePaymentResponse response)
response
- The responsevoid onCustomerProvidedData(CustomerProvidedDataEvent event)
event
- The eventvoid onDisplayReceiptOptionsResponse(DisplayReceiptOptionsResponse response)
response
- void onRequestSignatureResponse(SignatureResponse response)
response
- void onCheckBalanceResponse(CheckBalanceResponse response)
response
- void onRequestTipResponse(TipResponse response)
response
-