Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OrderContext

Hierarchy

Implements

Index

Properties

Optional causationId

causationId: string | undefined

The name of the service or domain that the object originates from.

Optional envFlag

envFlag: ENVIRONMENTS | undefined

The environment this order should be related to, this should generally be 'production'

orderOriginId

orderOriginId: string

Represents the system that sent the order-submitted event to the order pipeline.

originId

originId: string

Represents the system that sent any given event.

Optional posWebhookId

posWebhookId: string | undefined

A composite of unique identifiers "pos_system/hut_id/customerOrderReference" that is used by Indian POS integration to uniquely identify orders from webhooks sent by the POS.

receivedTimestamp

receivedTimestamp: string

Represents the timestamp for when the event was received. Formatted in ISO-8601.

Optional sector

sector: SECTORS | undefined

The PH business sectors this event relates to

Optional storeId

storeId: string | undefined

The unique PHDV id for the store in format :

timestamp

timestamp: string

Represents the timestamp for when the event happened. Formatted in ISO-8601.

traceId

traceId: string

A unique ID for the customer placing the order, ideally represented in a UUID form

transactionId

transactionId: string

A globally unique ID for this order, ideally represented in a UUID form

Static ENVIRONMENTS

ENVIRONMENTS: ENVIRONMENTS = ENVIRONMENTS

Generated using TypeDoc