C# Class CloverExamplePOS.CloverExamplePOSForm

Afficher le fichier Open project: clover/remote-pay-windows

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode 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 méthode

public CloverExamplePOSForm ( ) : System
Résultat System

Dispose() protected méthode

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

InitializeConnector() public méthode

public InitializeConnector ( CloverDeviceConfiguration config ) : void
config CloverDeviceConfiguration
Résultat void

OnAuthResponse() public méthode

public OnAuthResponse ( AuthResponse response ) : void
response AuthResponse
Résultat void

OnCapturePreAuthResponse() public méthode

public OnCapturePreAuthResponse ( CapturePreAuthResponse response ) : void
response CapturePreAuthResponse
Résultat void

OnCloseoutResponse() public méthode

public OnCloseoutResponse ( CloseoutResponse response ) : void
response CloseoutResponse
Résultat void

OnDeviceActivityEnd() public méthode

public OnDeviceActivityEnd ( CloverDeviceEvent deviceEvent ) : void
deviceEvent CloverDeviceEvent
Résultat void

OnDeviceActivityStart() public méthode

public OnDeviceActivityStart ( CloverDeviceEvent deviceEvent ) : void
deviceEvent CloverDeviceEvent
Résultat void

OnDeviceConnected() public méthode

public OnDeviceConnected ( ) : void
Résultat void

OnDeviceDisconnected() public méthode

public OnDeviceDisconnected ( ) : void
Résultat void

OnDeviceError() public méthode

public OnDeviceError ( CloverDeviceErrorEvent deviceErrorEvent ) : void
deviceErrorEvent CloverDeviceErrorEvent
Résultat void

OnDeviceError() public méthode

public OnDeviceError ( Exception e ) : void
e System.Exception
Résultat void

OnDeviceReady() public méthode

public OnDeviceReady ( MerchantInfo merchantInfo ) : void
merchantInfo MerchantInfo
Résultat void

OnManualRefundResponse() public méthode

public OnManualRefundResponse ( ManualRefundResponse response ) : void
response ManualRefundResponse
Résultat void

OnPreAuthResponse() public méthode

public OnPreAuthResponse ( PreAuthResponse response ) : void
response PreAuthResponse
Résultat void

OnRefundPaymentResponse() public méthode

public OnRefundPaymentResponse ( RefundPaymentResponse response ) : void
response RefundPaymentResponse
Résultat void

OnSaleResponse() public méthode

public OnSaleResponse ( SaleResponse response ) : void
response SaleResponse
Résultat void

OnTipAdded() public méthode

public OnTipAdded ( TipAddedMessage message ) : void
message TipAddedMessage
Résultat void

OnTipAdjustAuthResponse() public méthode

public OnTipAdjustAuthResponse ( TipAdjustAuthResponse response ) : void
response TipAdjustAuthResponse
Résultat void

OnVaultCardResponse() public méthode

public OnVaultCardResponse ( VaultCardResponse vcResponse ) : void
vcResponse VaultCardResponse
Résultat void

OnVerifySignatureRequest() public méthode

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

OnVoidPaymentResponse() public méthode

public OnVoidPaymentResponse ( VoidPaymentResponse response ) : void
response VoidPaymentResponse
Résultat void

OrderChanged() public méthode

public OrderChanged ( POSOrder order, POSOrder target ) : void
order POSOrder
target POSOrder
Résultat void

OrderListChanged() public méthode

public OrderListChanged ( Store store, Store action ) : void
store Store
action Store
Résultat void

PaymentReset() public méthode

public PaymentReset ( ) : void
Résultat void

PreAuthListChanged() public méthode

public PreAuthListChanged ( POSPayment payment, Store action ) : void
payment POSPayment
action Store
Résultat void

ShowCashBackForm() public méthode

public ShowCashBackForm ( long Amount ) : void
Amount long
Résultat void

SubscribeToOrderChanges() public méthode

public SubscribeToOrderChanges ( POSOrder order ) : void
order POSOrder
Résultat void

SubscribeToStoreChanges() public méthode

public SubscribeToStoreChanges ( Store store ) : void
store Store
Résultat void

UnsubscribeToOrderChanges() public méthode

public UnsubscribeToOrderChanges ( POSOrder order ) : void
order POSOrder
Résultat void

getHandler() public méthode

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