Share via


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

3/2/2014

Sets the amount currently in the device to specific values.

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 Bill Acceptor after setup, or to adjust cash counts after replenishment or removal, such as a paid in or paid out operation. This method is called when it is required for devices which cannot determine the exact amount of cash in them automatically. If the device can determine the exact amount, this method call is ignored. The application would first call ReadCashCounts for the current counts, and then adjust them to the amount being replenished.

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
ReadCashCounts