code: public function getAmount()
      {
          $amount = $this->getPerUnitAmount();
  
          $totalAmount = bcmul($amount, $this->getQuantity(), 2);
  
          return floatval($totalAmount);
      }
docs: The fully calculated item total. This includes
  the options, extras & quantity.
  
  @return float