C# 클래스 com.clover.remotepay.transport.DefaultCloverDevice

상속: CloverDevice, CloverTransportObserver
파일 보기 프로젝트 열기: clover/remote-pay-windows

Private Properties

프로퍼티 타입 설명
sendObjectMessage void

공개 메소드들

메소드 설명
DefaultCloverDevice ( CloverDeviceConfiguration configuration ) : System
DefaultCloverDevice ( String packageName, CloverTransport transport, String remoteApplicationID ) : System
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
notifyObserversCapturePreAuthResponse ( CapturePreAuthResponseMessage carm ) : void
notifyObserversCashbackSelected ( CashbackSelectedMessage cbSelected ) : void
notifyObserversCloseoutResponse ( CloseoutResponseMessage crm ) : void
notifyObserversDiscoveryResponse ( DiscoveryResponseMessage drMessage ) : void
notifyObserversFinishCancel ( ) : void
notifyObserversFinishOk ( FinishOkMessage msg ) : void
notifyObserversKeyPressed ( KeyPressMessage keyPress ) : void
notifyObserversPartialAuth ( PartialAuthMessage partialAuth ) : void
notifyObserversPaymentVoided ( Payment payment, VoidReason reason ) : void
notifyObserversRefundPaymentResponse ( RefundResponseMessage rrm ) : void
notifyObserversTipAdded ( TipAddedMessage tipAdded ) : void
notifyObserversTipAdjusted ( TipAdjustResponseMessage tarm ) : void
notifyObserversTxStartResponse ( TxStartResponseMessage txsrm ) : void
notifyObserversTxState ( TxStateMessage txStateMsg ) : void
notifyObserversUiState ( UiStateMessage uiStateMsg ) : void
notifyObserversVaultCardResponse ( VaultCardResponseMessage vcrm ) : void
notifyObserversVerifySignature ( VerifySignatureMessage verifySigMsg ) : void
onDeviceConnected ( CloverTransport transport ) : void
onDeviceDisconnected ( CloverTransport transport ) : void
onDeviceError ( int code, string message ) : void
onDeviceReady ( CloverTransport device ) : void
onMessage ( string message ) : void

This handles parsing the generic message and figuring out which handler should be used for processing

비공개 메소드들

메소드 설명
sendObjectMessage ( Message message ) : void

메소드 상세

DefaultCloverDevice() 공개 메소드

public DefaultCloverDevice ( CloverDeviceConfiguration configuration ) : System
configuration CloverDeviceConfiguration
리턴 System

DefaultCloverDevice() 공개 메소드

public DefaultCloverDevice ( String packageName, CloverTransport transport, String remoteApplicationID ) : System
packageName String
transport CloverTransport
remoteApplicationID String
리턴 System

doCapturePreAuth() 공개 메소드

public doCapturePreAuth ( string paymentID, long amount, long tipAmount ) : void
paymentID string
amount long
tipAmount long
리턴 void

doCloseout() 공개 메소드

public doCloseout ( bool allowOpenTabs, string batchId ) : void
allowOpenTabs bool
batchId string
리턴 void

doDiscoveryRequest() 공개 메소드

public doDiscoveryRequest ( ) : void
리턴 void

doKeyPress() 공개 메소드

public doKeyPress ( KeyPress keyPress ) : void
keyPress KeyPress
리턴 void

doLogMessages() 공개 메소드

public doLogMessages ( LogLevelEnum logLevel, string>.Dictionary messages ) : void
logLevel LogLevelEnum
messages string>.Dictionary
리턴 void

doOpenCashDrawer() 공개 메소드

public doOpenCashDrawer ( string reason ) : void
reason string
리턴 void

doOrderUpdate() 공개 메소드

public doOrderUpdate ( DisplayOrder order, DisplayOperation operation ) : void
order DisplayOrder
operation DisplayOperation
리턴 void

doPrintImage() 공개 메소드

public doPrintImage ( string base64String ) : void
base64String string
리턴 void

doPrintImageURL() 공개 메소드

public doPrintImageURL ( string urlString ) : void
urlString string
리턴 void

doPrintText() 공개 메소드

public doPrintText ( List textLines ) : void
textLines List
리턴 void

doRefundPayment() 공개 메소드

public doRefundPayment ( string orderId, string paymentId, long amount, bool fullRefund ) : void
orderId string
paymentId string
amount long
fullRefund bool
리턴 void

doResetDevice() 공개 메소드

public doResetDevice ( ) : void
리턴 void

doShowPaymentReceiptScreen() 공개 메소드

public doShowPaymentReceiptScreen ( string orderId, string paymentId ) : void
orderId string
paymentId string
리턴 void

doShowThankYouScreen() 공개 메소드

public doShowThankYouScreen ( ) : void
리턴 void

doShowWelcomeScreen() 공개 메소드

public doShowWelcomeScreen ( ) : void
리턴 void

doTerminalMessage() 공개 메소드

public doTerminalMessage ( string text ) : void
text string
리턴 void

doTipAdjustAuth() 공개 메소드

public doTipAdjustAuth ( string orderId, string paymentId, long amount ) : void
orderId string
paymentId string
amount long
리턴 void

doTxStart() 공개 메소드

public doTxStart ( PayIntent payIntent, Order order, bool suppressOnScreenTips ) : void
payIntent PayIntent
order com.clover.sdk.v3.order.Order
suppressOnScreenTips bool
리턴 void

doVaultCard() 공개 메소드

public doVaultCard ( int CardEntryMethods ) : void
CardEntryMethods int
리턴 void

doVerifySignature() 공개 메소드

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

doVoidPayment() 공개 메소드

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

notifyObserversCapturePreAuthResponse() 공개 메소드

public notifyObserversCapturePreAuthResponse ( CapturePreAuthResponseMessage carm ) : void
carm CapturePreAuthResponseMessage
리턴 void

notifyObserversCashbackSelected() 공개 메소드

public notifyObserversCashbackSelected ( CashbackSelectedMessage cbSelected ) : void
cbSelected CashbackSelectedMessage
리턴 void

notifyObserversCloseoutResponse() 공개 메소드

public notifyObserversCloseoutResponse ( CloseoutResponseMessage crm ) : void
crm CloseoutResponseMessage
리턴 void

notifyObserversDiscoveryResponse() 공개 메소드

public notifyObserversDiscoveryResponse ( DiscoveryResponseMessage drMessage ) : void
drMessage DiscoveryResponseMessage
리턴 void

notifyObserversFinishCancel() 공개 메소드

public notifyObserversFinishCancel ( ) : void
리턴 void

notifyObserversFinishOk() 공개 메소드

public notifyObserversFinishOk ( FinishOkMessage msg ) : void
msg FinishOkMessage
리턴 void

notifyObserversKeyPressed() 공개 메소드

public notifyObserversKeyPressed ( KeyPressMessage keyPress ) : void
keyPress KeyPressMessage
리턴 void

notifyObserversPartialAuth() 공개 메소드

public notifyObserversPartialAuth ( PartialAuthMessage partialAuth ) : void
partialAuth PartialAuthMessage
리턴 void

notifyObserversPaymentVoided() 공개 메소드

public notifyObserversPaymentVoided ( Payment payment, VoidReason reason ) : void
payment com.clover.sdk.v3.payments.Payment
reason VoidReason
리턴 void

notifyObserversRefundPaymentResponse() 공개 메소드

public notifyObserversRefundPaymentResponse ( RefundResponseMessage rrm ) : void
rrm RefundResponseMessage
리턴 void

notifyObserversTipAdded() 공개 메소드

public notifyObserversTipAdded ( TipAddedMessage tipAdded ) : void
tipAdded TipAddedMessage
리턴 void

notifyObserversTipAdjusted() 공개 메소드

public notifyObserversTipAdjusted ( TipAdjustResponseMessage tarm ) : void
tarm TipAdjustResponseMessage
리턴 void

notifyObserversTxStartResponse() 공개 메소드

public notifyObserversTxStartResponse ( TxStartResponseMessage txsrm ) : void
txsrm TxStartResponseMessage
리턴 void

notifyObserversTxState() 공개 메소드

public notifyObserversTxState ( TxStateMessage txStateMsg ) : void
txStateMsg TxStateMessage
리턴 void

notifyObserversUiState() 공개 메소드

public notifyObserversUiState ( UiStateMessage uiStateMsg ) : void
uiStateMsg UiStateMessage
리턴 void

notifyObserversVaultCardResponse() 공개 메소드

public notifyObserversVaultCardResponse ( VaultCardResponseMessage vcrm ) : void
vcrm VaultCardResponseMessage
리턴 void

notifyObserversVerifySignature() 공개 메소드

public notifyObserversVerifySignature ( VerifySignatureMessage verifySigMsg ) : void
verifySigMsg VerifySignatureMessage
리턴 void

onDeviceConnected() 공개 메소드

public onDeviceConnected ( CloverTransport transport ) : void
transport CloverTransport
리턴 void

onDeviceDisconnected() 공개 메소드

public onDeviceDisconnected ( CloverTransport transport ) : void
transport CloverTransport
리턴 void

onDeviceError() 공개 메소드

public onDeviceError ( int code, string message ) : void
code int
message string
리턴 void

onDeviceReady() 공개 메소드

public onDeviceReady ( CloverTransport device ) : void
device CloverTransport
리턴 void

onMessage() 공개 메소드

This handles parsing the generic message and figuring out which handler should be used for processing
public onMessage ( string message ) : void
message string The message.
리턴 void