Type alias FormatUcrx

FormatUcrx: ((this, cx, rx, format, data) => 0 | 1)

Type declaration

    • (this, cx, rx, format, data): 0 | 1
    • Formatted data receiver.

      Formatted data has syntax like !format'data.

      Parameters

      • this: void
      • cx: UcrxContext

        Charge processing context.

      • rx: Ucrx

        Charge receiver.

      • format: string

        Name of format to decode.

      • data: readonly UcToken[]

        Formatted data tokens. For example, this may be e.g. a base64-encoded value.

      Returns 0 | 1

      Either 1 if formatted data processed successfully, or 0 if format can not be recognized. The next format receiver will be used in the latter case.

Generated using TypeDoc