C# Class com.clover.remotepay.transport.CloverDevice

Mostra file Open project: clover/remote-pay-windows Class Usage Examples

Protected Properties

Property Type Description
deviceInfo DeviceInfo
deviceObservers List
remoteApplicationID string
remoteSourceSDK string
transport CloverTransport

Public Methods

Method Description
CloverDevice ( string packageName, CloverTransport transport, string remoteApplicationID ) : System
Dispose ( ) : void
Subscribe ( CloverTransportObserver observer ) : void

Adds a observer for transport events to the member transport object to notify

Subscribe ( ICloverDeviceObserver observer ) : void
Unsubscribe ( ICloverDeviceObserver observer ) : void
doCapturePreAuth ( string paymentID, long amount, long tipAmount ) : void
doCloseout ( bool allowOpenTabs, string batchId ) : void
doDiscoveryRequest ( ) : void
doKeyPress ( KeyPress keyPress ) : void
doLogMessages ( LogLevelEnum logLevel, string>.Dictionary messages ) : void
doOpenCashDrawer ( string reason ) : void
doOrderUpdate ( DisplayOrder order, DisplayOperation operation ) : void
doPrintImage ( string base64String ) : void
doPrintImageURL ( string urlString ) : void
doPrintText ( List textLines ) : void
doRefundPayment ( string orderId, string paymentId, long amount, bool fullRefund ) : void
doResetDevice ( ) : void
doShowPaymentReceiptScreen ( string orderId, string paymentId ) : void
doShowThankYouScreen ( ) : void
doShowWelcomeScreen ( ) : void
doTerminalMessage ( String text ) : void
doTipAdjustAuth ( string orderId, string paymentId, long amount ) : void
doTxStart ( PayIntent payIntent, Order order, bool suppressOnScreenTips ) : void

doVaultCard ( int CardEntryMethods ) : void
doVerifySignature ( Payment payment, bool verified ) : void
doVoidPayment ( Payment payment, VoidReason reason ) : void
getSDKInfo ( ) : string

Method Details

CloverDevice() public method

public CloverDevice ( string packageName, CloverTransport transport, string remoteApplicationID ) : System
packageName string
transport CloverTransport
remoteApplicationID string
return System

Dispose() public method

public Dispose ( ) : void
return void

Subscribe() public method

Adds a observer for transport events to the member transport object to notify
public Subscribe ( CloverTransportObserver observer ) : void
observer CloverTransportObserver
return void

Subscribe() public method

public Subscribe ( ICloverDeviceObserver observer ) : void
observer ICloverDeviceObserver
return void

Unsubscribe() public method

public Unsubscribe ( ICloverDeviceObserver observer ) : void
observer ICloverDeviceObserver
return void

doCapturePreAuth() public abstract method

public abstract doCapturePreAuth ( string paymentID, long amount, long tipAmount ) : void
paymentID string
amount long
tipAmount long
return void

doCloseout() public abstract method

public abstract doCloseout ( bool allowOpenTabs, string batchId ) : void
allowOpenTabs bool
batchId string
return void

doDiscoveryRequest() public abstract method

public abstract doDiscoveryRequest ( ) : void
return void

doKeyPress() public abstract method

public abstract doKeyPress ( KeyPress keyPress ) : void
keyPress KeyPress
return void

doLogMessages() public abstract method

public abstract doLogMessages ( LogLevelEnum logLevel, string>.Dictionary messages ) : void
logLevel LogLevelEnum
messages string>.Dictionary
return void

doOpenCashDrawer() public abstract method

public abstract doOpenCashDrawer ( string reason ) : void
reason string
return void

doOrderUpdate() public abstract method

public abstract doOrderUpdate ( DisplayOrder order, DisplayOperation operation ) : void
order DisplayOrder
operation DisplayOperation
return void

doPrintImage() public abstract method

public abstract doPrintImage ( string base64String ) : void
base64String string
return void

doPrintImageURL() public abstract method

public abstract doPrintImageURL ( string urlString ) : void
urlString string
return void

doPrintText() public abstract method

public abstract doPrintText ( List textLines ) : void
textLines List
return void

doRefundPayment() public abstract method

public abstract doRefundPayment ( string orderId, string paymentId, long amount, bool fullRefund ) : void
orderId string
paymentId string
amount long
fullRefund bool
return void

doResetDevice() public abstract method

public abstract doResetDevice ( ) : void
return void

doShowPaymentReceiptScreen() public abstract method

public abstract doShowPaymentReceiptScreen ( string orderId, string paymentId ) : void
orderId string
paymentId string
return void

doShowThankYouScreen() public abstract method

public abstract doShowThankYouScreen ( ) : void
return void

doShowWelcomeScreen() public abstract method

public abstract doShowWelcomeScreen ( ) : void
return void

doTerminalMessage() public abstract method

public abstract doTerminalMessage ( String text ) : void
text String
return void

doTipAdjustAuth() public abstract method

public abstract doTipAdjustAuth ( string orderId, string paymentId, long amount ) : void
orderId string
paymentId string
amount long
return void

doTxStart() public abstract method

public abstract doTxStart ( PayIntent payIntent, Order order, bool suppressOnScreenTips ) : void
payIntent PayIntent
order com.clover.sdk.v3.order.Order can be null. If it is, an order will implicitly be created on the other end
suppressOnScreenTips bool
return void

doVaultCard() public abstract method

public abstract doVaultCard ( int CardEntryMethods ) : void
CardEntryMethods int
return void

doVerifySignature() public abstract method

public abstract doVerifySignature ( Payment payment, bool verified ) : void
payment com.clover.sdk.v3.payments.Payment
verified bool
return void

doVoidPayment() public abstract method

public abstract doVoidPayment ( Payment payment, VoidReason reason ) : void
payment com.clover.sdk.v3.payments.Payment
reason VoidReason
return void

getSDKInfo() public method

public getSDKInfo ( ) : string
return string

Property Details

deviceInfo protected_oe property

protected DeviceInfo deviceInfo
return DeviceInfo

deviceObservers protected_oe property

protected List deviceObservers
return List

remoteApplicationID protected_oe property

protected string remoteApplicationID
return string

remoteSourceSDK protected_oe property

protected string remoteSourceSDK
return string

transport protected_oe property

protected CloverTransport,com.clover.remotepay.transport transport
return CloverTransport