PinPad.Amount Property (POS for .NET v1.12 SDK Documentation)
2/27/2008
Holds the amount of the current EFT transaction.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Property Amount As Decimal
public abstract decimal Amount { get; set; }
public:
virtual property Decimal Amount {
Decimal get () abstract;
void set (Decimal value) abstract;
}
/** @property */
public abstract Decimal get_Amount ()
/** @property */
public abstract void set_Amount (Decimal value)
public abstract function get Amount () : decimal
public abstract function set Amount (value : decimal)
Remarks
The application must set Amount before calling the BeginEftTransaction method.
Accessing Amount may cause a PosControlException to be thrown with the following ErrorCode:
Value |
Meaning |
Illegal |
The BeginEftTransaction method was called before setting this property: Amount can’t be changed while in EFT Transaction Mode. |
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
PinPad Class
PinPad Members
Microsoft.PointOfService Namespace
PinPad.BeginEftTransaction Method