Share via


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

3/2/2014

Indicates that the cash acceptance operation has been completed.

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 deposited amount is equal to or less than the amount required.

Remarks

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

The application must call the FixDeposit method before it calls this method, or an exception is thrown with an ErrorCode value of 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

CoinAcceptor Class
CoinAcceptor Members
Microsoft.PointOfService Namespace
DepositAmount
DepositCounts
CoinAcceptor.BeginDeposit Method
FixDeposit
PauseDeposit