Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ValidationPosResponse

Hierarchy

Implements

Index

Properties

id

id: string

The ID of the order on the pos system

ok

ok: boolean

Whether the POS accepted the order or not

Optional orderFailureCode

orderFailureCode: OrderFailureCode | undefined

A normalised code to indicate the general reason why this order was not accepted by the POS

Optional orderFailureMessage

orderFailureMessage: string | undefined

The response/error message received when failing to send to the POS.

orderReferences

orderReferences: {}

Bag of references relevant to the order on the POS system

Type declaration

  • [key: string]: string | number

reason

reason: string

timestamp

timestamp: string

The time that the response was received from the POS, in ISO8601 format

Generated using TypeDoc