CloverConnector
1.3.1
Copyright (C) 2017 Clover Network, Inc.
|
This is a default implementation of the ICloverConnectorListener that can be used for quickly creating example applications by simply overriding the appropriate listener method(s) needed for testing a particular remote call. More...
Public Member Functions | |
DefaultCloverConnectorListener (ICloverConnector cloverConnector) | |
virtual void | OnVaultCardResponse (VaultCardResponse response) |
Called when a vault card response is sent from the Clover device. More... | |
virtual void | OnReadCardDataResponse (ReadCardDataResponse response) |
Called when a retrieve card data response is sent from the Clover device. More... | |
virtual void | OnCapturePreAuthResponse (CapturePreAuthResponse response) |
Called when a capture pre authorization response is sent from the Clover device. More... | |
virtual void | OnAuthResponse (AuthResponse response) |
Called when an authorization response is sent from the Clover device. More... | |
virtual void | OnPreAuthResponse (PreAuthResponse response) |
Called when a pre authorization response message is sent. More... | |
virtual void | OnTipAdjustAuthResponse (TipAdjustAuthResponse response) |
Called when a tip adjust authorization response is sent from the Clover device. More... | |
virtual void | OnCloseoutResponse (CloseoutResponse response) |
Called when a closeout response is sent from the Clover device. More... | |
virtual void | OnDeviceActivityEnd (CloverDeviceEvent deviceEvent) |
Called when a Clover device is activity ends. More... | |
virtual void | OnDeviceActivityStart (CloverDeviceEvent deviceEvent) |
Called when a Clover device is activity starts. More... | |
virtual void | OnDeviceConnected () |
Called when a Clover device is connected. More... | |
virtual void | OnDeviceDisconnected () |
Called when a Clover device is disconnected from the CloverConnector. More... | |
virtual void | OnDeviceError (CloverDeviceErrorEvent deviceErrorEvent) |
Called when a Clover device is error event is encountered. More... | |
virtual void | OnDeviceReady (MerchantInfo merchantInfo) |
Called when a Clover device is ready to receive communications from the CloverConnector. More... | |
virtual void | OnManualRefundResponse (ManualRefundResponse response) |
Called when a manual refund response is sent from the Clover device. More... | |
virtual void | OnRefundPaymentResponse (RefundPaymentResponse response) |
Called when a refund payment response is sent from the Clover device. More... | |
virtual void | OnSaleResponse (SaleResponse response) |
Called when a sale response is sent from the Clover device. More... | |
virtual void | OnVerifySignatureRequest (VerifySignatureRequest request) |
Called when a verify signature request is sent from the Clover device. More... | |
abstract void | OnConfirmPaymentRequest (ConfirmPaymentRequest request) |
Called when a confirm payment request is sent from the Clover device. More... | |
virtual void | OnVoidPaymentResponse (VoidPaymentResponse response) |
Called when a void payment response is sent from the Clover device. More... | |
virtual void | OnTipAdded (TipAddedMessage message) |
Called when a tip is added. More... | |
virtual void | OnRetrievePendingPaymentsResponse (RetrievePendingPaymentsResponse response) |
Called when a retrieve pending payments response is sent from the Clover device. More... | |
virtual void | OnCustomActivityResponse (CustomActivityResponse response) |
virtual void | OnPrintManualRefundReceipt (PrintManualRefundReceiptMessage printManualRefundReceiptMessage) |
virtual void | OnPrintManualRefundDeclineReceipt (PrintManualRefundDeclineReceiptMessage printManualRefundDeclineReceiptMessage) |
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 More... | |
virtual void | OnPrintPaymentReceipt (PrintPaymentReceiptMessage printPaymentReceiptMessage) |
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 More... | |
virtual void | OnPrintPaymentDeclineReceipt (PrintPaymentDeclineReceiptMessage printPaymentDeclineReceiptMessage) |
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 More... | |
virtual void | OnPrintPaymentMerchantCopyReceipt (PrintPaymentMerchantCopyReceiptMessage printPaymentMerchantCopyReceiptMessage) |
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 More... | |
virtual void | OnPrintRefundPaymentReceipt (PrintRefundPaymentReceiptMessage printRefundPaymentReceiptMessage) |
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 More... | |
virtual void | OnRetrieveDeviceStatusResponse (RetrieveDeviceStatusResponse response) |
virtual void | OnMessageFromActivity (MessageFromActivity response) |
virtual void | OnResetDeviceResponse (ResetDeviceResponse response) |
virtual void | OnRetrievePaymentResponse (RetrievePaymentResponse response) |
This is a default implementation of the ICloverConnectorListener that can be used for quickly creating example applications by simply overriding the appropriate listener method(s) needed for testing a particular remote call.
|
virtual |
Called when an authorization response is sent from the Clover device.
response | The response. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
Called when a capture pre authorization response is sent from the Clover device.
response | The response. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
Called when a closeout response is sent from the Clover device.
response | The response. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
pure virtual |
Called when a confirm payment request is sent from the Clover device.
request | The request. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
Called when a Clover device is activity ends.
deviceEvent | The device event. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
Called when a Clover device is activity starts.
deviceEvent | The device event. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
Called when a Clover device is connected.
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
Called when a Clover device is disconnected from the CloverConnector.
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
Called when a Clover device is error event is encountered.
deviceErrorEvent | The device error event. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
Called when a Clover device is ready to receive communications from the CloverConnector.
merchantInfo | The merchant information. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
Called when a manual refund response is sent from the Clover device.
response | The response. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
Called when a pre authorization response message is sent.
response | The response. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
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
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
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
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
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
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
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
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
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
summary> Called when a custom activity is terminated in a normal flow /summary>
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
Called when a retrieve card data response is sent from the Clover device.
response | The response. |
summary> 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
printManualRefundReceiptMessage |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
Called when a refund payment response is sent from the Clover device.
response | The response. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
Called when a retrieve pending payments response is sent from the Clover device.
response |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
Called when a sale response is sent from the Clover device.
response | The response. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
Called when a tip is added.
message | The message. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
Called when a tip adjust authorization response is sent from the Clover device.
response | The response. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
Called when a vault card response is sent from the Clover device.
response | The response. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
Called when a verify signature request is sent from the Clover device.
request | The request. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
Called when a void payment response is sent from the Clover device.
response | The response. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.