Terminal-2 icon

POS

Name Description
POS POS object representing the cash register application.

Getters

Name

Description

GetPEDcount

Retrieves the number of registered PED devices.

GetPEDobj

Retrieves the PED object by ID.

GetPEDresultStr

Returns the PED result with a description.

GetPSPresultStr

Returns the PSP result with a description.

GetLIBresultStr

Returns the library/POS result with a description.

GetInitFlags

Returns init flags for the library.

Flags offer a level of control to the cash register which is especially useful during application development and debugging. Because of the lack of ENUM portability a method has been provided to set the correct flags.
The method accepts three arguments:

  • The log level.
  • Several options for Adyen debugging usage.
  • Whether the console should be displayed.

For more information see Library Flags.

Use this object in the following calls and callbacks to represent the POS: