PinPad.MerchantId Property
2/27/2008
Holds the Merchant ID, as it is known to the EFT Transaction Host.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Property MerchantId As String
public abstract string MerchantId { get; set; }
public:
virtual property String^ MerchantId {
String^ get () abstract;
void set (String^ value) abstract;
}
/** @property */
public abstract String get_MerchantId ()
/** @property */
public abstract void set_MerchantId (String value)
public abstract function get MerchantId () : String
public abstract function set MerchantId (value : String)
Remarks
The application must set MerchantID before calling the BeginEftTransaction method. Attempting to change MerchantID after calling the BeginEftTransaction method will result in the service object setting the ErrorCode property to Illegal.
Accessing MerchantID may cause a PosControlException to be thrown with the following ErrorCode:
Value |
Meaning |
Illegal |
The application has called the BeginEftTransaction method—MerchantID can’t be set 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