Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TransactionScope

Hierarchy

  • TransactionScope

Methods

getLine

  • Retrieve a line from the Transaction Scope using the corresponding Item

    Parameters

    Returns Promise<undefined | TransactionLine>

    Returns undefined when the item does not exist on the transaction scope.

getLines

  • A list of all the lines in the Transaction Scope

    Returns Promise<TransactionLine[]>

setLines

  • Set the lines in the Transaction Scope

    Parameters

    Returns Promise<void>

Static Get

  • Parameters

    Returns Promise<TransactionScope>

    Transaction scope object. unlike the transaction scope on the Transaction obj, this function will load the transaction scope, and not return undefined if it's not loaded.

Generated using TypeDoc