WC_Order_Item_Product::set_total_tax()publicWC 1.0

Line total tax (after discounts).

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Order_Item_Product = new WC_Order_Item_Product();
$WC_Order_Item_Product->set_total_tax( $value );
$value(string) (required)
Total tax.

Code of WC_Order_Item_Product::set_total_tax() WC 6.8.2

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