Share via


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

3/2/2014

Ends the cash acceptance process.

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

Syntax

'Declaration
Public MustOverride Sub EndDeposit ( _
    success As EndDepositAction _
)
public abstract void EndDeposit (
    EndDepositAction success
)
public:
virtual void EndDeposit (
    EndDepositAction success
) abstract
public abstract void EndDeposit (
    EndDepositAction success
)
public abstract function EndDeposit (
    success : EndDepositAction
)

Parameters

  • success
    The deposit is accepted and the process is complete.

Remarks

Before the code calls this method, the application must calculate the difference between the deposit and the amount required.

The application must call the BeginDeposit and FixDeposit methods in sequence before the code calls this method, or a PosControlException exception is thrown with the ErrorCode property that contains the value Illegal.

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
DepositAmount
DepositCounts
BillAcceptor.BeginDeposit Method
FixDeposit
PauseDeposit