ShopTicketReturn

From BetgamesTV
Jump to navigation Jump to search

Method is called when cashier tries to cancel ticket before ticket games have started.

Inputs:

  • token (string) - current token.
  • barcode (string) - ticket barcode.

Outputs:

  • ReturnStatusAmount (int) - amount to be paid out in "cents".
  • ReturnStatusError (string) - returns error text if some error occured. Empty string otherwise.
  • ReturnTime (dateTime) - time when ticket has been paid out.