public interface CloverDeviceObserver
Modifier and Type | Method and Description |
---|---|
void |
onActivityResponse(com.clover.remote.ResultStatus status,
java.lang.String payload,
java.lang.String failReason,
java.lang.String actionId) |
void |
onAuthTipAdjusted(java.lang.String paymentId,
long amount,
boolean success,
java.lang.String message,
java.lang.String reason) |
void |
onBalanceInquiryResponse(com.clover.remote.ResultStatus status,
java.lang.String reason,
java.lang.Long amount) |
void |
onCapturePreAuth(com.clover.remote.ResultStatus status,
java.lang.String reason,
java.lang.String paymentId,
long amount,
long tipAmount,
java.lang.String message) |
void |
onCashbackSelected(long cashbackAmount) |
void |
onCloseoutResponse(com.clover.remote.ResultStatus status,
java.lang.String reason,
com.clover.sdk.v3.payments.Batch batch) |
void |
onConfirmPayment(com.clover.sdk.v3.payments.Payment payment,
com.clover.remote.Challenge[] challenges) |
void |
onCustomerProvidedDataMessage(ResultCode result,
java.lang.String eventId,
com.clover.sdk.v3.loyalty.LoyaltyDataConfig config,
java.lang.String data) |
void |
onDeviceConnected(CloverDevice device) |
void |
onDeviceDisconnected(CloverDevice device) |
void |
onDeviceError(CloverDeviceErrorEvent errorEvent) |
void |
onDeviceReady(CloverDevice device,
com.clover.remote.message.DiscoveryResponseMessage drm) |
void |
onDeviceStatusResponse(ResultCode result,
java.lang.String reason,
com.clover.remote.ExternalDeviceState state,
com.clover.remote.ExternalDeviceStateData data) |
void |
onDisplayReceiptOptionsResponse(com.clover.remote.ResultStatus resultStatus,
java.lang.String reason) |
void |
onFinishCancel(java.lang.String messageInfo) |
void |
onFinishOk(com.clover.sdk.v3.payments.Credit credit) |
void |
onFinishOk(com.clover.sdk.v3.payments.Payment payment,
com.clover.common2.Signature2 signature2,
java.lang.String messageInfo) |
void |
onFinishOk(com.clover.sdk.v3.payments.Refund refund) |
void |
onIncrementPreAuthResponse(com.clover.remote.ResultStatus status,
java.lang.String reason,
java.lang.String message,
com.clover.sdk.v3.payments.Authorization authorization) |
void |
onInvalidStateTransitionResponse(ResultCode result,
java.lang.String reason,
java.lang.String requestedTransition,
com.clover.remote.ExternalDeviceState state,
com.clover.remote.ExternalDeviceStateData data) |
void |
onKeyPressed(com.clover.remote.KeyPress keyPress) |
void |
onMessageAck(java.lang.String sourceMessageId) |
void |
onMessageFromActivity(java.lang.String actionId,
java.lang.String payload) |
void |
onPartialAuth(long partialAuthAmount) |
void |
onPaymentRefundResponse(java.lang.String orderId,
java.lang.String paymentId,
com.clover.sdk.v3.payments.Refund refund,
com.clover.remote.TxState code,
com.clover.remote.ErrorCode reason,
java.lang.String message) |
void |
onPaymentRefundVoidResponse(java.lang.String refundId,
com.clover.remote.ResultStatus status,
java.lang.String reason,
java.lang.String message) |
void |
onPaymentVoided(com.clover.sdk.v3.payments.Payment payment,
com.clover.sdk.v3.order.VoidReason voidReason,
com.clover.remote.ResultStatus result,
java.lang.String reason,
java.lang.String message) |
void |
onPendingPaymentsResponse(boolean success,
java.util.List<com.clover.remote.PendingPaymentEntry> payments) |
void |
onPrintCredit(com.clover.sdk.v3.payments.Credit credit) |
void |
onPrintCreditDecline(com.clover.sdk.v3.payments.Credit credit,
java.lang.String reason) |
void |
onPrintMerchantReceipt(com.clover.sdk.v3.payments.Payment payment) |
void |
onPrintPayment(com.clover.sdk.v3.payments.Payment payment,
com.clover.sdk.v3.order.Order order) |
void |
onPrintPaymentDecline(com.clover.sdk.v3.payments.Payment payment,
java.lang.String reason) |
void |
onPrintRefundPayment(com.clover.sdk.v3.payments.Payment payment,
com.clover.sdk.v3.order.Order order,
com.clover.sdk.v3.payments.Refund refund) |
void |
onReadCardResponse(com.clover.remote.ResultStatus status,
java.lang.String reason,
com.clover.remote.CardData cardData) |
void |
onRequestTipResponse(com.clover.remote.ResultStatus status,
java.lang.String reason,
java.lang.Long amount) |
void |
onResetDeviceResponse(ResultCode result,
java.lang.String reason,
com.clover.remote.ExternalDeviceState state) |
void |
onRetrievePaymentResponse(ResultCode result,
java.lang.String reason,
java.lang.String externalPaymentId,
com.clover.remote.QueryStatus queryStatus,
com.clover.sdk.v3.payments.Payment payment,
java.lang.String message) |
void |
onRetrievePrinterResponse(java.util.List<com.clover.sdk.v3.printer.Printer> printers) |
void |
onRetrievePrintJobStatus(java.lang.String printRequestId,
com.clover.sdk.v3.printer.PrintJobStatus status) |
void |
onSignatureCollected(com.clover.remote.ResultStatus status,
java.lang.String reason,
com.clover.common2.Signature2 signature) |
void |
onTipAdded(long tipAmount) |
void |
onTxStartResponse(com.clover.remote.TxStartResponseResult result,
java.lang.String externalId,
java.lang.String messageInfo,
java.lang.String message,
java.lang.String reason) |
void |
onTxState(com.clover.remote.TxState txState) |
void |
onUiState(com.clover.remote.UiState uiState,
java.lang.String uiText,
com.clover.remote.UiState.UiDirection uiDirection,
com.clover.remote.InputOption[] inputOptions) |
void |
onVaultCardResponse(com.clover.sdk.v3.payments.VaultedCard vaultedCard,
java.lang.String code,
java.lang.String reason) |
void |
onVerifySignature(com.clover.sdk.v3.payments.Payment payment,
com.clover.common2.Signature2 signature) |
void onTxState(com.clover.remote.TxState txState)
void onTxStartResponse(com.clover.remote.TxStartResponseResult result, java.lang.String externalId, java.lang.String messageInfo, java.lang.String message, java.lang.String reason)
void onUiState(com.clover.remote.UiState uiState, java.lang.String uiText, com.clover.remote.UiState.UiDirection uiDirection, com.clover.remote.InputOption[] inputOptions)
void onTipAdded(long tipAmount)
void onAuthTipAdjusted(java.lang.String paymentId, long amount, boolean success, java.lang.String message, java.lang.String reason)
void onCashbackSelected(long cashbackAmount)
void onPartialAuth(long partialAuthAmount)
void onFinishOk(com.clover.sdk.v3.payments.Payment payment, com.clover.common2.Signature2 signature2, java.lang.String messageInfo)
void onFinishOk(com.clover.sdk.v3.payments.Credit credit)
void onFinishOk(com.clover.sdk.v3.payments.Refund refund)
void onFinishCancel(java.lang.String messageInfo)
void onVerifySignature(com.clover.sdk.v3.payments.Payment payment, com.clover.common2.Signature2 signature)
void onConfirmPayment(com.clover.sdk.v3.payments.Payment payment, com.clover.remote.Challenge[] challenges)
void onPaymentVoided(com.clover.sdk.v3.payments.Payment payment, com.clover.sdk.v3.order.VoidReason voidReason, com.clover.remote.ResultStatus result, java.lang.String reason, java.lang.String message)
void onKeyPressed(com.clover.remote.KeyPress keyPress)
void onPaymentRefundResponse(java.lang.String orderId, java.lang.String paymentId, com.clover.sdk.v3.payments.Refund refund, com.clover.remote.TxState code, com.clover.remote.ErrorCode reason, java.lang.String message)
void onPaymentRefundVoidResponse(java.lang.String refundId, com.clover.remote.ResultStatus status, java.lang.String reason, java.lang.String message)
void onVaultCardResponse(com.clover.sdk.v3.payments.VaultedCard vaultedCard, java.lang.String code, java.lang.String reason)
void onCapturePreAuth(com.clover.remote.ResultStatus status, java.lang.String reason, java.lang.String paymentId, long amount, long tipAmount, java.lang.String message)
void onIncrementPreAuthResponse(com.clover.remote.ResultStatus status, java.lang.String reason, java.lang.String message, com.clover.sdk.v3.payments.Authorization authorization)
void onCloseoutResponse(com.clover.remote.ResultStatus status, java.lang.String reason, com.clover.sdk.v3.payments.Batch batch)
void onDeviceDisconnected(CloverDevice device)
void onDeviceConnected(CloverDevice device)
void onDeviceReady(CloverDevice device, com.clover.remote.message.DiscoveryResponseMessage drm)
void onDeviceError(CloverDeviceErrorEvent errorEvent)
void onPrintRefundPayment(com.clover.sdk.v3.payments.Payment payment, com.clover.sdk.v3.order.Order order, com.clover.sdk.v3.payments.Refund refund)
void onPrintMerchantReceipt(com.clover.sdk.v3.payments.Payment payment)
void onPrintPaymentDecline(com.clover.sdk.v3.payments.Payment payment, java.lang.String reason)
void onPrintPayment(com.clover.sdk.v3.payments.Payment payment, com.clover.sdk.v3.order.Order order)
void onPrintCredit(com.clover.sdk.v3.payments.Credit credit)
void onPrintCreditDecline(com.clover.sdk.v3.payments.Credit credit, java.lang.String reason)
void onMessageAck(java.lang.String sourceMessageId)
void onPendingPaymentsResponse(boolean success, java.util.List<com.clover.remote.PendingPaymentEntry> payments)
void onReadCardResponse(com.clover.remote.ResultStatus status, java.lang.String reason, com.clover.remote.CardData cardData)
void onMessageFromActivity(java.lang.String actionId, java.lang.String payload)
void onActivityResponse(com.clover.remote.ResultStatus status, java.lang.String payload, java.lang.String failReason, java.lang.String actionId)
void onDeviceStatusResponse(ResultCode result, java.lang.String reason, com.clover.remote.ExternalDeviceState state, com.clover.remote.ExternalDeviceStateData data)
void onInvalidStateTransitionResponse(ResultCode result, java.lang.String reason, java.lang.String requestedTransition, com.clover.remote.ExternalDeviceState state, com.clover.remote.ExternalDeviceStateData data)
void onResetDeviceResponse(ResultCode result, java.lang.String reason, com.clover.remote.ExternalDeviceState state)
void onRetrievePaymentResponse(ResultCode result, java.lang.String reason, java.lang.String externalPaymentId, com.clover.remote.QueryStatus queryStatus, com.clover.sdk.v3.payments.Payment payment, java.lang.String message)
void onRetrievePrinterResponse(java.util.List<com.clover.sdk.v3.printer.Printer> printers)
void onRetrievePrintJobStatus(java.lang.String printRequestId, com.clover.sdk.v3.printer.PrintJobStatus status)
void onCustomerProvidedDataMessage(ResultCode result, java.lang.String eventId, com.clover.sdk.v3.loyalty.LoyaltyDataConfig config, java.lang.String data)
void onDisplayReceiptOptionsResponse(com.clover.remote.ResultStatus resultStatus, java.lang.String reason)
void onSignatureCollected(com.clover.remote.ResultStatus status, java.lang.String reason, com.clover.common2.Signature2 signature)
void onBalanceInquiryResponse(com.clover.remote.ResultStatus status, java.lang.String reason, java.lang.Long amount)
void onRequestTipResponse(com.clover.remote.ResultStatus status, java.lang.String reason, java.lang.Long amount)