Share via


PinPadBase.AccountNumber Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Holds the user’s account number for the current EFT transaction.

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

Syntax

'Declaration
Public Overrides Property AccountNumber As String
public override string AccountNumber { get; set; }
public:
virtual property String^ AccountNumber {
    String^ get () override;
    void set (String^ value) override;
}
/** @property */
public String get_AccountNumber ()

/** @property */
public void set_AccountNumber (String value)
public override function get AccountNumber () : String

public override function set AccountNumber (value : String)

Remarks

The PinPadBase class verifies that the PIN pad device has been opened, then retrieves or sets the value of PinPadProperties.AccountNumber. If an attempt is made to set AccountNumber after an EFT transaction has been started, the PinPadProperties class may throw a PosControlException with the following ErrorCode:

Value

Meaning

Illegal

The BeginEftTransaction method was called before the attempt to set this property; AccountNumber can’t be changed while in EFT Transaction Mode.

AccountNumber is initialized to blank by the PinPadProperties class.

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

PinPadBase Class
PinPadBase Members
Microsoft.PointOfService.BaseServiceObjects Namespace
PinPad.AccountNumber Property