Share via


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

3/2/2014

Sets the initial amount of cash after setup or adjusts cash counts after replenishment or removal.

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

Syntax

'Declaration
Public Overridable Sub AdjustCashCounts ( _
    cashCounts As IEnumerable(Of CashCount) _
)
public virtual void AdjustCashCounts (
    IEnumerable<CashCount> cashCounts
)
public:
virtual void AdjustCashCounts (
    IEnumerable<CashCount>^ cashCounts
)
public void AdjustCashCounts (
    IEnumerable<CashCount> cashCounts
)
public 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 cash changer after initial 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 necessary for 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 would first call ReadCashCounts for the current counts, and adjust them to the amount being replenished. Then the application calls this method to set the amount currently in the changer.

To reset all cash counts to zero, set each denomination amount to 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

CashChanger Class
CashChanger Members
Microsoft.PointOfService Namespace
ReadCashCounts