Properties

Each PED may have a number of properties that can be accessed by calling a specific function, GetProperties, in the IProperties interface. This is only implemented in plugins where this is possible.

Copy
public async Task<Dictionary<EAMProperties, string>> GetProperties()
{
  return eam.GetProperties();
}

The IProperties interface also has the function SetProperty. This function will upload specific properties that the terminal (PED) allows to be altered.

Copy
public async Task SetPropertyAsync(EAMProperties property, string value)
{
  // function will load property onto PED
}

The following properties differ between plugins and therefore the function returns a Dictionary with key and a value. The keys can vary between plugins and include only those specified in the EAMProperties object:

Copy
public enum EAMProperties
{
    Version,
    Type,
    Currency,
    MerchantId,
    DeviceModel,
    OfflineFunctionality,
    TerminalId,
    DateTime,
    Status,
    SerialNumber,
    BatchNumber,
    DepartmentTable
}