WC_Order_Item_Product::set_total_tax
Line total tax (after discounts).
Method of the class: WC_Order_Item_Product{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Order_Item_Product = new WC_Order_Item_Product(); $WC_Order_Item_Product->set_total_tax( $value );
- $value(string) (required)
- Total tax.
WC_Order_Item_Product::set_total_tax() WC Order Item Product::set total tax code WC 10.5.0
public function set_total_tax( $value ) {
$this->set_prop( 'total_tax', wc_format_decimal( $value ) );
}