WC_Order_Item_Shipping::set_total_tax()protectedWC 1.0

Set total tax.

Method of the class: WC_Order_Item_Shipping{}

No Hooks.

Return

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->set_total_tax( $value );
$value(string) (required)
Value to set.

WC_Order_Item_Shipping::set_total_tax() code WC 9.4.2

protected function set_total_tax( $value ) {
	$this->set_prop( 'total_tax', wc_format_decimal( $value ) );
}