CloverConnector
1.4.0
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) |
virtual void | OnPrintJobStatusResponse (PrintJobStatusResponse response) |
virtual void | OnPrintJobStatusRequest (PrintJobStatusRequest request) |
virtual void | OnRetrievePrintersResponse (RetrievePrintersResponse response) |
virtual void | OnRetrievePrintersRequest (RetrievePrintersRequest request) |
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.
Definition at line 195 of file ICloverConnectorListener.cs.
com.clover.remotepay.sdk.DefaultCloverConnectorListener.DefaultCloverConnectorListener | ( | ICloverConnector | cloverConnector | ) |
Definition at line 199 of file ICloverConnectorListener.cs.
|
virtual |
Called when an authorization response is sent from the Clover device.
response | The response. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 219 of file ICloverConnectorListener.cs.
|
virtual |
Called when a capture pre authorization response is sent from the Clover device.
response | The response. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 214 of file ICloverConnectorListener.cs.
|
virtual |
Called when a closeout response is sent from the Clover device.
response | The response. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 234 of file ICloverConnectorListener.cs.
|
pure virtual |
Called when a confirm payment request is sent from the Clover device.
request | The request. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
|
virtual |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 306 of file ICloverConnectorListener.cs.
|
virtual |
Called when a Clover device is activity ends.
deviceEvent | The device event. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 239 of file ICloverConnectorListener.cs.
|
virtual |
Called when a Clover device is activity starts.
deviceEvent | The device event. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 244 of file ICloverConnectorListener.cs.
|
virtual |
Called when a Clover device is connected.
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 249 of file ICloverConnectorListener.cs.
|
virtual |
Called when a Clover device is disconnected from the CloverConnector.
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 254 of file ICloverConnectorListener.cs.
|
virtual |
Called when a Clover device is error event is encountered.
deviceErrorEvent | The device error event. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 259 of file ICloverConnectorListener.cs.
|
virtual |
Called when a Clover device is ready to receive communications from the CloverConnector.
merchantInfo | The merchant information. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 264 of file ICloverConnectorListener.cs.
|
virtual |
Called when a manual refund response is sent from the Clover device.
response | The response. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 269 of file ICloverConnectorListener.cs.
|
virtual |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 346 of file ICloverConnectorListener.cs.
|
virtual |
Called when a pre authorization response message is sent.
response | The response. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 224 of file ICloverConnectorListener.cs.
|
virtual |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 366 of file ICloverConnectorListener.cs.
|
virtual |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 361 of file ICloverConnectorListener.cs.
|
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.
Definition at line 316 of file ICloverConnectorListener.cs.
|
virtual |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 311 of file ICloverConnectorListener.cs.
|
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.
Definition at line 326 of file ICloverConnectorListener.cs.
|
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.
Definition at line 331 of file ICloverConnectorListener.cs.
|
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.
Definition at line 321 of file ICloverConnectorListener.cs.
|
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
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 336 of file ICloverConnectorListener.cs.
|
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.
Definition at line 209 of file ICloverConnectorListener.cs.
|
virtual |
Called when a refund payment response is sent from the Clover device.
response | The response. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 274 of file ICloverConnectorListener.cs.
|
virtual |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 351 of file ICloverConnectorListener.cs.
|
virtual |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 341 of file ICloverConnectorListener.cs.
|
virtual |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 356 of file ICloverConnectorListener.cs.
|
virtual |
Called when a retrieve pending payments response is sent from the Clover device.
response |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 301 of file ICloverConnectorListener.cs.
|
virtual |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 376 of file ICloverConnectorListener.cs.
|
virtual |
summary> Called when a custom activity is terminated in a normal flow /summary>
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 371 of file ICloverConnectorListener.cs.
|
virtual |
Called when a sale response is sent from the Clover device.
response | The response. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 279 of file ICloverConnectorListener.cs.
|
virtual |
Called when a tip is added.
message | The message. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 296 of file ICloverConnectorListener.cs.
|
virtual |
Called when a tip adjust authorization response is sent from the Clover device.
response | The response. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 229 of file ICloverConnectorListener.cs.
|
virtual |
Called when a vault card response is sent from the Clover device.
response | The response. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 204 of file ICloverConnectorListener.cs.
|
virtual |
Called when a verify signature request is sent from the Clover device.
request | The request. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 284 of file ICloverConnectorListener.cs.
|
virtual |
Called when a void payment response is sent from the Clover device.
response | The response. |
Implements com.clover.remotepay.sdk.ICloverConnectorListener.
Definition at line 291 of file ICloverConnectorListener.cs.