PosInformation¶
-
public class
PosInformation
¶ Information about the system that is currently using the PSDK. This is different from the PsdkDeviceInformation, which provides information about the Payment Terminal.
Fields¶
ADDRESS_KEY¶
APPLICATION_CERTIFICATION_CODE_KEY¶
APPLICATION_NAME_KEY¶
APPLICATION_PUBLISHER_KEY¶
APPLICATION_VERSION_KEY¶
DEVICE_ID_KEY¶
DEVICE_MANUFACTURER_KEY¶
DEVICE_MODEL_KEY¶
DEVICE_OS_NAME_KEY¶
DEVICE_OS_VERSION_KEY¶
DEVICE_SERIAL_NUMBER_KEY¶
FREE_MEMORY_KEY¶
SCREEN_HEIGHT_KEY¶
SCREEN_WIDTH_KEY¶
SUPPORTS_BLUETOOTH_KEY¶
TOTAL_MEMORY_KEY¶
Methods¶
create¶
-
public static PosInformation
create
()¶
getAddress¶
getApplicationCertificationCode¶
getApplicationName¶
getApplicationPublisher¶
getApplicationVersion¶
getDeviceId¶
getDeviceManufacturer¶
getDeviceModel¶
getDeviceOsName¶
getDeviceOsVersion¶
getDeviceSerialNumber¶
getFreeMemory¶
getScreenHeight¶
getScreenWidth¶
getTotalMemory¶
isBluetoothSupported¶
load¶
-
public void
load
(PlatformContextInterface platformContext)¶ Populates the values in a platform-independent manner.
setAddress¶
-
public void
setAddress
(String address)¶ Refer to
getAddress()
.
setApplicationCertificationCode¶
-
public void
setApplicationCertificationCode
(String code)¶ Refer to
getApplicationCertificationCode()
.
setApplicationName¶
-
public void
setApplicationName
(String name)¶ Refer to
getApplicationName()
.
setApplicationPublisher¶
-
public void
setApplicationPublisher
(String publisher)¶ Refer to
getApplicationPublisher()
.
setApplicationVersion¶
-
public void
setApplicationVersion
(String version)¶ Refer to
getApplicationVersion()
.
setBluetoothSupported¶
-
public void
setBluetoothSupported
(Boolean isSupported)¶ Refer to
isBluetoothSupported()
.
setDeviceId¶
-
public void
setDeviceId
(String deviceId)¶ Refer to
getDeviceId()
.
setDeviceManufacturer¶
-
public void
setDeviceManufacturer
(String manufacturer)¶ Refer to
getDeviceManufacturer()
.
setDeviceModel¶
-
public void
setDeviceModel
(String model)¶ Refer to
getDeviceModel()
.
setDeviceOsName¶
-
public void
setDeviceOsName
(String name)¶ Refer to
getDeviceOsName()
.
setDeviceOsVersion¶
-
public void
setDeviceOsVersion
(String version)¶ Refer to
getDeviceOsVersion()
.
setDeviceSerialNumber¶
-
public void
setDeviceSerialNumber
(String number)¶ Refer to
getDeviceSerialNumber()
.
setFreeMemory¶
-
public void
setFreeMemory
(String memory)¶ Refer to
getFreeMemory()
.
setScreenHeight¶
-
public void
setScreenHeight
(String height)¶ Refer to
getScreenHeight()
.
setScreenWidth¶
-
public void
setScreenWidth
(String width)¶ Refer to
getScreenWidth()
.
setTotalMemory¶
-
public void
setTotalMemory
(String memory)¶ Refer to
getTotalMemory()
.
store¶
-
public void
store
(PlatformContextInterface platformContext)¶ Stores all of the values in a platform-independent manner.