The Get status method allows you to check the status of the GP application before calling it. However, it is possible to call this method at any time as needed. To use this method, you need to have GP tom version 1.65.0 or higher and the AIDL library version at least 1.20.0.
Request [newService.gpTomInfo()]
Response [App2AppInfoResponse]:
Name / Name
appVersion
isLoggedIn
tid
mid
clientId
businessId
email
vat
TipEnabled
printerAvailable
manualTransactionRestricted
merchantLocation
Type
String
Boolean
String
String
String
String
String
String
Boolean
Boolean
Boolean
String
Example / Example
1.65.0
true
123456
70021200098456
01ags4567-abc-00092-efd8Jkg
220564768
support@gptom.com
CZ220564768
true
true
true
city=Prague
street=Prazska
house=10
zip=10100
street=Prazska
house=10
zip=10100
Meaning / Meaning
application version / application version
if user is logged in
terminal number
location number
unique merchant number / unique merchant id
Business ID / Business ID
login email / username
VAT / VAT
spropitného na terminálu / tip allowance on terminal
printer allowance on terminal
prohibition to create transaction in application / restriction to create transaction in application
details of business location
