Share via


CoinAcceptor.ReadCashCounts Method (POS for .NET v1.12 SDK Documentation)

2/27/2008

Returns the cash counts of all cash in the Coin Acceptor.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride Function ReadCashCounts As CashCounts
public abstract CashCounts ReadCashCounts ()
public:
virtual CashCounts ReadCashCounts () abstract
public abstract CashCounts ReadCashCounts ()
public abstract function ReadCashCounts () : CashCounts

Remarks

Each unit in CashCounts matches a unit in the DepositCashList property, and is in the same order.

Typically, the cash total returned in the CashCounts parameter is equal to the cash total in a Coin Acceptor, although there are some cases in which a discrepancy may occur because of existing uncountable cash in a Coin Acceptor. An example would be when a cash slot is "overflowing" in such a way that the device has lost its ability to accurately detect and monitor the cash.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

CoinAcceptor Class
CoinAcceptor Members
Microsoft.PointOfService Namespace
DepositCashList