How to call CabCash

Bluetooth

Bluetooth (SPP)

Other App on the same Device

Command Section

There are two basic commands, one for the single payment Activity and one for multi payment Activity.

Single Payment

dopayment,*article*,*price*,*comment1*,*comment2*
dopayment-> let the API know you want to do single Payment.
article-> Name of the Article. (The Article must be added in the CabCash App)
price-> A double value for the price to be payed.
comment1/comment2-> text base comment which will be shown in the Activity and on the bill.

Example: dopayment,cola,12.34,com1,com2

Multi Payment

domultipayment,*list of articles*,*comment*
domultipayment-> let the API know you want to do multi Payment.
list of articles-> a list of articles seperated by ";" and each seperated by ":" from the count. (All Articles must be added in the CabCash App)
comment-> text base comment which will be shown in the Activity and on the bill.

Example: domultipayment,cola:2;sprite:1,com

CabCashAPIDemo