C# Class CloverExamplePOS.CloverExamplePOSForm

ファイルを表示 Open project: clover/remote-pay-windows

Public Methods

Method Description
CloverExamplePOSForm ( ) : System
InitializeConnector ( CloverDeviceConfiguration config ) : void
OnAuthResponse ( AuthResponse response ) : void
OnCapturePreAuthResponse ( CapturePreAuthResponse response ) : void
OnCloseoutResponse ( CloseoutResponse response ) : void
OnDeviceActivityEnd ( CloverDeviceEvent deviceEvent ) : void
OnDeviceActivityStart ( CloverDeviceEvent deviceEvent ) : void
OnDeviceConnected ( ) : void
OnDeviceDisconnected ( ) : void
OnDeviceError ( CloverDeviceErrorEvent deviceErrorEvent ) : void
OnDeviceError ( Exception e ) : void
OnDeviceReady ( MerchantInfo merchantInfo ) : void
OnManualRefundResponse ( ManualRefundResponse response ) : void
OnPreAuthResponse ( PreAuthResponse response ) : void
OnRefundPaymentResponse ( RefundPaymentResponse response ) : void
OnSaleResponse ( SaleResponse response ) : void
OnTipAdded ( TipAddedMessage message ) : void
OnTipAdjustAuthResponse ( TipAdjustAuthResponse response ) : void
OnVaultCardResponse ( VaultCardResponse vcResponse ) : void
OnVerifySignatureRequest ( VerifySignatureRequest request ) : void

Handle a request from the Clover device to verify a signature

OnVoidPaymentResponse ( VoidPaymentResponse response ) : void
OrderChanged ( POSOrder order, POSOrder target ) : void
OrderListChanged ( Store store, Store action ) : void
PaymentReset ( ) : void
PreAuthListChanged ( POSPayment payment, Store action ) : void
ShowCashBackForm ( long Amount ) : void
SubscribeToOrderChanges ( POSOrder order ) : void
SubscribeToStoreChanges ( Store store ) : void
UnsubscribeToOrderChanges ( POSOrder order ) : void
getHandler ( InputOption io ) : EventHandler

Used to get a handler for an InputOption that may be sent during a UI Event

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AppShutdown ( object sender, EventArgs e ) : void
Auth ( POSCard card ) : void
AuthButtonCard_Click ( object sender, EventArgs e ) : void
AuthButtonContext_Click ( object sender, EventArgs e ) : void
AuthButton_Click ( object sender, EventArgs e ) : void
BrowseImageButton_Click ( object sender, EventArgs e ) : void
Cancel_Click ( object sender, EventArgs e ) : void
CloseoutButton_Click ( object sender, EventArgs e ) : void
DecrementQuantityButton_Click ( object sender, EventArgs e ) : void
DiscountButton_Click ( object sender, EventArgs e ) : void
DisplayMessageButton_Click ( object sender, EventArgs e ) : void
DoneEditingLineItem_Click ( object sender, EventArgs e ) : void
EntryCheckbox_CheckedChanged ( object sender, EventArgs e ) : void
ExamplePOSForm_Closed ( object sender, FormClosedEventArgs e ) : void
ExamplePOSForm_Load ( object sender, EventArgs e ) : void
GetCurrentTab ( ) : ClientTab
IncrementQuantityButton_Click ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ManualRefundButton_Click ( object sender, EventArgs e ) : void
ManualRefundReceiptButton_Click ( object sender, EventArgs e ) : void
NewOrder ( ) : void
NewOrder_Click ( object sender, EventArgs e ) : void
OpenCashDrawerButton_Click ( object sender, EventArgs e ) : void
OpenOrder_Button_Click ( object sender, EventArgs e ) : void
OrderItems_SelectedIndexChanged ( object sender, EventArgs e ) : void
OrderPaymentsView_SelectedIndexChanged ( object sender, EventArgs e ) : void
OrdersListViewRefresh ( ) : void
OrdersListView_SelectedIndexChanged ( object sender, EventArgs e ) : void
Pay ( POSCard card ) : void
PayButtonCard_Click ( object sender, EventArgs e ) : void
PayButtonContext_Click ( object sender, EventArgs e ) : void
PayButton_Click ( object sender, EventArgs e ) : void
PreAuth ( POSCard card ) : void
PreAuthButton_Click ( object sender, EventArgs e ) : void
PrintImageButton_Click ( object sender, EventArgs e ) : void
PrintPaymentButton_Click ( object sender, EventArgs e ) : void
PrintTextButton_Click ( object sender, EventArgs e ) : void
ReapplyOrderDiscount ( POSDiscount discount ) : void
RebuildOrderOnDevice ( ) : void
RefreshSelectedOrderData ( ) : void
RefundAmount_KeyPress ( object sender, KeyPressEventArgs e ) : void
RefundPaymentButton_Click ( object sender, EventArgs e ) : void
RemoveItemButton_Click ( object sender, EventArgs e ) : void
RemoveSelectedItemFromCurrentOrder ( ) : void
ResetButton_Click ( object sender, EventArgs e ) : void
ResetOrderPaymentButtons ( ) : void
ShowReceiptButton_Click ( object sender, EventArgs e ) : void
ShowThankYouButton_Click ( object sender, EventArgs e ) : void
ShowWelcomeButton_Click ( object sender, EventArgs e ) : void
StoreItems_DiscountSelected ( object sender, EventArgs e ) : void
StoreItems_ItemSelected ( object sender, EventArgs e ) : void
TabControl_SelectedIndexChanged ( Object sender, EventArgs ev ) : void
TipAdjustButton_Click ( object sender, EventArgs e ) : void
TransactionsListView_SelectedIndexChanged ( object sender, EventArgs e ) : void
UpdateDisplayOrderTotals ( ) : void
UpdateOrderUI ( ) : void
UpdateOrdersListView ( ) : void
VaultCardBtn_Click ( object sender, EventArgs e ) : void
VoidButton_Click ( object sender, EventArgs e ) : void
addCardToUI ( POSCard card ) : void
autoResizeColumns ( ListView lv ) : void
preAuthFormClosing ( object sender, FormClosingEventArgs args ) : void
vaultCardClosing ( object sender, FormClosingEventArgs e ) : void
vaultedCardListClosing ( object sender, FormClosingEventArgs e ) : void

Method Details

CloverExamplePOSForm() public method

public CloverExamplePOSForm ( ) : System
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

InitializeConnector() public method

public InitializeConnector ( CloverDeviceConfiguration config ) : void
config CloverDeviceConfiguration
return void

OnAuthResponse() public method

public OnAuthResponse ( AuthResponse response ) : void
response AuthResponse
return void

OnCapturePreAuthResponse() public method

public OnCapturePreAuthResponse ( CapturePreAuthResponse response ) : void
response CapturePreAuthResponse
return void

OnCloseoutResponse() public method

public OnCloseoutResponse ( CloseoutResponse response ) : void
response CloseoutResponse
return void

OnDeviceActivityEnd() public method

public OnDeviceActivityEnd ( CloverDeviceEvent deviceEvent ) : void
deviceEvent CloverDeviceEvent
return void

OnDeviceActivityStart() public method

public OnDeviceActivityStart ( CloverDeviceEvent deviceEvent ) : void
deviceEvent CloverDeviceEvent
return void

OnDeviceConnected() public method

public OnDeviceConnected ( ) : void
return void

OnDeviceDisconnected() public method

public OnDeviceDisconnected ( ) : void
return void

OnDeviceError() public method

public OnDeviceError ( CloverDeviceErrorEvent deviceErrorEvent ) : void
deviceErrorEvent CloverDeviceErrorEvent
return void

OnDeviceError() public method

public OnDeviceError ( Exception e ) : void
e System.Exception
return void

OnDeviceReady() public method

public OnDeviceReady ( MerchantInfo merchantInfo ) : void
merchantInfo MerchantInfo
return void

OnManualRefundResponse() public method

public OnManualRefundResponse ( ManualRefundResponse response ) : void
response ManualRefundResponse
return void

OnPreAuthResponse() public method

public OnPreAuthResponse ( PreAuthResponse response ) : void
response PreAuthResponse
return void

OnRefundPaymentResponse() public method

public OnRefundPaymentResponse ( RefundPaymentResponse response ) : void
response RefundPaymentResponse
return void

OnSaleResponse() public method

public OnSaleResponse ( SaleResponse response ) : void
response SaleResponse
return void

OnTipAdded() public method

public OnTipAdded ( TipAddedMessage message ) : void
message TipAddedMessage
return void

OnTipAdjustAuthResponse() public method

public OnTipAdjustAuthResponse ( TipAdjustAuthResponse response ) : void
response TipAdjustAuthResponse
return void

OnVaultCardResponse() public method

public OnVaultCardResponse ( VaultCardResponse vcResponse ) : void
vcResponse VaultCardResponse
return void

OnVerifySignatureRequest() public method

Handle a request from the Clover device to verify a signature
public OnVerifySignatureRequest ( VerifySignatureRequest request ) : void
request VerifySignatureRequest
return void

OnVoidPaymentResponse() public method

public OnVoidPaymentResponse ( VoidPaymentResponse response ) : void
response VoidPaymentResponse
return void

OrderChanged() public method

public OrderChanged ( POSOrder order, POSOrder target ) : void
order POSOrder
target POSOrder
return void

OrderListChanged() public method

public OrderListChanged ( Store store, Store action ) : void
store Store
action Store
return void

PaymentReset() public method

public PaymentReset ( ) : void
return void

PreAuthListChanged() public method

public PreAuthListChanged ( POSPayment payment, Store action ) : void
payment POSPayment
action Store
return void

ShowCashBackForm() public method

public ShowCashBackForm ( long Amount ) : void
Amount long
return void

SubscribeToOrderChanges() public method

public SubscribeToOrderChanges ( POSOrder order ) : void
order POSOrder
return void

SubscribeToStoreChanges() public method

public SubscribeToStoreChanges ( Store store ) : void
store Store
return void

UnsubscribeToOrderChanges() public method

public UnsubscribeToOrderChanges ( POSOrder order ) : void
order POSOrder
return void

getHandler() public method

Used to get a handler for an InputOption that may be sent during a UI Event
public getHandler ( InputOption io ) : EventHandler
io InputOption
return EventHandler