Home > @magiclane/maps-sdk > GateStatus > (constructor)

GateStatus.(constructor)

Creates a new GateStatus with the given decision, notAfter, and reason.

Signature:

constructor(decision: GateDecision, notAfter: Date, reason: string);

Parameters

Parameter

Type

Description

decision

GateDecision

The decision of the gate status

notAfter

Date

The expiry time of the Gate

reason

string

Short reason for the decision