Life cycle costing result

This method retursn the total life cycle costing (LCC) result.

$$ q^T * s $$

Rest APIGET result/{result-id}/total-costs
JSON-RPCresult/total-costs
Snake caseresult.get_total_costs
Camel caseresult.getTotalCosts
Return typeCostValue

Examples

TypeScript IPC

  const totals = await result.getTotalCosts();
  const code = totals.currency?.refUnit;
  console.log(`total costs: ${totals.amount} ${code}`);
  // total costs: 60 USD