A representation of a Payload Signature.

Constructors

Properties

Methods

  • Returns whether the Payload Signature is in a terminal State.

    Returns boolean

    Whether the Payload Signature is in a terminal State

  • Reloads the Payload Signature model with the latest data from the server.

    Returns Promise<void>

    Throws

    if the API request to get a Payload Signature fails.

  • Returns a string representation of the Payload Signature.

    Returns string

    A string representation of the Payload Signature.

  • Waits for the Payload Signature to be signed or for the signature operation to fail.

    Parameters

    • options: {
          intervalSeconds: undefined | number;
          timeoutSeconds: undefined | number;
      } = {}

      The options to configure the wait function.

      • intervalSeconds: undefined | number

        The interval to check the status of the Payload Signature.

      • timeoutSeconds: undefined | number

        The maximum time to wait for the Payload Signature to be confirmed.

    Returns Promise<PayloadSignature>

    The Payload Signature object in a terminal state.

    Throws

    if the Payload Signature times out.