Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IClientAppTransferOrderPayload

This message is used to transfer orders between EVA applications. The payload for this message starts with a call to EVA.Core.GenerateSessionBarcode. The app that is offering the order to another app joins a channel with the response barcode. where the token comes from the GenerateSessionBarcode response. This barcode is presented to another app who will join the same channel. When the received app successfully makes the order its current order it can send this message to signal success (ACCEPTED) or failure (DECLINED). The sender can then send the RELEASED message as a final cleanup. Apps should leave the transfer channel when this exchange has completed.

export
interface

IClientAppTransferOrderPayload

Hierarchy

Index

Properties

Properties

Action

Action: "transferOrder"

Data

Data: { OrderID: number; Status: "AVAILABLE" | "ACCEPTED" | "DECLINED" | "RELEASED"; Token: string; UserID: number }

Type declaration

  • OrderID: number
  • Status: "AVAILABLE" | "ACCEPTED" | "DECLINED" | "RELEASED"
  • Token: string
  • UserID: number