Share via


BillAcceptor.ReadCashCounts Method

2/27/2008

Returns the cash counts of all cash in the bill 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 structure is equal to the cash total in a Bill Acceptor. There are some cases in which a discrepancy may occur because of existing uncountable cash in a Bill Acceptor, such as when a cash slot is "overflowing" to the extent 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

BillAcceptor Class
BillAcceptor Members
Microsoft.PointOfService Namespace
DepositCashList