Constructor.
string $name: The name of the transaction.
StackItemType $type: The stack item type.
public function __construct(string $name, StackItemType $type) { }