Cyprus Integration
You can find the information required for the Cyprus integration on this page.
Last updated
public enum PosModeEnum {
VUK507,
POS,
GIB,
ECR,
EFT_POS,
RESERVED_0,
RESERVED_1,
RESERVED_2,
RESERVED_3,
RESERVED_4,
CY // CYPRUS
}val deviceInfo = DeviceInfo(this)
deviceInfo.getFields(
{ fields ->
if (fields == null) return
Log.i("Example 1", "Operation Mode: " + fields.get(0))
// fields.get(0) == 10 for Cyprus
},
DeviceInfo.Field.OPERATION_MODE
)
val deviceInfo = DeviceInfo(this)
deviceInfo.getOperationMode(object : DeviceInfoResponseHandler {
override fun onSuccess(result: String) {
Log.i("Operation Mode", result)
// result == "10" for Cyprus
}
override fun onFail(errMessage: String) {
Log.i("Error Message", errMessage)
}
})