src/Genesis/API/Request/Financial/Alternatives/Klarna/Item.php
public function getTotalAmount()
    {
        $total_amount = $this->unit_price * $this->quantity;

        if (!empty($this->total_discount_amount)) {
            return $total_amount - $this->total_discount_amount;
        }
        return $total_amount;
    }
public function getTotalAmount()
    {
        $total_amount = $this->unit_price * $this->quantity;

        if (!empty($this->total_discount_amount)) {
            return $total_amount - $this->total_discount_amount;
        }
        return $total_amount;
    }
public function getTotalAmount ( ) { $ total_amount = $ this -> unit_price * $ this -> quantity ; if ( ! empty ( $ this -> total_discount_amount ) ) { return $ total_amount - $ this -> total_discount_amount ; } return $ total_amount ; }
Calculate order item total amount

@return integer
Calculate order item total amount