WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API\Reports\Orders\Stats

DataStore::get_net_total() protected WC 1.0

Get the net amount from an order without shipping, tax, or refunds.

{} It's a method of the class: DataStore{}

No Hooks.

Return

float. Nothing.

Usage

$result = DataStore::get_net_total( $order );
$order(array) (required)
WC_Order object.

Code of DataStore::get_net_total() WC 5.3.0

<?php
protected static function get_net_total( $order ) {
	$net_total = floatval( $order->get_total() ) - floatval( $order->get_total_tax() ) - floatval( $order->get_shipping_total() );
	return (float) $net_total;
}