Share via


CoinAcceptor.AdjustCashCounts Method (POS for .NET v1.14 SDK Documentation)

3/2/2014

Sets the initial amounts in the Coin Acceptor after setup or adjusts cash counts after replenishment or removal.

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

Syntax

'Declaration
Public MustOverride Sub AdjustCashCounts ( _
    cashCounts As IEnumerable(Of CashCount) _
)
public abstract void AdjustCashCounts (
    IEnumerable<CashCount> cashCounts
)
public:
virtual void AdjustCashCounts (
    IEnumerable<CashCount>^ cashCounts
) abstract
public abstract void AdjustCashCounts (
    IEnumerable<CashCount> cashCounts
)
public abstract function AdjustCashCounts (
    cashCounts : IEnumerable<CashCount>
)

Parameters

  • cashCounts
    The cashCounts parameter contains cash types and amounts to be initialized.

Remarks

This method is called to set the initial amounts in the Coin Acceptor after initial setup or to adjust cash counts after replenishment or removal, such as a paid-in or paid-out operation. Typically, this method is used by devices which cannot determine the exact amount of cash in them automatically. If the device can determine the exact amount, then this method call is ignored.

The application typically first calls ReadCashCounts for the current counts, then calls this method to adjust them to the amount currently in the acceptor.

To reset all cash counts to zero, set each denomination amount to 0 (zero).

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
ReadCashCounts