TransactionDescriptorProcessor

TransactionDescriptorProcessor

Processes and looks up transaction descriptor properties.

Constructor

new TransactionDescriptorProcessor()

Source:

Classes

TransactionDescriptorProcessor

Methods

copyTo(transaction, ignoreKeys)

Description:
  • Copies all descriptor information to a transaction.

Source:
Parameters:
Name Type Description
transaction object

Transaction to which to copy keys.

ignoreKeys Array.<string> | undefined

Keys of descriptor values not to copy (optional).

lookupValue(key) → {object}

Description:
  • Looks up the value for key.

Source:
Parameters:
Name Type Description
key string

Key for which to retrieve value.

Returns:

Value corresponding to key.

Type
object

setTypeHints(typeHints)

Description:
  • Sets type hints.

Source:
Parameters:
Name Type Description
typeHints TypeHintsMap | undefined

New type hints. // eslint-disable-line valid-jsdoc