Class IdStatementBuilder

Hierarchy

  • IdStatementBuilder

Implements

  • StatementBuilder

Constructors

Properties

checkConstraints: boolean
statements: IdStatement

Methods

  • Add to the statement that the age is between two given ages. This adds a range statement that the date of birth is between years ago and years ago.

    Returns

    the updated builder

    Parameters

    • minAge: number
    • maxAge: number

    Returns IdStatementBuilder

  • Add to the statement that the user's document expiry is atleast the given date. This adds a range statement that the idDocExpiresAt is between the given date and 1st of january 9999 .

    Returns

    the updated builder

    Parameters

    • earliestDate: string

    Returns IdStatementBuilder

Generated using TypeDoc