WC_Order_Item_Fee::set_total_tax()publicWC 1.0

Set total tax.

Method of the class: WC_Order_Item_Fee{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Order_Item_Fee = new WC_Order_Item_Fee();
$WC_Order_Item_Fee->set_total_tax( $amount );
$amount(string) (required)
Amount.

WC_Order_Item_Fee::set_total_tax() code WC 9.0.1

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